Mario Groleau wrote:
Hello,
I is probably a trivial question, but I didn't find the answer.
In a PHP 4 script, How to get the url of the page that called the script?
Are you meaning the referring page? If so, $_SERVER['HTTP_REFERER']
However, you cannot depend on this value being set, as the user may have
come straight to your page from typing it in, copying and pasting or using
a bookmark, or they may have a browser option or other software which
prevents this information from being passed to the server.
--
Chris Hope - The Electric Toolbox -
http://www.electrictoolbox.com/