Hi,

I call a script from an html page (for example "test.htm") in this way:
<img src="myscript.php">

This script returns at the end an image, but before it takes and save to
a file
some informations like the visitor's ip and where he comes from
($refer=$HTTP_USER_AGENT).

My problem is that $refer gives me always "http://..../test.htm";(that's
normal by the way)
which is the page who call the script with the "img" html tag.

What I want to have in $refer is the url of the page that contain the
link who has direct the
visitor in my page "test.htm" which will call then the script
myscript.php.

There is a way for do this?(I guess yes, but I find nothing about this)

Thanks


-------------------------------
*Emanuele De Fazio*
Unix Administrator
SchlumbergerSema - Sema S.p.A.
Viale Carlo Viola, 76
11026  Pont Saint Martin (AO)
Italy

Phone: + 39.0125.810373
E-Mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to