$html = implode('', file($url_to_fetch)); // this is the code that gets the code fron that url into an array..
It won't gets the code from the url into an array. Try
$html=htmlentities(implode("",file("http://www.daniweb.com")));
$html will have the contents(javascript,css,..) of www.daniweb.com as a string.
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
Umm.. I am not aware of it.
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356