
07-19-2007
|
| Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 35,033.70 Thanks: 0
Thanked 7 Times in 7 Posts
Rep Power: 406 | | Get Contents With 404 I am running a script that loops through various URL's and does a $content=file_get_contents($url);How do I do an "If URL Not Found (404) Then Do Something, Else Run Rest Of Loop"Right now when there is a 404 error, the script stops and outputs a php Warning saying that the file_get_contents... To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | |