You are here: Re: passing radio button value « All PHP « IT news, forums, messages
Re: passing radio button value

Posted by dimo414 on 04/02/07 15:22

First off, like JO said, you're thinking in terms of JavaScript, while
working in PHP. $_SESSION is only used for session data, like a user
id - information you set about a visitor that will cary over between
pageviews. $_GET and $_POST are for form data (or in the case of
$_GET, url variables as well). You determine which to use in the
<form> tag of your html. Although $_REQUEST will accomodate both, I
would suggest always using the specific array depending on how you're /
supposed/ to be receiving the data. If you use $_REQUEST, and you're
trying to get POST data, a malicious user could put the same name into
a GET variable and overwrite that index of $_REQUEST.

 

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

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