RE: [PHP] Re: Echo $PHP_SELF not working

From: Date: Fri, 10 Oct 2003 12:49:34 +0000
Subject: RE: [PHP] Re: Echo $PHP_SELF not working
Groups: php.general 
Request: Send a blank email to php-general+get-165735@lists.php.net to get a copy of this message
So you're saying I had register_globals set to ON on my dev server!? CRAP!!! I thought I was working with it off!!!!! Now I have to redevelop it all and change all my $variables from forms to $_POST['variable']? Even when they post to the same page with "action='<?PHP ECHO $_SERVER['PHP_SELF']>'"?? Jeff > -----Original Message----- > From: Paul van Schayck [mailto:newsgroups@meosource.com] > Sent: Friday, October 10, 2003 8:24 AM > To: php-general@lists.php.net > Subject: [PHP] Re: Echo $PHP_SELF not working > > > Hello, > Here we go again ;) > > jmckeon@telaurus.com (Jeff McKeon) wrote > > I've just published a new website and something is wrong. > I suspect > > the PHP.ini on the server but I can't seem to find anything. > > register_globals is on off. Which is a good idea, keep it there! > > > > On the dev server "ECHO $PHP_SELF" seems to work but not on the > > production one. Any ideas what I've missed? > http://nl2.php.net/manual/en/reserved.variables.php#reserved.variables.s erv er echo $_SERVER['PHP_SELF']; Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#165735) next »