You are here: Re: [PHP] [NEWBIE] Cant get $_POST to work « PHP « IT news, forums, messages
Re: [PHP] [NEWBIE] Cant get $_POST to work

Posted by John Nichel on 02/21/05 00:54

dbfreedman wrote:
> I am so new I don't know what you mean by 'test.php"
>
> David

Please reply to the list...better chance of finding the answer to your
problem that way.

You have the action of your form set to 'test.php', i.e. you should have
a file in the same directory as your form called test.php. In that
file, put this...

<pre>
<?php

print_r ( $_POST );

?>
</pre>

If you get the values that you submitted (with globals off, like it
_should_ work), then all is fine. You can also change $_POST to
$_REQUEST if you wish, just to see all the data being passed to your script.

--
By-Tor.com
....it's all about the Rush
http://www.by-tor.com

 

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

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