mrachow
Posts: 509
|
Posted: 10/22/2004, 2:01 AM |
|
Hi,
I would be glad about hints for the following situations.
For the actual page: Is it possible to find out if it was called by entering the URL into the browser or by an anker tag (href)?
In addition look at this indirect way.
Via a link a script is called that produce no page. Its only purpose is to route to another page.
Again here is it possible to recognize if a user has started that router script while entering the URL into the browser?
Thanks,
Michael
_________________
Best regards,
Michael |
|
|
greg
|
Posted: 10/28/2004, 3:44 AM |
|
You have to look the REFERER variable from the SERVER array. If it's
empty, then the user typed the URL or used a bookmark; else it contains
the page containing the link the user clicked.
More than ever, phpinfo() is your friend.
Greg
mrachow wrote:
> Hi,
>
> I would be glad about hints for the following situations.
>
> For the actual page: Is it possible to find out if it was called by entering
> the URL into the browser or by an anker tag (href)?
>
> In addition look at this indirect way.
> Via a link a script is called that produce no page. Its only purpose is to
> route to another page.
>
> Again here is it possible to recognize if a user has started that router script
> while entering the URL into the browser?
>
> Thanks,
> Michael
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
mrachow
Posts: 509
|
Posted: 10/31/2004, 10:55 AM |
|
Thanks greg,
This works for me.
My "invisible" script have not to occur in getenv("HTTP_REFERER").
Regards,
Michael
_________________
Best regards,
Michael |
|
|
|