Hello friends,
I have completed my first custom script. The site is at? www.kiratisaathi.com/index.php Please comeon for the beta testing.
thank you.
You are currently browsing the yalamber.com posts tagged: scripts
Hello friends,
I have completed my first custom script. The site is at? www.kiratisaathi.com/index.php Please comeon for the beta testing.
thank you.
I just saw an security fix update at www.phpizabi.net posted on july,9th. What it does is provide security against the attack used in comment form to reveal other user sensitive informations. The below code protects you from that attack at line 75:
// SQL INJECTIONS / XSS HACKS PROTECTION //////////////////////////////////////////////
$entities = array(";"=>"&#059;", """=>"&quot;", "'"=>"&#039;", "<"=>"&lt;", ">"=>"&gt;", "\"=>"&#092;", "^"=>"&#094;", "{"=>"&#123;", "}"=>"&#125;");
if (isset($_POST)) foreach($_POST as $var => $val)
if (!is_array($val) and substr($var, 0, 1) != "_")
$_POST[$var] = trim(strtr(stripslashes($val), $entities));
if (isset($_GET)) foreach($_GET as $var => $val)
if (!is_array($val) and substr($var, 0, 1) != "_")
$_GET[$var] = trim(strtr(stripslashes($val), $entities));
unset ($var, $val, $entities);
I hope phpizabi will be back soon and become stronger. Let’s hope for it as it was the best script i have ever used.
It is really to be mentioned. The new release of the wordpress is superb. I iked the admin panel. lot’s of things are improved. If you haven’t yet tried it. give it a try. it’s wonderful….