Re: I want to use POST when redirect via PHP Header function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



that's quite basic thing which you can definitely find in the manual

On 30 June 2011 10:48, Md Ashickur Rahman Noor <ashickur.noor@xxxxxxxxx>wrote:

> >
> > On Thu, Jun 30, 2011 at 1:52 PM, Geoff Lane <geoff@xxxxxxxxxxxxx> wrote:
> >  On Thursday, June 30, 2011, Md Ashickur Rahman Noor wrote:
> >
> > > I want to use POST when redirect via PHP Header function. Is it
> > > possible?
> >
> > AFAICT, it isn't. You can use GET variables by passing them on the
> > querystring. These can then be accessed via $_REQUEST, which is an
> > amalgamation of $_POST, $_GET, and $_COOKIE. So if you have a script
> > that might take input from either $_POST or $_GET, you can usually
> > code fairly transparently by replacing both by $_REQUEST.
> >
> > Alternatively, you can create a form on the page and use client-side
> > javascript to 'auto-submit' via the body onLoad event. However, this
> > does require JS on the client and so cannot be guaranteed.
> >
> > HTH,
> >
> > --
> > Geoff
> >
>
> Thank you every one. If I use GET then the value will be shown in the
> address bar, Which I don't want to do.
>
> Can any one describe me the $_REQUEST and $_COOKIE, if you can give example
> it will be helpful for me.
> ----------------------------------------------------------
> 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
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux