Security fixes

Fixed sql injection vulnerablities on browse2.php and share2.php