Hi
I wrote some code to submit a form via POST to another page. I want to display the submitted information and ask that the user confirm that it is all correct before proceeding. So on the second page, I'd like to re-submit the POST information to a third page. Is there an easy way to do...
Wow. Works like a charm now :D
Except... this one URL:
http://www.gamedev.net/reference/articles/article1498.asp
Which crashes the script with the following error:
=================================================
Checking URL: http://www.gamedev.net/reference/articles/article1498.asp...
That did it, thanks again =)
One last problem... Like you said, it's not handling 300-series responses, which I now understand to mean that the given URL is acting as a redirect.
This is a problem because the redirected URL is not actually checked for 404, and so my script ignores a large...
Ok so I'm trying to use your script but I've found that it isn't 100% accurate
For example, the following URL's all return 404 using your script but work fine when I try it manually in the browser:
http://www.flipcode.com/articles/article_buildinggame.shtml...
Is it possible to detect whether a given URL is valid or not in php?
I know there exists programs that do this but I need this as part of a script that I am working on.
I could try connecting to the site and wait for a time-out but this would not work for sites that have a 404 page...
Any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.