hi i am working on a script where i want some some information of webpage by which funcion i could get the data or content of the webpage.anybody there to help.hopes so bye anwar
If I understand your question correctly, you should use fopen and fgets. Take a look at example from the php manual:
$file = fopen ("http://www.php.net/", "r"); while (!feof ($file)) { $line = fgets ($file, 1024); echo $line; } fclose($file);
One other function that I've used in the past was file().