What i want to do...
I want to store the content of webpage into a variable (to store in database)
For example, I want to store the result of this page (which gives some text) in variable
http://api.hostip.info/get_html.php?ip= ... ition=true
Sombody knows a way to this ?
Thx
Assign some content of a page to a variable
Moderator: General Moderators
file_get_contents can do that.
see http://de2.php.net/ref.filesystem
see http://de2.php.net/ref.filesystem
what when fopen disabled
And what when fopen and file_get_contens is disabled for security reasons, probably have to go call a c program to do the job ?