Re: HTTP_REFERER
| From: | Scott Fletcher | Date: | Mon, 16 Oct 2000 17:16:53 +0000 |
| Subject: | Re: HTTP_REFERER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20399@lists.php.net to get a copy of this message | ||
I still haven't gotten it right so maybe you all can help me out with
the form post and action? Thanks!
> 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"];
<form name="LogIn_Form" method="POST"
action="<?=$PHP_SELF?>?&web_file=<?$web_file?>">
.......
^^^^^^^^^^^^^^^^^^^^^^
<input type="hidden" name="web_file" value="<? $web_file
?>"
...............
^^^^^^^^^^^^^^
</form>
>
> WebPage Two (Going to the next webpage, carrying on this Global
> Variable)
> echo $web_file;
>
> Thanks,
> Scott
>