I wrote:
there's
one program that uses PHP to fetch web pages! Not only are there Cocoa
bindings for that, but it hasn't been done in a way I can install PHP
on my own.

Someone else wrote:
Even Panther is starting to look iffy. :P

On May 23, 2006, at 9:36 AM, de Runtz, Lars wrote:
Panther has PHP built in, you just have to enable it. If you need to grab a URL, there is also a command line utility called curl, which is very useful. Maybe I'm missing something...

You're missing that my comment is about Jaguar, and the followup isn't about PHP or fetching web pages but about application availability. :)

...

But.

Personally, if I was fetching a URL, I'd just open a bloody socket myself.

It's not like it's hard to fprintf(sockfp, "GET %s HTTP/1.1\n\n", url);

That doesn't handle cookies and proxies and name-based virtual hosts, but supporting all that together is two or three pages of code at the most.

Including the select() so you don't beachball if the net is slow.


--
Unsupported OS X is sponsored by <http://lowendmac.com/>

     Support Low End Mac <http://lowendmac.com/lists/support.html>

Unsupported OS X list info <http://lowendmac.com/lists/unsupported.html>
 --> AOL users, remove "mailto:";
Send list messages to:     <mailto:[email protected]>
To unsubscribe, email:     <mailto:[EMAIL PROTECTED]>
For digest mode, email:    <mailto:[EMAIL PROTECTED]>
Subscription questions:    <mailto:[EMAIL PROTECTED]>
Archive <http://www.mail-archive.com/unsupportedosx%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to