[email protected] wrote:
>I could be wrong on this but,
>I am pretty sure you can use GET variables but not POST in a header
>redirect.
>
>Example
>header('Location:http://www.yourmom.com/?large=incharge&hasorbit=yes');
>
>
>
>
>
>Richard L. Buskirk
>
>-----Original Message-----
>From: Md Ashickur Rahman Noor [mailto:[email protected]]
>Sent: Thursday, June 30, 2011 2:36 AM
>To: Ashley Sheridan
>Cc: [email protected]
>Subject: Re: [PHP] I want to use POST when redirect via PHP Header
>function.
>
>For passing value to other page.
>----------------------------------------------------------
>Dedicated Linux Forum in
>Bangladesh<http://forums.linuxdesh.com/member.php?action=register&referrer=3
>%20>
>Follow Me Twiter <https://twitter.com/#%21/AshickunNoor>
>Thank you
>Md Ashickur Rahman
>
>
>
>
>On Thu, Jun 30, 2011 at 12:34 PM, Ashley Sheridan
><[email protected]>wrote:
>
>>
>>
>> Md Ashickur Rahman Noor <[email protected]> wrote:
>>
>> >I want to use POST when redirect via PHP Header function. Is it
>> >possible?
>> >----------------------------------------------------------
>> >Dedicated Linux Forum in
>> >Bangladesh<
>> http://forums.linuxdesh.com/member.php?action=register&referrer=3%20>
>> >Follow Me Twiter <https://twitter.com/#%21/AshickunNoor>
>> >Thank you
>> >Md Ashickur Rahman
>>
>> Erm, a bit vague. Use POST for *what* during the redirect?
>>
>> Thanks,
>> Ash
>> http://www.ashleysheridan.co.uk
>> --
>> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Following on from what Richard said, the post data is part of a request made by
a browser, not the response made by the server, which is what a header is, a
response.
Maybe you need to look into cURL, which make a request and forward the response
on to the browser.
Ps. Could people please avoid top posting, as it does make it rather difficult
for the automated archive and some screen readers.
Thanks,
Ash
http://www.ashleysheridan.co.uk
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php