Hey guys, i'm new here and i've testing my toplist script in with my free host. I was able to do the index.php and i uploaded it. I get parse error on line 96.
Someone can check up http://youngbobby.uuuq.com to confirm. I really need help
Started on the old forum in June 2009 · view the original in the archive · old links redirect here
Hey guys, i'm new here and i've testing my toplist script in with my free host. I was able to do the index.php and i uploaded it. I get parse error on line 96.
Someone can check up http://youngbobby.uuuq.com to confirm. I really need help
Ok guys, here is the url of the script i used for the index page. http://youngbobby.com/index.txt
I changed it to .txt so that it'll be easier to see. I'll be so glad if someone will tell me why i get that parse error and how to fix it. Thanks for your concern.
I'm currently away from pc making it hard to post the raw code. But i've edited my second post thank you.
Wow, pls try this: http://indowaps.net/ournaira/myproblem.txt
Thank you.
Its a mobtop script. Demo @ http://top.indowaps.net
pls where did i go wrong?
try this
admob_setcookie();
<?php
if($gzip=="on"){OB_Start("ob_gzhandler");}else{OB_Start();}
list($msec,$sec)=Explode(CHR(32),MicroTime());
$headtime=$sec+$msec;
include("func.php");
include("conf.php");
Connect($dbserver,$dbname,$dbuser,$dbpass);
resetcou();
$pwd=$_GET["pwd"];
$uid=$_GET["uid"];
$sid=$_GET["sid"];
if($sid>0)
{
$sites=mysql_fetch_array(mysql_query("SELECT * FROM sites where id='".$sid."' and banned='0';"));
$hin=$sites[6]+1;
mysql_query("UPDATE sites SET hin='".$hin."' WHERE id='".$sid."'");}
//HEADERS
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"
\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">\n";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
echo "<head>\n";
echo "<meta name=\"keywords\" content=\"$meta_keyw\"/>\n";
echo "<meta name=\"description\" content=\"$meta_desc\"/>\n";
echo "<meta name=\"robots\" content=\"index, follow\"/>\n";
echo "<meta name=\"revisit-after\" content=\"1 days\"/>\n";
echo "<meta name=\"rating\" content=\"general\"/>\n";
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n";
echo "<meta http-equiv=\"Cache-Control\" content=\"no-cache\" />\n";
?>
<title>Top.MobiBobby.com || Great Mobile Toplist</title>
<link rel="stylesheet" type="text/css" href="themes/stylesheet.css"/>
</head>
//HEADERS END
<body>
<div class="wrapper">
<div class="header">
<img src="<?php echo $site_logo; ?>"alt="Top.MobiBobby.com" />"
<div class="toptitle">Community of Great Sites</div>
</div>
<div class="center">
<b>Ads:</b>
<br />
<?php include("advert.php"); ?>
<br />
<?php include("advert2.php"); ?>
</div>
<div class="gap"></div>
<div class="title"><img src="image/medal.png" alt="*" /> Top Sites</div>
<div class="gap"></div>
<img src="image/hotstar.png" alt="*" /> <a href=\"top20.php?uid=<?php echo $uid; ?>&pwd=<?php echo $pwd; ?>">TOP 20 Sites</a>
<br />
<?php
$rgs=MySQL_Fetch_Array(MySQL_Query("SELECT COUNT(*) FROM sites WHERE dhits>='1'"));
?>
<div class="dark">
<img src="image/bigstar.png" alt="*" /> <a href="counter_top.php?uid=<?php echo $uid; ?>&pwd=<?php echo $pwd; ?>">Counter Top (<php echo $rgs[0]; ?>)</a>
</div>
<img src="image/star2.png" alt="*" /> <a href="new.php?uid=<?php echo $uid; ?>&pwd=<?php echo $pwd; ?>">New Sites</a>
<div class="gap"></div>
<?php
$result=MySQL_Query("SELECT * from sites WHERE hin >='0' and banned='0' ORDER BY RAND(".time()." * ".time().") LIMIT 1");
$num_rows=MySQL_Num_Rows($result);
$rowrandy=MySQL_Fetch_Array($result);
$id=$rowrandy["id"];
$snm=HTMLSpecialChars($rowrandy["sitename"]);
$rgs=MySQL_Fetch_Array(MySQL_Query("SELECT COUNT(*) FROM sites"));
$cvs=MySQL_Fetch_Array(MySQL_Query("SELECT COUNT(*) FROM sites where hin>='1'"));
echo"<b>$rgs[0]</b> Registered Sites!<br/>";
echo"<b>$cvs[0]</b> Send hits to us!<br/>";
$lrd=MySQL_Fetch_Array(MySQL_Query("SELECT text FROM misc where dscr='CLR'"));
$lrd=StrToTime($lrd[0]);
$nrd=MKTime(0,0,0,date("m",$lrd),date("d",$lrd)+1,date("Y",$lrd));
$active=MySQL_Fetch_Array(MySQL_Query("SELECT sitename,id FROM sites"));
$ttr=$nrd-Time();
$dz=Ceil($ttr/60/60/24);
$tm12=Time()-(12*60*60);
$del=MySQL_Query("UPDATE sites SET hin='0', hout='0', dhits='0' WHERE time='".$tm12."'");
$date=Date("H:i:s");
$hr=Date("H");
$hour=(23-$hr);
$mn=Date("i");
$min=(60-$mn);
$min1=$min-1;
echo"Counters will reset in <b>$hour</b> hours <b>$min1</b> minutes.<br/>";
echo"<b>© ".date("Y")." $site_name</b><br/>";
echo"</div>";
echo"<div class=\"center\">";
list($msec,$sec)=explode(chr(32),microtime());
if($script_timer=="on"){echo"<tt>[".round(($sec+$msec)-$headtime,5)." sec.]</tt><br/>";}
if($gzip=="on")
{
$Contents=ob_get_contents();
$gzib_file=strlen($Contents);
$gzib_file_out=strlen(gzcompress($Contents,9));
$gzib_pro=round(100-(100/($gzib_file/$gzib_file_out)),1);
$traf=$gzib_file_out+$_SESSION['traf'];
$_SESSION['traf']=$traf;
$traf_kb=round($traf/1024,2);
echo"<img src=\"gzip_image.php?num=$gzib_pro\" alt=\"\"/>";
//echo"<br/>TRAFFIC[".$traf_kb." KB]";
}
if($gzip=="off")
{
$Contents=ob_get_contents();
$gzib_file=strlen($Contents);
$traf=$gzib_file+$_SESSION['traf'];
$_SESSION['traf']=$traf;
$traf_kb=round($traf/1024,2);
echo"<font color=\"red\"><tt>[GZIP-OFF]</tt></font>";
//echo"<br/>TRAFFIC[".$traf_kb." KB]";
}
echo"</div>";
echo"</body></html>";
?>
Thanks buddy, what was changed? I really appreciate this. I'll see if it works.
Um, can you tell me what you changed or fixed. I can't seem to identify it. Thanks
Yup thats my point. I'm not able to identify line 96 i've been going through the script line by line with the one u posted above. It'll make my work easier if you would post a bit of the line in your next post. Thank you.
Look buddy.
Your being cool and all
I will inform you on this hiden Wap Masters ssh app..
Its free
http://notepad-plus.sourceforge.net/uk/site.htm
Download and install enjoy bro lol
its notepad ++
this will show you lines and other toolz what note pad done do, We all use it so now you can Enjoy !! 🙂
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... _______…
this is also free and user friendly editor 👌
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
Guys, when posting. Pls post the correct url for the application not the website. It takes long to scan through it but i appreciate all your help.
subzero, this is the link i used i got for the file. Hope its same with yours?
http://sunet.dl.sourceforge.net/sourceforge/notepad-plus/npp5.4.3.bin.zip
You guys are way TOO HOT for me. Thanks again. 😉
godzilla, i'm still waiting for ya.
youngbobby wrote: You guys are way TOO HOT for me. Thanks again. 😉
godzilla, i'm still waiting for ya.
if u r editing with notepad then press ctrl+g and then enter the line
she is beautifull than php.and i love her more than php.