$username = ereg_replace(""[^A-Za-z0-9]"", """", $_POST['username']), // filter everything but numbers and letters
$countr">
php

Description

New solution updates


Question

"// Filter the posted variables
$username = ereg_replace(""[^A-Za-z0-9]"", """", $_POST['username']), // filter everything but numbers and letters
$country = ereg_replace(""[^A-Z a-z0-9]"", """", $_POST['country']), // filter everything but spaces, numbers, and letters
$state = ereg_replace(""[^A-Z a-z0-9]"", """", $_POST['state']), // filter everything but spaces, numbers, and letters
$city = ereg_replace(""[^A-Z a-z0-9]"", """", $_POST['city']), // filter everything but spaces, numbers, and letters
$accounttype = ereg_replace(""[^a-z]"", """", $_POST['accounttype']), // filter everything but lowercase letters
$email = stripslashes($_POST['email'])
$email = strip_tags($email)
$email = mysql_real_escape_string($email)
$password = ereg_replace(""[^A-Za-z0-9]"", """", $_POST['password']), // filter everything but numbers and letters"

 

Solution ID:480041 | This paper was updated on 26-Nov-2015

Price : $25
SiteLock