Hi, I'm designing a script that has my incoming emails piped into it from my server.
So far so good, I've managed to use php://stdin to convert the email into a string. A simple script then finds any http:// links in the email and puts them into an array.
Now for my question? Is is possible for PHP to check if this link is vaild? By which I mean a page is display if I was to type this link into my browser?