The PHP website created by its users!
Home
»
PHP » Check GET/POST Data
|
Check GET/POST Data
| Author | mkeefe |
| Description | Use this script to check GET and/or POST data sent into a php script. |
| Rating | (73 votes) |
PHP Code
<?php
$item = "action";
if (!empty($_POST[$item]) || !empty($_GET[$item]))
{
$action = (!empty($_POST[$item])) ? $_POST[$item] : $_GET[$item];
}
else
{
$action = '';
}
?>
Comments
<a href=http://www.zlabphoto.com/>Casino Play Online</a>
If you also win the second unit of the game, it makes $30 on your table.
|