Search found 2 matches

by Nofatigue
Fri Sep 02, 2011 5:33 am
Forum: PHP - Code
Topic: Getting a website source
Replies: 5
Views: 706

Re: Getting a website source

Yes, i mean to get the source with the HTML code. And 15-20 seconds to one page. I dont think it's my connetcion, because getting the source using Chrome for example, takes like 2 - 3 seconds. I read somewhere in the internet that file_get_contents function doesnt tell the server to close the connec...
by Nofatigue
Thu Sep 01, 2011 3:29 pm
Forum: PHP - Code
Topic: Getting a website source
Replies: 5
Views: 706

Getting a website source

Hi I've been trying to get the source code of websites using PHP code, But every method I used was slow (it took about 15-20). I used fopen (with stream_get_contents instead of fread), file_get_contents and curl but it was the same result every time. Is there any faster way to get a website's source...