Re: i cannot pass variables to php script...

From: Date: Wed, 01 May 2002 09:46:34 +0000
Subject: Re: i cannot pass variables to php script...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95495@lists.php.net to get a copy of this message
Just set register_globals = On in your php.ini file. -- Kind regards, Yuri. >>>> www.AceHoster.com <<<< Quality web hosting "Efa" <efa@softwell.se> ???????/???????? ? ???????? ?????????: news:Pine.LNX.4.30.0204302145090.2363-201000@otto.softwell.se... > Hi! > I have a problem with passing variables to php script with simple GET. > example: > > --- hello.html ----------------------------- > <html><head><title="hello"></head> > <body> > <a href="hello.php?arg=world">hello</a> > </body> > </html> > > > > --- hello.php ------------------------------ > <? > printf("arg=$arg<br>"); > ?> > > > output from clicking on the link is: > > arg= > > > I should mention that I use mod_userdir and the script/html are lying in > home directory for the user ( /home/username/public_html/...), and > URL=http://server/~username/hello.html > > > I am attaching output of phpinfo() and a copy of httpd.conf > .htaccess file is empty btw. > > > Cheers > > -- > /admir efendic, stockholm, sweden > >

« previous php.general (#95495) next »