Is there any limit on the amount of variables that you can use?
I can't say for certain as I don't know the insides of PHP *that* well...but
I would guess your limitation on variables would be based on your
server/user memory allowances and/or your memory limitations for PHP
scripts.
Sincerely,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Philip J. Newman blurted
Is there any limit on the amount of variables that you can use?
Well I certainly agree with Craig, but I'm interested to know why you
ask? Is it just idle curiosity or some interesting project you're
I have to exchage over 304 different names, codes, and dates ...
- Original Message -
From: Nick Wilson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 27, 2002 7:35 AM
Subject: Re: [PHP] Variables Limit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Philip J. Newman blurted
I have to exchage over 304 different names, codes, and dates ...
305? :-)
Doesn't sound like it would be a problem.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:+45 3325 0677
Web:
Unless your getting the values through a POST or a GET...both of these
have limitesi forget what it is...maybe 1024 bytes? you'd jave to
read the http rfc
~kurth
On Sat, 2002-01-26 at 14:51, Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Philip J. Newman
cool
- Original Message -
From: Nick Wilson [EMAIL PROTECTED]
To: PHP-General [EMAIL PROTECTED]
Sent: Sunday, January 27, 2002 8:51 AM
Subject: Re: [PHP] Variables Limit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Philip J. Newman blurted
I have to exchage
Philip J. Newman wrote:
I have to exchage over 304 different names, codes, and dates ...
Instead of hundreds of discrete variables, would you not be
better served by dividing them up into arrays of some sort?
instead of $name1, $name2, etc
$name[1]
$name[2]
or
$name[first]
$name[last]
Check out arrays... especially if you're going to be
dealing with 304 individual variables. your code
will be MUCH happier :)
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] Variables Limit
I have to exchage over 304 different names, codes
8 matches
Mail list logo