This is a discussion on Re: URL/URI than called the script ? within the PHP Language forums, part of the PHP Programming Forums category; j <j@j.j> wrote: > I mean is it possible for a PHP script to be 'aware' ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
j <j@j.j> wrote:
> I mean is it possible for a PHP script to be 'aware' of what other > page within the site is accessing it ? Take a look at the $_SERVER variable. The variable you are looking for is in there. -- Daniel Tryba |
|
|||
|
j <j@j.j> wrote:
>> Take a look at the $_SERVER variable. The variable you are looking for >> is in there. > > Hmm, i had a look but could not find. thanks though I thought you were looking for info about where a file was included. I reread your qyestion and guess you beed a "secure" referrer. Since anyrhing passed by the client is not considdered secure, hiw about about a session array of requested pages. Unless the client ysed its "backbutton" the last entry in the array called the current url. -- Daniel Tryba |