You are here: Sending post variable « PHP Programming Language « IT news, forums, messages
Sending post variable

Posted by JGius vs ::NRG::ius on 05/11/05 11:38

Hi all.

I have a script with a form

<form action="a.php" ... method="post">
<input name="field" ...>
</form>

a.php gets the variable with

$a = $_POST['field'];

How can I send $a to another script via POST?
I have another script that needs some fields using POST.
1) The user sends a form to a.php
2) a.php adds some fields and sends all to another script using POST.

With GET I would get

header('Location: b.php?k=h&newfield=' . $a);

But with POST?

Any ideas?

G.

 

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

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