why does it take so long to open connection when we use $fid = fopen("url_addres", "r");
Any idea how to read any website's content (as simple as fopen but won't take time too long)
The speed of fopen() depends completely on how fast the remote website is answering. If you get a page from a slow site, it will take a long time.
The speed of fopen() depends completely on >how fast the remote website is answering.
If you get a page from a slow site, it will >take a long time.
why does it take very slower than the common browser.... i've tried many times; accessing www.yahoo.com using web browser compare to fopen("http://wwww.yahoo.com/","r")
web browser get reply just 2-3 seconds (i'm fast, aren't i)...but using fopen get reply "Timeout"..
Does your browser use a proxy?
can you telnet to the website on port 80 and get the page manually?
Is it somehow possible to convert the links from the read url into the full path? i mean if the read website contains links or pictures like src="order.php4" you cant see them. So is it possible to convert it to src="$url/order.php4" ?? Thanks a lot!