Created
October 13, 2012 01:57
-
-
Save dca/3882904 to your computer and use it in GitHub Desktop.
PHP 輸入處理
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //輸入處裡 | |
| $in = array(); | |
| foreach ($_GET as $key => $value) { | |
| $in[$key] = mysql_real_escape_string($value); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment