Hi,
I'm trying to get a webpage as a string I'm using this code but it's doesn't work and I don't know why?
$file_name = "http://www.gotmashed.com/index.htm";
$fd = fopen ($file_name, "r");
$string = fread ($fd, filesize ($file_name));
fclose ($fd);
i should know have a string called $string with the entire webpage in.
thanks