RE: [PHP] Broken links report

2003-06-03 Thread John Coggeshall
On Tue, 2003-06-03 at 04:06, Ernest E Vogelsinger wrote: > At 07:55 03.06.2003, Kjell Hansen said: > [snip] > >I don't want to get the warning. I know I can switch it off but there are > >other warnings I would like to see. > [snip]---

RE: [PHP] Broken links report

2003-06-03 Thread Ernest E Vogelsinger
At 07:55 03.06.2003, Kjell Hansen said: [snip] >Thanx Chris, >this is exactly what I do. And I get >"Warning: fopen(http://www.whatever.com/index.html) [function.fopen]: failed >to create stream: HTTP request failed! HTTP/1.1 404 Object Not Found" > >I don't

RE: [PHP] Broken links report

2003-06-03 Thread Kjell Hansen
arnings I would like to see. Somehow I just want to check for "HTTP/1.1 404 Object Not Found" and if found show it as a broken link. /Kjell > -Original Message- > From: Chris Kay [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 08:48 > To: Kjell Hansen >

[PHP] Broken links report

2003-06-03 Thread Kjell Hansen
Hi, On a link page I have I'd like to show if the links are valid (=exists) I tried to do a pOpen (http://www.whatever.com/index.html,"r";) and if it exists everything is fine but if it's not there I get a warning "failed to create stream: HTTP request failed! HTTP/1.1 404 Object Not Found" Opening