You are here: Re: redirect apache doesn't send post variables « All PHP « IT news, forums, messages
Re: redirect apache doesn't send post variables

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация