RE: best function to use ~ file_get_contents or ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is what I said, except if you want to grab the content you need to request HEAD first and eventually GET, and this is slower than just GET parsing headers.
In any case, curl is the answer, imho.

Regards



Requesting only the headers is a lot faster than requesting the headers AND the file itself.




_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux