I looked up the internet and couldn't find any script to check for broken links, does any1 have it to get me started.
http://forums.digitalpoint.com/showthread.php?t=278576 EDIT: Or: http://forums.digitalpoint.com/showthread.php?t=326016
the reps didnt go in so I thought i will give u a kiss the links resolved some of issues, but there's one more which came up, abc.com is getting redirected to a xyz.com/test.php?page=valid or xyz.com/test.php?page=invalid which is an error page, it comes up as no error cause the page does return a valid header, so i need to get the redirected url and check for it, now i m findin difficult in getting the redirected url on which i play around. i just got the headers its giving 302, 302 and then 200 i used this http://forums.digitalpoint.com/showthread.php?t=452423 but i cant get the final url, its still giving me the same url.
This might help. http://forums.digitalpoint.com/showthread.php?t=452423 EDIT: According to your edit, I guess not.
i used ur script there, but it aint returning me the redirected value. Quick Update: I used get_headers which was returning me loads of values and on the 3rd url (2 nd redirect) was giving me the final url i needed to do a string check but now i realised i m on php 4 and not 5 so it there any function that can gimme all the possible header values cause the ones mentioned here http://in2.php.net/get_headers gives me on the first redirect where my value comes up on 2nd redirect
http://validator.w3.org/checklink www.dead-links.com www.1-hit.com/all-in-one/tool.broken-link-finder.htm