Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file and things should start working again. On Tue, 14 May 2002, Weston Houghton wrote: All, I've recently upgraded from 4.1.2 to 4.2.0. And of course my script has stopped working. I know a lot with the globals has changed, but to be honest, I am

RE: [PHP] PHP 4.2x changes

2002-05-14 Thread Matthew Walker
Actually, it is $PHP_SELF. Try $_SERVER['PHP_SELF'] Matthew Walker Senior Software Engineer ePliant Marketing -Original Message- From: Weston Houghton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:14 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP 4.2x changes All, I've

Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Philip Olson
On Tue, 14 May 2002, Rasmus Lerdorf wrote: Turn on register_globals in your php.ini file and things should start working again. That reply was way too short and easy ;) On Tue, 14 May 2002, Weston Houghton wrote: All, I've recently upgraded from 4.1.2 to 4.2.0. And of course my

Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Weston Houghton
Ok, makes sense based on previous threads I have gleaned over. Can you point me to any reading material that fills in the details on all of this though? Would like to know more about why I am doing this, and if I should change my coding based on how PHP is progressing. Thanks! Wes Turn on

Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Rasmus Lerdorf
http://www.php.net/manual/en/security.registerglobals.php On Wed, 15 May 2002, Weston Houghton wrote: Ok, makes sense based on previous threads I have gleaned over. Can you point me to any reading material that fills in the details on all of this though? Would like to know more about why I

Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Weston Houghton
Thanks for the link. Everything there makes sense, and I'm not sure if I need to turn register_globals on to make this work. Is there a way to get either: $_SERVER[PATH_TRANSLATED] Or $HTTP_SERVER_VARS[SCRIPT_FILENAME] (perhaps??) Without turning register_globals on? Oh, and I am doing this

Re: [PHP] PHP 4.2x changes

2002-05-14 Thread Rasmus Lerdorf
Try it. $_SERVER[...] will work fine inside your class. -Rasmus On Wed, 15 May 2002, Weston Houghton wrote: Thanks for the link. Everything there makes sense, and I'm not sure if I need to turn register_globals on to make this work. Is there a way to get either: