Angel_Caido
February 17th, 2010, 07:07 AM
I come looking for some help with the following:
I'd like to run [or call] a php script located in an internet website from a shell script or the command line.
The idea is to send my ip address as a parameter from a script located locally in my pc to a php page located on a website over on the internet [not locally] so this php script will save it into a MySQL database.
So far I've been able to get the two scripts to work separately and do their own thing but haven't been able to make the one call the other.
I have searched with google as well as in several forums, so far no luck. Any help will be highly apreciated.
I'd like to run [or call] a php script located in an internet website from a shell script or the command line.
The idea is to send my ip address as a parameter from a script located locally in my pc to a php page located on a website over on the internet [not locally] so this php script will save it into a MySQL database.
So far I've been able to get the two scripts to work separately and do their own thing but haven't been able to make the one call the other.
I have searched with google as well as in several forums, so far no luck. Any help will be highly apreciated.