RE: [PHP] Passing parameters with POST
| From: | Dave Watkinson | Date: | Wed, 10 Oct 2001 12:11:18 +0000 |
| Subject: | RE: [PHP] Passing parameters with POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70639@lists.php.net to get a copy of this message | ||
might have to be sessions then <shrugs>
sorry
Dave
-----Original Message-----
From: Rosen [mailto:rosen_dm@dir.bg]
Sent: 10 October 2001 13:17
To: php-general@lists.php.net
Subject: Re: [PHP] Passing parameters with POST
Thanks,
but I don't want the user to see thath
"redirector.php?param1=this¶m2=is¶m3=a¶m4=test"
Thanks,
Rosen
"Dave Watkinson" <d.watkinson@mightymatch.com> wrote in message
news:7CB9A13377EBE542BA2C8146178E8C7B088493@bigbertha.mmhome.co.uk...
header("Location:
redirector.php?param1=this¶m2=is¶m3=a¶m4=test");
and then in redirector.php
echo
"$param1\n<br>\n$param2\n<br>\n$param3\n<br>\n$param4\n<br>\n";
ignore the \n - I like my view Source to look good too 8^D
-----Original Message-----
From: Rosen [mailto:rosen_dm@dir.bg]
Sent: 10 October 2001 13:08
To: php-general@lists.php.net
Subject: Re: [PHP] Passing parameters with POST
Thanks,
but I want to redirect to new page with "header('location: script.php')"
with parameters passed throught POST mrthod !
Thanks,
Rosen
"Stig-ØRjan smelror" <sos@lincom.no> wrote in message
news:61674.195.18.238.2.1002715573.squirrel@webmail.lincom.no...
> > Hi,
> > how can I pass parameters between two pages with POST method,
> > not with GET ( i.e. script.php?param=1 ) ?
> >
> > Thanks,
> > Rosen
> >
>
>
> One easy way:
>
> <input type=hidden name=param value=1>
>
>
>
> --
> Stig-Ørjan Smelror
> Systemutvikler
>
> Linux Communications AS
> Sandakerveien 48b
> Box 1801 - Vika
> N-0123 Oslo, Norway
>
> tel. +47 22 09 28 80
> fax. +47 22 09 28 81
> http://www.lincom.no/
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net