U can Run faster if u have knoledge!!! M happy to see that, my knoledge become helpfull to u my friend. @ DIL
ad4earn.com script
Started on the old forum in April 2011 · view the original in the archive · old links redirect here
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.
sanju wrote: U can Run faster if u have knoledge!!! M happy to see that, my knoledge become helpfull to u my friend. @ DIL
Thx bro..... 🙂 m happy that WapAdz.com completed now.....
i have get a new idea too soon i will post that here..... 🙂
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
sanjaycity is your host support .htaccess then only script redirecting advertising url.
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
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... _______…
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");
?>
<?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 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
amitdas333 wrote: A simple bug is to access the cp without login *****
no it is not there lol 😀 its also fixed 😉 any more??? 😀
There are lot of bugs that i faced while modifying this script. Hope you'll find soon...