WordPress Escape String
// Adds slashes to escape strings.
addslashes_gpc( string $gpc )
TheDutchScorpion
// Adds slashes to escape strings.
addslashes_gpc( string $gpc )
<?php
@session_name('SESS');
@session_start();
$sess = mysql_escape_string(session_id());
if (!preg_match('#[A-z0-9]{32}#i',$sess)) $sess = md5(rand(09009,999999));
?>