Re: [PHP] Howto: run local script to update remote script

2002-12-05 Thread David T-G
eriol -- Yes, a cron job would do the trick for a process that must run at fixed and frequest intervals. The Windows scheduler might accomplish the same thing. Since we've already veered sharply off-topic, I'll go ahead and recommend that you check out dyndns.org or the like; set up your address

Re: [PHP] Howto: run local script to update remote script

2002-12-04 Thread Marek Kilimajer
You need to open http connection to the server from you local php: http://server/script.php?password=yoursecretstring','r'); fclose($f); ?> in the script.php check the password and then $_SERVER['REMOTE_ADDR'] eriol wrote: I was wondering how I could have a local PHP (4.2.3) script running on A

[PHP] Howto: run local script to update remote script

2002-12-03 Thread eriol
I was wondering how I could have a local PHP (4.2.3) script running on Apache 1.3.27 / WinXP Pro send my current local IP address to a remote server running PHP 4.1.2, RedHat 7.3 & Apache 1.3.26.. In the Linux based script, I'd want it to basically display my current IP address to friends who know