Quick file_get_contents() questions...your opinion needed

From: Date: Mon, 11 Oct 2004 14:24:03 +0000
Subject: Quick file_get_contents() questions...your opinion needed
Groups: php.general 
Request: Send a blank email to php-general+get-199168@lists.php.net to get a copy of this message
Hi, I am using a statement like this $url=file_get_contents("http://www.yahoo.com/"); The thing is, it takes quite some time (2-5 secs) before the contents are in my program (I am using my local webserver on my desktop for testing...not a webserver) My questions are for you more experienced guys... is there anyway to 'quicken' the process or is this normal? do you recommend anything other than file_get_contents() ? and lastly, is this a resource intensive hog? Thanks, Mag ===== ------ - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com

« previous php.general (#199168) next »