PHP Front
The PHP website created by its users!
Home » PHP » Check GET/POST Data


Check GET/POST Data


Authormkeefe
DescriptionUse this script to check GET and/or POST data sent into a php script.
RatingThis script has been rated 4/5 (87 votes)

PHP Code


<?php

$item 
"action";
if (!empty(
$_POST[$item]) || !empty($_GET[$item]))
    {
    
$action = (!empty($_POST[$item])) ? $_POST[$item] : $_GET[$item];
    }
else
    {
    
$action '';
    }

?>



Rate it: Print Print

Comments


IUBomaxiomsam / 11 May 09

<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.
Name
Website
Your comment