Script PaymentWall
#1

Hi guys,

Can you help me ?

I need a automatic script with PaymentWall (Like Destiny,Bunkay,Generic...)

But im a big big big newbie in PHP ><.

Can you give me the script please ?

Thanks !

#2

That should work. (i didnt test it though)

#3
Thx i will test it ! Smile

#4

Dont work :X.

"Parse error: parse error in C:\xampp\htdocs\cash.php on line 144"

 

Line 144 & - & +

// Function to check if the user exists
function CheckUserExist( $uid )
{
global $dbs;

$query = sprintf
("
SELECT count(*)
FROM %s.bg_user
WHERE user_code = :uid

", $dbs[user_dbase] );

$dbh = $db->prepare( $query );

$dbh->execute( array( :uid => $uid ));

$result = $dbh->fetch();

if( $result[0] == 1 )
return true
else //Line 144
return false
}

#5

Ah, forgot the ;

 

return true;

else

return false;

 

 

I updated my previous post with the fix

#6

Thx for the fast answers

You have forgot the ;

to the line 235 too :p

echo Not found user;

 

i have not bugs now, but i have a "IP Unknow"

What i need to make ? :$

#7

Its because only paymentwall can access it.

Try to run it from the payment wall website at Test pingback

#8

Sticky..

Thankyou Wizatek for your support, will maybe stop ppl buggy me about this xD

#9

 

 

Parse error: syntax error, unexpected }, expecting , or ; in C:\xampp\htdocs\donations\pingback.php on line 236

 

:S how fix this any help me?

#10


 

expecting , or ;

maybee?



Forum Jump:


Users browsing this thread: 2 Guest(s)