Jump to content

Get secure


phpnoob
 Share

Recommended Posts

HiI want to make a good $_GET secureToday i make a simple one

$string=$_GET['n'];$regExp = "/()(.*?)( )/";$outputArray = array();if ( preg_match($regExp, $string, $outputArray) ){$num=$outputArray[2];}

Plz help me for a better one, this function only the space character searching and stop if find one, i want a complicated searching for specific character and if find it than stop.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...