Re: vars from page to page

From: Date: Wed, 05 Nov 2003 14:25:29 +0000
Subject: Re: vars from page to page
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22002@lists.php.net to get a copy of this message
Nevermind - I'm a noob register_globals = on /nod /nod "Aidal" <aidal@nospam.dk> wrote in message news:20031105141908.99396.qmail@pb1.pair.com... > Hi NG. > > I have a little problem with a new install of php/apache/win2k which has to > do with the setup I think. > > I have made a webpage on a local machine php/apache/win98 which runs > perfectly. > But when I transfer it to the new installation it seems that vars doesn't > travel between pages. > > As an example, this should work but doesn't: > > page code example: > ============== > echo "click this <a href='$PHPSELF?action=say&msg=Hello_php_noob'>link</a>"; > if (isset($action)) { > echo "<br>". $msg ." so you did click the link huh ;o)"; > } > ============== > > page output before click: > ------------ > clik this link > > page output after click: > -------------------- > click this link > Hello_php_noob so you did click the link huh ;o) > > > This is what should have happened... > But $action isn't set and nor is $msg, what can be wrong with the setup? > > Any help appreciated.... > > /Aidal

« previous php.windows (#22002) next »