Jump to content

Get secure


phpnoob

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...