ok, i would consider this advanced ... if i'm wrong, that's cool. my question is in regards to the header() function. i'm wonderring if anyone has a list or knows where to find a list of all the options that can set here ... i know of a couple, like "location: new-url.com" and "content-type: image/gif" ... more importantly i'm looking for how to set POST (in the HTTP header, not the end of the URL) variables with this function so that i can catch them later with $_POST["var"];
anyone know how this can be done? thanks for any pheedback phine phorum pholks ...
-zick
header() question ...
Moderator: General Moderators
The PHP manual could be a good place to start
http://uk.php.net/manual/en/function.header.php
Check it out
Mark
http://uk.php.net/manual/en/function.header.php
Check it out
Mark
check out this recent thead for an idea of some other headers.
viewtopic.php?t=5472&highlight=
BTW, what you want to do is not possible with headers. the data 'POST'ed is not in the headers it is the content as you'll see from the above link.
viewtopic.php?t=5472&highlight=
BTW, what you want to do is not possible with headers. the data 'POST'ed is not in the headers it is the content as you'll see from the above link.
This is more what the advanced forum is for: viewtopic.php?t=10077
I appreciate it's hard to tell from context what sort of stuff should go in here since this board is increasingly filling up with basic queries.
I appreciate it's hard to tell from context what sort of stuff should go in here since this board is increasingly filling up with basic queries.
- MrNonchalant
- Forum Commoner
- Posts: 29
- Joined: Wed Jul 17, 2002 2:15 am
The HTTP protocol list of valid responce headers:
http://www.w3.org/Protocols/HTTP/Object_Headers.html
http://www.w3.org/Protocols/HTTP/Object_Headers.html