Hi all,
I've just install php-4.0.6 in my linux machine,
but am not familiar with the syntax,
How good is php in terms of managing database (sybase) data compare to
Java? I mean to display on the web?
Thanks,
Caleb Carvalho
Application Engineer
Tier 1 CSO Europe
LoadRunner/APM
And if the numbers are from different subnets, you could sort like so
(assuming addresses are in a 1-dimensional array, here called
$IpAddresses):
function sort_address($IpAddresses) {
$List = array();
foreach ($IpAddresses as $A) {
list($x,$y,$z,$t) = explode('.', $A);
$L
And if the numbers are from different subnets, you could sort like so
(assuming addresses are in a 1-dimensional array, here called
$IpAddresses):
function sort_address($IpAddresses) {
$List = array();
foreach ($IpAddresses as $A) {
list($x,$y,$z,$t) = explode('.', $A);
$L
What's wrong with this? I get the error: Warning: Supplied argument is not a valid
MySQL result resource in /home/sites/site49/web/vragen/vragen.php on line 42
$query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY id DESC";
$result = MYSQL_QUERY($query);
$number = MYSQL_NUM_
Hi Again
Strange but same command to return the $data or to save it to the HD
returned diffrent data length
when the data returend to $data
strlen($data) -> output 4075
while the saved file is -> 4252
Any one know why there is diffrence ?
- Original Message -
From: "Richard Lynch" <[E
Should be ORDER BY ID, DESC
Chris
Martin Kampherbeek wrote:
> What's wrong with this? I get the error: Warning: Supplied argument is not a valid
>MySQL result resource in /home/sites/site49/web/vragen/vragen.php on line 42
>
> $query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER
> $number = MYSQL_NUM_ROWS($result);
$number = MYSQL_NUMROWS($result);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi
This is the way I force save prompt on .html files .maybe useful (only
tested on ie) looks wierd but it works :)
Tom
At 06:10 AM 23/08/01, David Minor wrote:
>I ran some tests of different header configurations of 6 browser/platform
>combinations to find out what worked and what didn't
But how? Are there any examples that I can take a look at somewhere? I would
love to see some. I've always wondered about how the links work to trigger
the template creation. Are there any samples or tutorials of that online?
Usually all I see is how the templates are created, but nothing of how i
Hello,
How do you let the entire web site be password
protected and require a user to use a password when
the password entry part is on a secure web server and
the other part is on a regular http port.
For example when I type http://foo.com it will forward
me to https://foo.com for the password
i'd have a look at the table structure.
also if you're using <> to denote inequality then use !=
both of the previous posts are incorrect
Steve
"Chris Fry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Should be ORDER BY ID, DESC
>
> Chris
>
> Martin Kamph
Do you know What's a logo worth: PRICELESS.
Do you have a logo ?
Do you have what it takes to design one ? To do it in Flash ?
Do you heve what it takes to put it on your website ? on your stationery & Business
card ? On literally hundreds of products ?
Do you have what it takes to make it 3D, A
Hi Chris,
FYI:
"Chris Fry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Should be ORDER BY ID, DESC
actually it shouldn't be this way, since DESC is an option of the ORDER BY
command meaning DESC...
ORDER BY [column] [ASC | DESC] (ASC is default)
so the o
Sorry - it's late! "I knew that" he said.
Raphael Pirker wrote:
> Hi Chris,
> FYI:
>
> "Chris Fry" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Should be ORDER BY ID, DESC
>
> actually it shouldn't be this way, since DESC is an option of the ORDER BY
>
hehe, I just figured that you can use both... with and without the '_'.
sorry for messing this up. the one with the "_" is actually featured in the
documentation, while my code keeps getting shorter over time because of
lazyness :)
"Raphael Pirker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROT
better late than never :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
> Do you know What's a logo worth: PRICELESS.
so how come you're putting a price on it then?
> Do you have a logo ?
you bet
> Do you have what it takes to design one ? To do it in Flash ?
yup
> Do you heve what it takes to put it on your website ? on your stationery &
Business card ? On litera
On Wednesday 22 August 2001 18:14, Zenith wrote:
> I have try this but, PHP just overwrite the prevoius content, and write
> the new message into the file.
> But I want to INSERT the new message into the head of a file.
You actually have to read everything, insert the line, write everything.
fil
Hello there,
I am trying to create a form for uploading files to the local intranet.
Therefore I created a form for uploading files as mentioned in the PHP
manual. After submitting the form I want to copy the file to the intranet
with as name the original name on the system of the client. The pro
Jack wrote:
> I want the browser could display exactly the same as the user input! even
> the lines and format!
For a browser to display line breaks, a "new line" isn't enough, it
needs a tag.
there is a function called nl2br() [new-line-to-break] which does this:
$text = [your file read in];
On Wednesday 22 August 2001 17:59, Julian Wood wrote:
> I have a script which has to do a *lot* of work. In fact, it times out
> after 300 seconds, but is only about half done at that point. So I
> tried using set_time_limit(0) to no avail (php is *not* running in safe
> mode). So next I tried thi
On Thursday 23 August 2001 02:36, Casteele/ShadowLord wrote:
> Andy <[EMAIL PROTECTED]> wrote in article
> > See if is there some kind of echo before header()s, or HTML sent to
> > browser.
>
> No, I've been extremely careful to avoid that. The following are the
> two test files I've been using
one solution that works on all ip numbers
";
}
?>
At 01:28 PM 23/08/01, Chris Aitken wrote:
>Hi all,
>
>Just a quick one,
>
>I am pulling a whole Class C list of IP addresses, and im trying to sort
>them in order, but im getting it displayed
>
>127.0.0.1
>127.0.0.10
>127.0.0.100
>127.0.0.101
>12
Hi,
I don't know why I get :
"Warning: Cannot add header information - headers already sent by (output started at
c:\windows\bureau\cookie1.php:2) in c:\windows\bureau\cookie1.php on line 6"
message
each time I use setcookie function.
The second line is : at the end of the file.
Do you have
has any1 installed sybase on linux RH 7.1?
where can i get a good manual? am getting errors trying to ./startserver -f
./RUN_SYBASE
Caleb Carvalho
Application Engineer
Tier 1 CSO Europe
LoadRunner/APM
-
En
Hi,
>$query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY id
DESC";
>
>$result = MYSQL_QUERY($query);
add "or die(mysql_error())" see what MySQL doesn't like about the query.
cheers
johannes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hi,
as a bit of a newbie with PHP and Win2k, I've succesfully installed
and used php on my Win2k computer for testing web pages etc locally
on my computer and not having to upload things to the server of my
ISP. Everything runs fine ... so it seems.
Today then, I just installed a mysql distrib
I'm trying to remove files from a directory. I have this code to do it:
This code is in a included file located at '/map/'. File including this code
is located at '/'. Files to be removed are located at '/map/'.
$Handle = opendir('map/');
while ($file = readdir($Handle)) {
if (substr($file, 0
Well, in response to my previous post and its reply, the server
administrator tried reinstalling mcrypt and did the testing during the
install and it all seemed to work for him there. However, I still get the
error:
Warning: mcrypt module initialization failed
So, now my question is this. In the
flush is your friend
>-Original Message-
>From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 23, 2001 5:42 AM
>To: Julian Wood; [EMAIL PROTECTED]
>Subject: Re: [PHP] Script timeout
>
>
>On Wednesday 22 August 2001 17:59, Julian Wood wrote:
>> I have a script which
Solved it by myself. :)
unlink($file); needs to be *exact* address to the file to be unlinked like
"/www/dir/map/$file".
Just in case if someone else meets this problem!
Niklas
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: 23. elokuuta 2001 15:17
To: Php-Ge
Hi guys,
This arose trying to install php-egg, altho thats not what this msg is
really about. For it to run I need to have "a shell version" running...
what exactly is this and how do I go about installing it?
I have php installed (I think) as a module.. and by my understanding this
is necessary
Just compile it without the apache stuff on configure. Then you should
have a working php executable in /usr/bin/. All you need to do then is
php script.php or put the #!/usr/bin/php at the head of your
scripts. (/usr/bin/php -q removes the http headers)
Nick.
On Thu, 23 Aug 2001, Tom Carter w
> -Original Message-
> From: The Doctor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 10:40 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Problems compiling with Apache 2.0 Alpha 22
>
>
> Can anyone explain what I am getting this?
>
> [snip]
>
> checking for Apache 2.0 mo
hi,
i want to know how i can get all selected values of a multiple select statement using
$HTTP_POST_VARS
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators,
"Natasha" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> i want to know how i can get all selected values of a multiple select
statement using $HTTP_POST_VARS
The name of your select must be an array, ie
A
B
C
If A and B are selected,
Thomas Deliduka wrote:
> A little background... Skip to "THE JIST" if you wanna make this quick.
>
> I am on this webmaster's list where most of the people are fairly new
> webmasters. They're just getting the hang of things. I am probably one of
> the only advanced ones on there (not to toot
Hi
Im using php to upload Binary data into bytea field in postgres DB.
The problem is that when I query what I uploaded I discover that it hold
only 13 characters and not the whole binary file
I tried manual insert more then 13 characters successfully.
I tried to do addslashes($data);
but still
Hi All,
I am trying to generate a table with two columns. Each column should print
2 fields named image_link and web_url. Have spent over week looking
documentations and trying different coding but nothing is working. Any help
will be greatly appreciated.
%s%s %s%s\n", $row->image_link,
I need to put on the php_oci8.dll to run.
My Platform:
Win2k Advanced Server
IIS 5.0
PHP 4.0.6 as an CGI (php.exe)
The error it returns:
X-Powered-By: PHP/4.0.6 Content-type: text/html PHP Warning: Unable to load dynamic
library 'C:\Inetpub\PHP\extensions\php_oci8.dll' - The spec
John,
Try this:
".$row->image_links."".$row->web_url."
".$row->image_link."".$row->web_url."\n");
}
?>
- Original Message -
From: "John Bass" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 10:30 AM
Subject: [PHP] Need help to create HTML table with 2 co
Greetings Php'ers:
<2 cents>
bahh to servelts-asp these are new kids on the block. Template this or that,
it doesnt matter, most templates are for lazy peeps anyways :)
, a solid base of people have been using phtml->php for years. It doesnt
matter to me what the e-zines say about which is more ro
in HTML
in PHP code
var_dump($HTTP_POST_VARS['availabilities'];
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Natasha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 4:36 PM
Subject: [PHP] multiple sele
hi,
i'm a relative new comer to php and was wondering if someone could give me
some advice on hosting. specifically, access to my own conf file, and
whether this is entirely necessary. Does not having access to your own conf
limit what you can do in php in any way?
also, if you have compiler acces
hi,
is there an error in this script?:
if ($var){
$tmp = explode("<|>",$vars);
for ($i = 0; $i < sizeof($tmp); $i++){
$struct[$i] = array();
$tmp2 = explode("<||>",$tmp[$i]);
for ($j = 0; $j < sizeof($tmp2);$j++){
$struct[$i][$j] = explode("<|||>",$tmp2
ho,
John Bass wrote:
> printf ("%s%s %s%s\n", $row->image_link,
^^
You forgot to close the td tag, maybe your browser didnt display the table
because of that.
Markus Bertheau
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
Hello everyone!
Here's my grep challenge. Turn:
blah blah
blah blah
blah blah
blah blah
blah 2 blah 2
blah 2 blah 2
blah 2 blah 2
blah 2 blah 2
into:
(variable_blah) (blah blah blah blah blah blah blah blah)
(variable_blah2) (blah 2 blah 2 blah 2 blah 2 blah 2 blah 2 blah 2 )
Where the "bla
Hi,
is there any PHP functions to create 3D object from the photo. if no,
is there any software exists??
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list a
Hi, I need a little bit of help.
My variable $team in the option block is always set to the last variable
that is readI would like it to contain the option that the user
clicks.Please help me!
My Select works properly
...
$result = @mysql_query($sql,$connection) or die("Couldn't exe
PHP for Windows works under SYSTEM id. Check if SYSTEM have access to
read(or any other privilege) to the OCI dll.
- Original Message -
From: "Ridai Govinda Pombo (Engenharia BSB)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 5:33 PM
Subject: [PHP] OCI8 on
Hi,
I'm looking for a way to get a constant array or something that is similiar to
a #define XYZ abc in C.
I want to be able to do the following:
DEFINE SOMEHOW: abc as XYZ (like #define XYZ abc) where abc is an
array. So that XYZ is replaced by abc.
so that I can use XYZ[key] in my php-code
Hi,
Thank you for the email. I tried your code, but first column is printing
image_link & web_url fields correctly and second column is repeating values
of the first column.
Other records or rows are printing same way.
Regards,
John Bass
>From: "Jeff Lewis" <[EMAIL PROTECTED]>
>Reply-To: "
Hello,
I'm trying to make some thumbnails from some JPEG true color images.
I have PHP version 4.0.4, and when i try
imagecreatefromjpeg($image)
on these images, it doesn't happen.
After hours of head-beating i've realised that the problem is truecolor
(it works if i open an image editor and
What did you want in the second column? I was just going by what you had
listed below: $row->image_link,
> > > $row->web_url,$row->image_link, $row->web_url);
Jeff
- Original Message -
From: "John Bass" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 11:16 A
I am trying to get the mail function to return anything that tells me that
it was sent successfully or at least there were no errors, but assigning a
variable to equal the mail function does not seem to return anything... On
php's site it says it should return true. Am I going about this wrong?
second column should print next record that was returned from the query.
Thanks.
John
>From: "Jeff Lewis" <[EMAIL PROTECTED]>
>Reply-To: "Jeff Lewis" <[EMAIL PROTECTED]>
>To: "John Bass" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: [PHP] Need help to create HTML table with 2 columns.
Hi,
Actually is what I do but since register global is off, I do:
# Beginning of script:
session_start();
session_register('count');
$sess_object->count = $HTTP_SESSION_VARS['count'];
.
.
.
# In your class methods:
class ...
var $count
> JSP is the wave of the future
>
As was said two years ago about Java. Does anybody still know about
Java? ;-)
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org
ClubWin - Help for Wind
Use a counter when fetching from the DB
if you use while the
$counter=0;
while(list(...)=mysql_fetch_array($res)){
$option_block .= ''.$option.'';
}
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Jeremy Morano" <[EMAIL PROTECTED]>
To: <[EMAIL
You can use define in some main config file which is known by all scripts
of the site.
For example
define ("SESSION_NAME","mysite_sid");
Where you want to use the array
${SESSION_NAME}=array('login'=>'scott',"password"=>"tiger","age"=>"25");
${SESSION_NAME}['login']
or
${SESSION_NAME}['age']
Try
"/([\w\s]*?)/m"
the "?" will force PCRE to not be *greedy*. Look in the manual of PCRE for
syntaxis.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Sondra Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 5:3
Unfortunaly that's not an option because I must be able to make the define in
the code:
it should be like this:
i have a script1.php and script2.php. both include a file template.php
in my template.php file I use arrays that should have different names depending
on the file that included them.
>Why timeout at 300s instead of the 30s or the 12000s which
> > are the only two values reported?
>
> Looks like some HTTP timeout, i.e. either Apache or the browser is
> getting bored. Try outputting something from time to time.
Can anybody point me to information on all the possible HTTP time
Probably the best response to him would be to point him to Sun's own survey
results. I remember reading about they surveyed their own customers asking
who used JSP and the results ended up being a VERY small percentage. If
their own customers don't use them does it really bode well for them?
Jeff
Hi,
Well you are not well informed then. Java is the most popular solution
to big web sites with the need to have something fault tolerant and
stable. If you look a lot of banks have not JSP or servlets but EJB
which are transactional, persistant through connections, multithreaded
and have all th
Sorry,
Should have given specific information. The original article I read was from
InfoWorld. It can be found at:
http://www.infoworld.com/articles/op/xml/01/07/09/010709opcringely.xml
Following is the excerpt from it:
Place in the Sun
Meanwhile the light finally dawned on archrival Sun Mi
On 23 Aug 2001, at 0:16, Georgie wrote:
> 1) Is there any PHP command that'll convert a MySQL database timestamp into
> a format that humans can read?!! For example, I want to change
> "20010822001245" into "00:12.45 on the 22-08-2001"?
I believe all previous replies on this qwestion were good f
if you have structure like
then you need to insert "}" before "
or if you use syntax
you have to insert "endif;"
If you think you did it but still have an error, try to count your "if"
statements and "endif;" maybe something is missing.
Youri
--
PHP General Mailing List (http://www.php
:-)
for the type of sites that i develop (non-mission-critical,
non-financial), i find PHP's simplicity and elegance more than
offsets a lack of things like strong typing and a harshly
BDSM compiler (and whatever else Java/JSP has that PHP
doesn't)
for most websites out there, Java is probably o
can someone answer the question - does parse_url in fact NOT work when using
PHP as a cgi?
i'm unable to make it work, and getting different answers from my isp, etc.
cheers,
jaxon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
can no one help me?
"Diane Mulberry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
> i'm a relative new comer to php and was wondering if someone could give me
> some advice on hosting. specifically, access to my own conf file, and
> whether this is entir
I was looking thru the mysql functions, and there doesn't seem to be one
that gives you the amount of time a query takes. Is there anyway to get
this information (since it gives it to you when you type queries
directly into the mysql shell client)? A script of mine is starting to
get fairly
There are not a lot of guarantees. A big part of the problem is that
you can't get instant feedback. Your mail server may queue the message
and not even send it right away, or it could get sent, and your mail
server doesn't find out for several minutes while the message goes out
on the 'net
Change
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 4:31 AM
Subject: [PHP] File upload problem
> Hello there,
>
> I am trying to create a form for uploading files to the local intranet.
> Therefore I created a form for uploading files as mentioned in the PHP
> manual. After submittin
Ok,
the solution is :
in script1.php
define("ARRAY_NAME","array1");
in script2.php
define("ARRAY_NAME","array2");
in template.php:
${ARRAY_NAME}['some_index']
I didn't tested this but think that it will work. If not post a message to
think for other way.
Andrey Hristov
IcyGEN Corporation
http://
Well just to follow up, Apache was the culprit. There is an Apache
timeout directive that was set to 300 s that I somehow missed on my
first glance.
The things that timeout, as far as I know, are PHP, Apache, and several
commands within PHP (such as fsockopen()). The Apache directive is
cal
Many conf variables can be setup at runtime. Just include(require) in every
script setup.php
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: "Diane Mulberry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 7:12 PM
Subject:
PHP Wizzards,
I'm a PHP newbie but I think I'm falling in love... or at least becoming
infatuated with PHP. I'm contemplating a significant PHP development effort
on a toolset for Oracle DBA's and I want to architect wisely.
Based on prior object oriented development experience with PowerBuilde
Use microtime before and after the query.
$this->starttime=explode(' ',microtime());
// query()
$this->endtime=explode(' ',microtime());
$this->starttime=$this->starttime[1]+$this->starttime[0];
$this->endtime=$this->endtime[1]+$this->endtime[0];
$this->parse_time=$this->endtime-$this->
IMO, you are better off printing microtime
[http://www.php.net/manual/en/function.microtime.php] before and after the
query, and after you loop through it. This will give you a better idea of where
the hangups may be. You may also want to sprinkle mircotimes throughout your
code to get a good id
> I was looking thru the mysql functions, and there doesn't seem to be one
> that gives you the amount of time a query takes. Is there anyway to get
> this information (since it gives it to you when you type queries
> directly into the mysql shell client)? A script of mine is starting to
> g
>On its Solaris Developer Connection site, Sun posed the question, "What
>language do you use to develop Web-based client applications?" The responses
>went like this: Perl, 41.3 percent; JSP, 19.9 percent; C/C++, 14.2 percent;
>Linux script language PHP, 11.2 percent; Microsoft Active Server Page
On 8/23/2001 11:59 AM this was written:
> On its Solaris Developer Connection site, Sun posed the question, "What
> language do you use to develop Web-based client applications?" The responses
> went like this: Perl, 41.3 percent; JSP, 19.9 percent; C/C++, 14.2 percent;
> Linux script language PH
Hello,
Chris, with all due respect, DESC is a reserved word for
SQL. is english ORDER BY ID DESC meand sort by id in
descending order.
Martin,
your SQL seems to be fine. Are you sure that you are
connected to your database.
I have run the following SQL against my database
SELECT *
FROM users
>if you have structure like
>
>if (isset(...)){
>...;
>}
[...]
>?>
>
>you have to insert "endif;"
>If you think you did it but still have an error, try to count your "if"
>statements and "endif;" maybe something is missing.
This is a matter of personal preference, but use formatting that is help
>He would see JSP at 19.9% and PHP at 11.2 and say that proves his point.
And flash developers will claim that the only way to create a site is have the
whole thing Flash and crap flying across the client screen all the time...
Untill the modem access market drops below 50% of the users on the ne
XML is pretty standardized, but the implementation of it in various web
browsers isn't.
I wouldn't consider XML all that comparable to HTML. They don't serve the
same purpose. XML is generally used to order and describe data (metadata,
basically), and although HTML serves roughly the same pur
Thank you Andrey & Nathan. THat was probably going to be the next thing
to research. I think I figured out why my code got slow though. I have
a preg search of a large field with .* in it at the beginning of an
if,elseif,elseif,elseif struct that I should move to the end of it.
In article
> > Notice it even gives info on PHP use :-)
>
>He would see JSP at 19.9% and PHP at 11.2 and say that proves his point.
Ask the same question to PPL on this list.. I'll bet you see the opposite.
It only proves your favorite kid doesn't understand a thing about statistics.
I think PHP is
Thomas,
Keeping in mind that preaching Languages is the same as religion. If someone
is decided for something, nothing you can say will change their mind; my
point in bringing up the numbers was that again, these numbers include ONLY
IT'S OWN CUSTOMERS If everyone was included in the poll, Im
$this->starttime=explode(' ',microtime());
// query.
$this->endtime=explode(' ',microtime());
$this->starttime=$this->starttime[1]+$this->starttime[0];
$this->endtime=$this->endtime[1]+$this->endtime[0];
$this->parse_time=$this->endtime-$this->starttime;
I've copied that from a clas
This is the error I get.
MySQL Query Failed. Error 1030: Got error -1 from table handler
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: "Johannes Janson" <[EMAIL PROTECTED]>
Date: Thu, 23 Aug 2001 12:40:21 +0200
Subject: Re: numrows
Hi,
>$query = "SELECT * FROM question WHERE an
This is the error I get. I tested in MYSQLadmin and there it works. I think
there is something with numrows.
MySQL Query Failed. Error 1030: Got error -1 from table handler
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 23 Aug 2001 10:11:17 -0700 (PDT)
From: "ERISEN, Mehmet Kamil" <[EMAIL PROTECTED
I have had success getting IE 5.5 for PC recognising the suggested
filename by changing the content type to something other than
application/octet-stream. If it was left as that for IE 5.5(which the
script snippet indicates) it would tend to take the filename of the
script that execut
Sorry to bother you all with this, but I have no way to test this, as I have
no access to a Mac. Could you tell me if this little piece of code looks as
if it would work (detect whether someone's using the Mac OS)?
if (preg_match("/mac/i", "$HTTP_USER_AGENT") || preg_match("/macintosh/i",
"$HTTP_
The way that I do it on Linux is to generate TeX output, invoke TeX
using system(), and then just lpr the output to the printer. The
current production system that I am using actually uses a perl script
invoked from a php script, really ugly, but I had the perl script from
another project.
H
I have a form where users can enter a link (kind of a free for al links type of thing)
When they add their site to the database a 0 is added to the "approved" field.
When I load an admin script I can check all of the ones that have a 0 in that field.
I want to have checkboxes form down the si
This whole discussion is kind of bogus anyway :)
It's like saying that the age of Pliers is over because you bought
a set of Wrenches. PHP is a different tool that JSP. PHP is a much
more comprehensive tool that JSP, which is really geared for a very
specific task. Despite the fact that at some l
Let's not forget the ecosystem in which these different technologies
thrive. It's all based on who's paying whom to do what. The reality of
the situation is that the people in charge don't know (or care) about
all these different technologies. They may make some broad decisions
(linux vs wi
Perhaps you could put it on a webpage and ask a Mac user to see if it
works.
BTW, there is no reason to use preg_match for that. Instead use
strpos(), it is MUCH faster.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Tom Malone) wrote:
> Sorry to bother you all with this, but I have no
1 - 100 of 166 matches
Mail list logo