|
Posted by Oak Hall on 06/18/06 14:57
Is there another way to do this so post variables survive?
if I have
/z/something?command=blah&step=1
and form variables (post)
go to:
/script.php?lib=something&command=blah&step=1
and $_POST
Thanks Oak
"AlexVN" <alexander.netkachev@gmail.com> wrote in message
news:1150586183.049191.89420@y41g2000cwy.googlegroups.com...
>
> Oak Hall wrote:
>> I have the following in my apache2 http.conf
>>
>> RedirectMatch ^/z/(.*) /php/ide/data/redirect.php?lib=$1
>>
>> if in the 'redirect.php' file I echo the $_POSTS array it is blank, even
>> though I am redirecting a form post.
>>
>> Any ideas? Thanks Oak
>
> Redirect is, by definition, is performed by setting Location header and
> 30X status of HTTP response. User agents, such as browsers, react on
> this response by performing a subsequent GET request to a new URI. So
> all POST variables are not survive during redirection.
>
> Sincerely,
> Alexander
> http://www.alexatnet.com/
>
Navigation:
[Reply to this message]
|