![]() |
|
Script PaymentWall - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Website Scripting & Security (https://lckb.dev/forum/forumdisplay.php?fid=197) +---- Forum: Security (https://lckb.dev/forum/forumdisplay.php?fid=164) +----- Forum: Website Security (https://lckb.dev/forum/forumdisplay.php?fid=141) +----- Thread: Script PaymentWall (/showthread.php?tid=960) |
- Kotetsu - 07-13-2012 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 ! - Wizatek - 07-13-2012 That should work. (i didnt test it though) - Kotetsu - 07-13-2012 Thx i will test it ! ![]() - Kotetsu - 07-13-2012 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 } - Wizatek - 07-13-2012 Ah, forgot the ; return true; else return false; I updated my previous post with the fix - Kotetsu - 07-13-2012 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 ? :$ - Wizatek - 07-13-2012 Its because only paymentwall can access it. Try to run it from the payment wall website at Test pingback - Sutz - 07-14-2012 Sticky.. Thankyou Wizatek for your support, will maybe stop ppl buggy me about this xD - fonsy84 - 07-14-2012 Parse error: syntax error, unexpected }, expecting , or ; in C:\xampp\htdocs\donations\pingback.php on line 236 :S how fix this any help me? - Dungedragon - 07-14-2012 expecting , or ; maybee? |