Re: [PHP] Variables Limit

2002-01-26 Thread Craig Vincent

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,

Craig Vincent


-- 
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]




Re: [PHP] Variables Limit

2002-01-26 Thread Nick Wilson

-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
involved in?
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8UvbrHpvrrTa6L5oRAtrWAJwLocc8/xRHK5kTN2S1HY3BXmQ2NQCdELrK
FfZO6YoOZUEXonb6fNz3Z10=
=wuoa
-END PGP SIGNATURE-

-- 
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]




Re: [PHP] Variables Limit

2002-01-26 Thread Philip J. Newman

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
 
 
 * 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
 involved in?
 - -- 
 
 Nick Wilson
 
 Tel: +45 3325 0688
 Fax: +45 3325 0677
 Web: www.explodingnet.com
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 
 iD8DBQE8UvbrHpvrrTa6L5oRAtrWAJwLocc8/xRHK5kTN2S1HY3BXmQ2NQCdELrK
 FfZO6YoOZUEXonb6fNz3Z10=
 =wuoa
 -END PGP SIGNATURE-
 
 -- 
 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]
 
 
 




-- 
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]




Re: [PHP] Variables Limit

2002-01-26 Thread Nick Wilson

-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:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8UwiwHpvrrTa6L5oRAkQrAJ492AZqZdf03jBAWSgw+AF+um3PFwCglfGg
kRF7wnfQD7eICNfD+siLqLw=
=Y3QF
-END PGP SIGNATURE-

-- 
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]




Re: [PHP] Variables Limit

2002-01-26 Thread Kurth Bemis

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 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:  www.explodingnet.com
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 
 iD8DBQE8UwiwHpvrrTa6L5oRAkQrAJ492AZqZdf03jBAWSgw+AF+um3PFwCglfGg
 kRF7wnfQD7eICNfD+siLqLw=
 =Y3QF
 -END PGP SIGNATURE-
 
 -- 
 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]
 
 



-- 
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]




Re: [PHP] Variables Limit

2002-01-26 Thread 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 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: www.explodingnet.com
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 
 iD8DBQE8UwiwHpvrrTa6L5oRAkQrAJ492AZqZdf03jBAWSgw+AF+um3PFwCglfGg
 kRF7wnfQD7eICNfD+siLqLw=
 =Y3QF
 -END PGP SIGNATURE-
 
 -- 
 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]
 
 
 




-- 
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]




Re: [PHP] Variables Limit

2002-01-26 Thread Michael Kimsal

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]

and so on...

I'd think memory usage would be about the same, but if there was some 
limit on the number of discrete simultaneous variable names, this should 
get around that.

Michael Kimsal
http://www.tapinternet.com/php/
PHP Training Courses
734-480-9961





-- 
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]




RE: [PHP] Variables Limit

2002-01-26 Thread scott

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, 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
  
  
  * 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
  involved in?
  - -- 
  
  Nick Wilson
  
  Tel: +45 3325 0688
  Fax: +45 3325 0677
  Web: www.explodingnet.com
  
  
  
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.0.6 (GNU/Linux)
  
  iD8DBQE8UvbrHpvrrTa6L5oRAtrWAJwLocc8/xRHK5kTN2S1HY3BXmQ2NQCdELrK
  FfZO6YoOZUEXonb6fNz3Z10=
  =wuoa
  -END PGP SIGNATURE-
  
  -- 
  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]
  
  
  
 
 
 
 
 -- 
 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]
 
 


-- 
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]