Originally posted by AstroTeg
Ouch...
My first thought was sockets. But that can get ugly (and might as well curl since all the socket work is done for you).
Another option is to see if wget or lynx is installed (these run from the command prompt). Its possible to have PHP launch these using the exec() command and have one of these tools save the output and you can parse that. Its not the smoothest way to do it, but it just might work. I'm pretty comfy with lynx so let me know if you need help with that (wget is pretty easy from what I've seen, but I haven't used it).
lynx isn't installed, but it appears wget is. I had no clue such a utility existed, let alone what it was called. At least now I have some hope, but as you said, I would have prefered a nice solution completely within php. I'll start looking for how to use wget and interface it with my script.
On a side note, there are lots of packages that support https on the server I'm developing on, just they're all in java or perl - infact, there's already an entire perl function written that does exactly what I want to do in PHP. Is there any way I can use this perl function from within PHP?