| | #1 |
| Warrior Member Join Date: 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
I already know that at least 100 methods to do that but the thing is that I want to check existence of files which might be as big as 100 MBS. So need help about the whole file and checking existence will be huge waste of bandwidth and time. Any way to solve my problem? |
| | |
| |
| | #2 |
| VIP Warrior War Room Member Join Date: 2006 Location: , , USA.
Posts: 1,795
Thanks: 70
Thanked 287 Times in 259 Posts
|
If you are using php 5, use get_headers: PHP: get_headers - Manual This will only return the header info about a link. Nothing will be retrieved. If you are using php 4, in the notes on the above link is a curl version that you can use. |
| |
|
| Bookmarks |
| Tags |
| check, exists, link, php |
| |