Re: CGI automatic download file
Re: CGI automatic download file
- Subject: Re: CGI automatic download file
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 23 Jan 2008 12:47:37 -0500
On Jan 23, 2008 12:44 PM, Mark J. Reed <email@hidden> wrote:
> The PHP header() command is just print() with the added feature that
> it will complain if the output stream is already past the header
> portion. There's no other magic.
Well, OK, that's not quite true. There is some other magic. It
buffers the headers and prints them out as late as possible, providing
the capability to replace a previous header of the same name (via
optional second argument), and it will infer the HTTP status code from
the content of the header block (e.g. setting it to 302 if you send a
Location: header). But it's still basically print(), which
Applescript still doesn't do, so I'm still confused. :)
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden