Hi folks... Does someone know if is possible, in PHP, to request a URL and so extract just the html code, and for exemple, putting it in a variable?
Leandro.
yep thats definately possible. and its in the manual - always check there first.
http://php.net/manual/
-paul http://xhawk.net
As Paul said, it is possible.
Look at the 'file' function or at the files functions.
🙂
or simply use fopen() 🙂))))
Sure you can....
I am not going to write it - will take too much time.. But I'll tell you this.. You can not only extract html, but you can also update the same file... It is a cool feature if you are always away from your server.
Di