Easy, ...
Use JavaScript
or simple HTML...

javascript:

<script Language="JavaScript"
src="yousite/yourscripts/statcounter.php"></script>

Now you've just been called from another server!
Now from within your script you can get lots of informations like:
$HTTP_REFERER ...


-elias
http://www.eassoft.cjb.net


""Greg Wright"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello All,
>
> I have a app that is used to track stats, it was designed to be used on
the
> smae server that the website being tracked is, it uses an include and a
> path statement to register a hit in the page being displayed.
>
> Does anyone know of a method where I could get the remote website to
invoke
> the stat counter? ie is there something that can be used on the remote
site
> to call a php file on another server, this other file would be on the same
> server as the stats php app and therefore include the "include" function
> and the path, the main problem or hold up as I see it is the need for a
> path and not being able to use a http:// path, if the above is not clear I
> will e-mail off list if reqd.
>
> an example is..
>
> each page being tracked needs something like this locally....
>
> $file_include_dir = "/stats/include/';
> include($file_include_dir.'stats/include/visitor.inc.php3');
>
> how could this be invoked remotely, or how else does anyone see this as
> being able to be done, in the remote page I want the effect to be
> transparent....
>
> Thanks...
>
>
> --
> 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]
>



-- 
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