Retransmiting post variables
| From: | Fernando M. M. | Date: | Tue, 12 Dec 2006 15:45:17 +0000 |
| Subject: | Retransmiting post variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-245759@lists.php.net to get a copy of this message | ||
Hello,
I have a script called redir.php that is used only for redirecting
using the following code:
header('Location: ', $_GET['url']);
But
now i need to redirect post varibles too. Example:
If someone access
redir.php?url=my_page.php and post:
&a=1&b=2
I need to
send this post string (as post) to my_page.php.
How can i do this?
Thanks.
--
Blog: http://blog.forumdebian.com.br/fernando
Contato: http://www.forumdebian.com.br/fernando/contato.php