Richard Davey wrote: > Hello Rory, > > Tuesday, March 1, 2005, 4:58:20 PM, you wrote: > > rw> Hi I have a one simple question that I need to sort out before I > rw> continue writing any PHP scripts. Every time I call a script are the > rw> variables reset to the default values? > > Yes this is nearly always the case unless you code around it. > > Best regards, > > Richard Davey Yep. The only thing that might change would be $_SESSION variables, but that's kind of the point of using a session. :) Or you could do something crazy like create a specialized extension for storing state, but almost no one does that and it certainly won't be in PHP by default. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
Attachment:
signature.asc
Description: OpenPGP digital signature