|
Posted by Oli Filth on 11/12/05 04:26
Mazin07 said the following on 12/11/2005 00:20:
> Is there any way to get the HTTP Response Code sent out by the server
> (ie 404, 302, etc)?
?
If your script runs, then it is up to the script to determine the
response code. By default, it's 200 (OK).
> Or could I just assume that the same code was sent?
Same as what?
> I know the $_SERVER array has a lot of info, but this isn't in there.
Well, obviously! Whilst the script is running, a response hasn't been
sent, so how could the response possibly be stored in a pre-defined
variable?
--
Oli
Navigation:
[Reply to this message]
|