Re: HTTP_REFERER

From: Date: Fri, 13 Oct 2000 15:56:10 +0000
Subject: Re: HTTP_REFERER
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20034@lists.php.net to get a copy of this message
You need to pass $web_file on to the next page using a post or get. ie post it from a hidden field in a form or pass it on ?web_file=$web_file --Joe On Fri, Oct 13, 2000 at 11:40:15AM -0400, Scott Fletcher wrote: > Since HTTP_REFERER doesn't work in Netscape 6, maybe it will in the > final release but suppose it doesn't. > > So, I will use REQUEST_URI instead. But I'm having trouble passing the > variable over to the next webpage. I use the global variable and it doesn't > work. What am I doing wrong? > > > WebPage One (Current Page) > > global $web_file; > $web_file = GLOBALS["REQUEST_URI"]; > > WebPage Two (Going to the next webpage, carrying on this Global > Variable) > echo $web_file; > > Thanks, > Scott > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net /*****************************\ * Joe Stump * * www.Care2.com * * Office: 650.328.0198 * * Extension: 122 * \*****************************/ http://www.miester.org/Joe/Stump/Joe_Stump_resume.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$ N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@ 5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)! ------END GEEK CODE BLOCK------

« previous php.general (#20034) next »