fixed coding in share.php