drifter8779
Member
- Joined
- Oct 17, 2009
- Messages
- 163
- Reaction score
- 7
Hello i have encountered a problem i havnt had before, i downloaded a Paypal script from Artii's post, i deleted the htaccess from the IPN folder now i get Apache errors" You do not have permission
to view / on this server" or even /apanel/phpmyadmin,
I also need help with the donation with paypal, i get the donation but i do not get the points, its like after the
From
Doesnt execute. Both problems i would love to solve i had a server up with players and now its all F***ed. ( i have filled out everything on that script, possibly incorrectly)
If i solve these problems i will rep++ defiantly. these are my two biggest problems that I'm having :s
to view / on this server" or even /apanel/phpmyadmin,
I also need help with the donation with paypal, i get the donation but i do not get the points, its like after the
PHP:
($payment_status == "Completed" & $receiver_email == "[email protected]")
From
PHP:
<?
$mysql_host = 'localhost'; //Leave at localhost
$mysql_user = 'root'; //DB User
$mysql_pass = ''; //DB Pass
$mysql_db = ''; //DB Name
$custom = stripslashes(ucwords(strtolower(trim($_REQUEST['custom']))));
$receiver_email = $_REQUEST['receiver_email'];
$payment_status = $_REQUEST['payment_status'];
// connect db
$db = mysql_connect($mysql_host, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db, $db);
if ($payment_status == "Completed" & $receiver_email == "[email protected]") {
$query = "SELECT premium_points FROM accounts WHERE accounts.name = '$custom'";
$result = mysql_query($query);
$prem = mysql_fetch_array($result);
$points = $prem['premium_points'] + 12;
// $points = mysql_query($prem)
$qry2 = "UPDATE accounts SET premium_points = '$points' WHERE accounts.name = '$custom'";
$result2 = mysql_query($qry2);
}
else
{
echo("Error.");
}
?>
Doesnt execute. Both problems i would love to solve i had a server up with players and now its all F***ed. ( i have filled out everything on that script, possibly incorrectly)
If i solve these problems i will rep++ defiantly. these are my two biggest problems that I'm having :s