include + path

From: Date: Thu, 17 May 2001 08:32:46 +0000
Subject: include + path
Groups: php.general 
Request: Send a blank email to php-general+get-53179@lists.php.net to get a copy of this message
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...

« previous php.general (#53179) next »