Re: [PHP] HTTP ERRORS Boolean

2006-06-07 Thread Rabin Vincent
On 6/7/06, Rodrigo de Oliveira Costa <[EMAIL PROTECTED]> wrote: Guys is there a way that I can call the func file("www.url.com") and get a result true if there is a page and false if the page doesnt exists (error 404)? This would work, but will not specifically check for a 404: $page = file('.

[PHP] HTTP ERRORS Boolean

2006-06-06 Thread Rodrigo de Oliveira Costa
Guys is there a way that I can call the func file("www.url.com") and get a result true if there is a page and false if the page doesnt exists (error 404)? the thing is I'm trying to retrieve a page but I cant be sure that it exists so I need my script to try to access it and if it cant access it t