Jump to content

include question


couris

Recommended Posts

Hello, I have the following line in my index.php:

<?php include('log.php'); ?>

 

log.php is a script that logs the visitor's ip and logs it to a file

 

my question is: can I host the log.php on another webserver along with the log file?

<?php include('http://newwebserver.com/log.php'); ?>

 

Will it work?

Thank you!

 

Link to comment
https://forums.phpfreaks.com/topic/71895-include-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.