View Single Post
  #1  
Old 26th December 2008, 23:21
kp380lv's Avatar
kp380lv kp380lv is offline
Senior Member
 
Join Date: May 2008
Latvia
Posts: 388
Post All who uses YSE PRE 6! (Bug Fix)
Open takesignup.php

Find this:

PHP Code:

// check if email addy is already in use
$a = (@mysql_fetch_row(@sql_query("SELECT COUNT(*) FROM users WHERE email='$email'"))) or die(mysql_error()); 
And replace with this:

PHP Code:

// check if email addy is already in use
$a = (@mysql_fetch_row(@sql_query("SELECT COUNT(*) FROM users WHERE email=".sqlesc($email)))) or die(mysql_error()); 
That's all..
Reply With Quote