does anybody know how i can send stats form a website from one server that does not support php to another server that does? can i use a script to send that data to the php and let the php deal with the stats?
CONFUSED: Do you mean you need to get the web stats from a non php to a php web server OR you need to send form data from a Non PHP server to a PHP Web Server.
i've got 3 sites 2 of which are not on a server that i can use php. i'm making a stats page for the 3rd. however i would like to add the stats from the other two pages to it.
generate a data file (XML or text...) on non PHP supporting servers and access it through file commands and include the results in your PHP supporting server pages...
wooosh! that went a little bit over my head, but thanks i'll give it a little tinker and i'll see what happens. can i use <script> in the webpages on the non-php and send the data via that method? 😕
You can open you web server log from another by :
fopen("http://www.yoursite.com/log.log","r");
You could always use an image tag to call your script.
e.g. <img src="http://myothersit.com/stat.php">
I have found that this works quite nicely. It can be a bit tricky, but should work.
Originally posted by danielsampson You could always use an image tag to call your script. e.g. <img src="http://myothersit.com/stat.php"> I have found that this works quite nicely. It can be a bit tricky, but should work.
whats the advatage using the image tag over the script tag???