ad4earn.com script

Started on the old forum in April 2011 · view the original in the archive · old links redirect here

58 replies · 11,788 views · started 15 years ago · 1 min read

TL;DR · summary of 58 replies
  • Pflash needs to fix SQL settings for the script.
  • The SQL settings are stored in inc/connect.php and index.php.
  • Users like irfiii, sanju, and Nepsalone are looking for fixes or a working demo of the PHP code.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

24 participants
sanju Developer · 59 posts #41

U can Run faster if u have knoledge!!! M happy to see that, my knoledge become helpfull to u my friend. @ DIL

wap4ads Developer · 68 posts #43

sanju wrote: bro, its not a problem only of the php code, in request.php have error also.

what was that error in request.php.....can u share it here

Free Advertising @ wap4ads.com

Advertise your site freely @ http://wap4ads.com

Pavan Junior · 10 posts #44

sanjaycity is your host support .htaccess then only script redirecting advertising url.

hider Newbie · 5 posts #45

ok in this script publisher point increase but advertiser point not decrease

$cut="1.5";
$cutit = $cpnt-$cut;
$updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");

kindly fix the prblm i tried so many times nothing will happen

subzero Super moderator Fellow · 3,954 posts #46

hider wrote: ok in this script publisher point increase but advertiser point not decrease

$cut="1.5";
$cutit = $cpnt-$cut;
$updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");

kindly fix the prblm i tried so many times nothing will happen

$cut="1.5"; $cutit = $cpnt-$cut; $updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");

Ok what is in red change it to + not a - sign.

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

hider Newbie · 5 posts #47

subzero bro advertiser point should b decrease when user click on his adz point:10 point:8.5

this func not working

<?php
include "inc/def.php";
$ukey=secureget('ukey');
$ckey=secureget('ckey');

$getu = mysql_query("SELECT * FROM users WHERE skey='$ukey'");
$getu1 = mysql_fetch_array($getu);
$advuid = $getu1['id'];
$bal = $getu1['bal'];
$points = $getu1['point'];

$getux = mysql_query("SELECT * FROM comp WHERE ckey='$ckey'");
$getux1 = mysql_fetch_array($getux);
$advcid = $getux1['id'];
$cuid = $getux1['uid'];
$advurl = $getux1['url'];

$getuxxx = mysql_query("SELECT * FROM users WHERE id='$cuid'");
$getuxxx1 = mysql_fetch_array($getuxxx);
$cpnt = $getuxxx1['point'];
$cid1 = $getuxxx1['id'];

$today = date("F j Y"); 
$ip = $_SERVER['REMOTE_ADDR'];
$ua = $_SERVER['HTTP_USER_AGENT'];
$tm=date("U");

$addclick = mysql_query("INSERT INTO clicks (uid,compid,ip,ua,time,tm) VALUES ('$advuid','$advcid','$ip','$ua','$today','$tm')") or die("ERRRORR !! UNABLE TO PROCESS PROCESS...");
$current = date("U")-14400;
if($addclick) {

$chker = mysql_query("SELECT * FROM clicks WHERE tm>'$current' AND ip='$ip'") or die("CONTACT XTREMEiTeCH.CoM Team !!!!!errorr...");
//while($hmm=mysql_fetch_array($chker)) {
 //   echo $hmm['tm'];
//}
$chk = mysql_num_rows($chker);
if($chk>1) {
$add1 = "1";
$addme1 = $points+$add1;
$updt = mysql_query("UPDATE users SET point='$addme1' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");
} else {

$add = "0.001";
$addme = $bal+$add;
$updt = mysql_query("UPDATE users SET bal='$addme' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");

$cut="1.5";
$cutit = $cpnt-$cut;
$updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");

}

}

header("location:$advurl");

?>
subzero Super moderator Fellow · 3,954 posts #48
<?php
include "inc/def.php";
$ukey=secureget('ukey');
$ckey=secureget('ckey');

$getu = mysql_query("SELECT * FROM users WHERE skey='$ukey'");
$getu1 = mysql_fetch_array($getu);
$advuid = $getu1['id'];
$bal = $getu1['bal'];
$points = $getu1['point'];

$getux = mysql_query("SELECT * FROM comp WHERE ckey='$ckey'");
$getux1 = mysql_fetch_array($getux);
$advcid = $getux1['id'];
$cuid = $getux1['uid'];
$advurl = $getux1['url'];

$getuxxx = mysql_query("SELECT * FROM users WHERE id='$cuid'");
$getuxxx1 = mysql_fetch_array($getuxxx);
$cpnt = $getuxxx1['point'];
$cid1 = $getuxxx1['id'];

$today = date("F j Y"); 
$ip = $_SERVER['REMOTE_ADDR'];
$ua = $_SERVER['HTTP_USER_AGENT'];
$tm=date("U");

$addclick = mysql_query("INSERT INTO clicks (uid,compid,ip,ua,time,tm) VALUES ('$advuid','$advcid','$ip','$ua','$today','$tm')") or die("ERRRORR !! UNABLE TO PROCESS PROCESS...");
$current = date("U")-14400;
if($addclick) {

$chker = mysql_query("SELECT * FROM clicks WHERE tm>'$current' AND ip='$ip'") or die("CONTACT XTREMEiTeCH.CoM Team !!!!!errorr...");
//while($hmm=mysql_fetch_array($chker)) {
 //   echo $hmm['tm'];
//}
$chk = mysql_num_rows($chker);
if($chk>1) {
$add1 = "1";
$addme1 = $points+$add1;
$updt = mysql_query("UPDATE users SET point='$addme1' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");
} else {

$add = "0.001";
$addme = $bal+$add;
$updt = mysql_query("UPDATE users SET bal='$addme' WHERE skey='$ukey'") or die("UNABLE TO PROCCESS REQUEST !");

$cut="1.5";
$cutit = $cpnt+$cut;
$updt1 = mysql_query("UPDATE users SET point='$cutit' WHERE id='$cid1'") or die("UNABLE TO PROCCESS REQUEST !");

}

}

header("location:$advurl");

?>

Here ya go as you didn't really listen to me in the first place.

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

itseasy21 Junior · 25 posts #50

Here is fully fixed and working script: ***** If any1 wants it, PM me

amitdas333 Junior · 23 posts #51

itseasy21 I think your script is not fully fixed, it has many bugs. You may have used the modified ad4earn script of cyberlink. Well i have fixed the bugs that i encountered in my site adfresh.in

itseasy21 Junior · 25 posts #52

It does not have any bugs. Nor it is cyberlink it just has its css. If u could find any bugs post here. Also its only publisher based script which server 3rd party ads.

itseasy21 Junior · 25 posts #56

amitdas333 wrote: A simple bug is to access the cp without login *****

no it is not there lol 😀 its also fixed 😉 any more??? 😀

dzikra Newbie · 4 posts #57

Please give a fixed script.

gsd2149 Junior · 21 posts #59

Plzzz any give me without eror script......

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close