[wap] Official Release Of My Wapdesire(lavalair Version)
Started on the old forum in January 2008 · view the original in the archive · old links redirect here
TL;DR · summary of 72 replies
- K3V had issues with images not loading on their Wapdesire script and asked for help.
- K3V tried changing permissions to 777 for folders like pics, pics_original, uploaded/files, and logs but still faced the issue.
- K3V moved scripts to a quicker server which caused problems with image loading.
- K3V was unsure about what part of login.php might be causing security issues and asked for help identifying it.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
QUOTE (Domux @ Oct 22 2008, 07:09 PM) <{POST_SNAPBACK}>
Just Upload im REALLY need
NO ! script is uloaded here so you can take it i dont see any point in uploading it to rapid
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ノ刀ノイリ!
There is no provision for plusses send by user to user so this is code
usage
echo "<a href=\"index.php?action=shares&who=$who&sid=$sid\">Share +s</a>
";
index.php
//////////////////////////////////////////Give Plusses
else if($action=="shares")
{
$who = $_GET["who"];
$unick = getnick_uid($who);
addonline(getuid_sid($sid),"Sharing plusses to $unick","index.php?action=$action");
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"gplus\" value=\"\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Share Plusses to ".getnick_uid($who)."
";
$nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".getuid_sid($sid)."'"));
echo "Your Current Plusses is $nopl[0]
";
echo "<form action=\"genproc.php?action=shares&sid=$sid&who=$who\" method=\"post\">";
echo "Message: <input name=\"pres\" maxlength=\"100\"/>
";
echo "Amount to Share:<input name=\"ptg\" format=\"*N\" maxlength=\"3\"/>";
echo "<input type=\"hidden\" name=\"who\" value=\"$who\"/>";
echo "<input type=\"submit\" value=\"GO\"/>";
echo "</form>";
echo "
<a href=\"index.php?action=main&sid=$sid&type=send\">";
echo "Main menu</a>";
echo "</p>";
}
in genproc.php
//////////////////////////////////////////Give Plusses
else if($action=="shares")
{
$unick = getnick_uid($who);
addonline(getuid_sid($sid),"Sending plusses to $unick","");
$who = $_GET["who"];
$ptg = trim($_POST["ptg"]);
$pres = trim($_POST["pres"]);
echo "<title>2wap.org</title>";
echo "<p align=\"center\">";
//$uid = getuid_sid($sid);
if($uid==$who)
{
echo "Sending to your own account is not permitted!
";
}else{
if($ptg<=0)
{
echo "0 amount is not allowed!
";
}else{
if($ptg>=10001)
{
echo "10,000 maximum plusses!
";
}else{
if(($ptg=="")||($pres==""))
{
echo "Its empty";
}else{
$unick = getnick_uid($who);
$actime = mysql_fetch_array(mysql_query("SELECT actime FROM ibwf_killed2 WHERE uid='".$uid."' AND who='".$who."' ORDER BY actime DESC LIMIT 1"));
$timeout = $actime[0] + (1*24*60*60);
if(time()<$timeout)
{
echo "Can't send plusses to the same user at this time wait after 1 day!.
";
}else{
$unick = getnick_uid($who);
$psf = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$npl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'"));
if($psf[0]>=$ptg){
$psf = $psf[0]-$ptg;
$npl = $npl[0]+$ptg;
$res = mysql_query("UPDATE ibwf_users SET plusses='".$npl."', lastplreas='".mysql_escape_string($pres)."' WHERE id='".$who."'");
if($res)
{
if($tdo==1)
{
$msg = "share";
}else{
$msg = "share";
}
$res = mysql_query("INSERT INTO ibwf_killed2 SET uid='".$uid."', who='".$who."', actime='".time()."'");
$res = mysql_query("UPDATE ibwf_users SET plusses='".$psf."' WHERE id='".$uid."'");
mysql_query("INSERT INTO ibwf_mlog SET action='shareplusses', details='[b]".getnick_uid(getuid_sid($sid))."[/b] send plusses to[b] ".$unick."[/b] the amount of: ".$ptg."', actdt='".time()."'");
mysql_query("UPDATE ibwf_users SET plussess=plusses-3 WHERE id='".$uid."'");
echo "Plusses Shared Successfully to $unick
";
$msg = "".getnick_uid(getuid_sid($sid))." had $msg $ptg plusses to you. LIVE MSG: $pres"."[br/][small]Note: This is an automatic PM[/small]";
autopm($msg, $who);
}else{
echo "Database Error!
";
}
}else{
$nopl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".getuid_sid($sid)."'"));
echo "Yebba! not enough plusses!
";
}
}
}
}
}
}
echo "
";
echo "<a href=\"index.php?action=main&sid=$sid&type=send&browse?start\">";
echo "Main menu</a>";
echo "</p>";
}
lol i got a good one for you
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@anarchymusic.isosystems.eu and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at anarchymusic.info Port 80
DOLPHINS ARE GAY SHARKS
on thi script i have found this problem..in topics page when you have 2 post ,it show regulary on the page ..but from the third post the page refuse to show the others!..they start to appear only if you wipe the last message
..CODE//////////////////////////////////View Topic
else if($action=="viewtpc") { $tid = $_GET["tid"]; $go = $_GET["go"]; addonline(getuid_sid($sid),"Viewing Forum Topic","index.php?action=viewtpc&tid=$tid"); $tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'")); if(!canaccess(getuid_sid($sid), $tfid[0])) { echo "<head>"; echo "<title>View Topic</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/$theme[0]">"; echo "</head>"; echo "<body>"; echo " "; echo "You Don't Have A Permission To View The Contents Of This Forum
"; echo "<a href="index.php?action=main&sid=$sid">Home</a>"; echo " "; echo "</body>"; echo "</html>"; exit(); }
$tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'"));
$tnm = htmlspecialchars($tinfo[0]);
echo "<head>";
echo "<title>View Topic</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo popup($sid);
echo "
"; $umsg = getunreadpm(getuid_sid($sid)); if($umsg>0) { echo " 6<a href="inbox.php?action=main&sid=$sid">$umsg New Inbox!</a> "; } $num_pages = getnumpages($tid); if($page==""||$page<1)$page=1; if($go!="")$page=getpage_go($go,$tid); $posts_per_page = 5; if($page>$num_pages)$page=$num_pages; $limit_start = $posts_per_page ($page-1); echo "1<a accesskey="1" href="index.php?action=post&sid=$sid&tid=$tid">Post reply</a>"; $lastlink = "3<a accesskey="3" href="index.php?action=$action&tid=$tid&sid=$sid&go=last">Last Page</a>"; $firstlink = "2<a accesskey="2" href="index.php?action=$action&tid=$tid&sid=$sid&page=1">First Page</a> "; $golink = ""; if($page>1) { $golink = $firstlink; } if($page<$num_pages) { $golink .= $lastlink; } if($golink !="") { echo " $golink"; } echo " "; echo " "; $vws = $tinfo[4]+1; $rpls = mysql_fetch_array(mysql_query("SELECT COUNT() FROM ibwf_posts WHERE tid='".$tid."'")); echo "Replies: $rpls[0] - Views: $vws "; ///fm here
if($page==1)
{
$posts_per_page=4;
mysql_query("UPDATE ibwf_topics SET views='".$vws."' WHERE id='".$tid."'");
$ttext = mysql_fetch_array(mysql_query("SELECT authorid, text, crdate, pollid FROM ibwf_topics WHERE id='".$tid."'"));
$unick = getnick_uid($ttext[0]);
if(isonline($ttext[0]))
{
$iml = "<img src=\"../images/onl.gif\" alt=\"+\"/>";
}else{
$iml = "<img src=\"../images/ofl.gif\" alt=\"-\"/>";
}
$usl = "
<a href="index.php?action=viewuser&sid=$sid&who=$ttext[0]">$iml$unick</a>"; $topt = "<a href="index.php?action=tpcopt&sid=$sid&tid=$tid"></a>"; if($go==$tid) { $fli = "<img src="../images/flag.gif" alt="!"/>"; }else{ $fli =""; } $pst = parsemsg($ttext[1],$sid); echo "$usl: $fli$pst $topt "; $dtot = date("d-m-y - H:i:s",$ttext[2]); echo $dtot; echo " "; if($ttext[3]>0) { echo "4<a accesskey="4" href="index.php?action=viewtpl&sid=$sid&who=$tid">POLL</a> "; } } if($page>1) { $limit_start--; } $sql = "SELECT id, text, uid, dtpost, quote FROM ibwf_posts WHERE tid='".$tid."' ORDER BY dtpost LIMIT $limit_start, $posts_per_page"; $posts = mysql_query($sql); while($post = mysql_fetch_array($posts)) { $unick = getnick_uid($post[2]); if(isonline($post[2])) { $iml = "<img src="../images/onl.gif" alt="+"/>"; }else{ $iml = "<img src="../images/ofl.gif" alt="-"/>"; } $usl = " <a href="index.php?action=viewuser&sid=$sid&who=$post[2]">$iml$unick</a>"; $pst = parsemsg($post[1], $sid); $topt = "<a href="index.php?action=pstopt&sid=$sid&pid=$post[0]&page=$page&fid=$tinfo[5]"></a>"; if($post[4]>0) { $qtl = "<a href="index.php?action=viewtpc&sid=$sid&tid=$tid&pst=">(quote:p=blaze,d=16-04-2006)</a>"; } if($go==$post[0]) { $fli = "<img src="../images/flag.gif" alt="!"/>"; }else{ $fli =""; } echo "$usl: $fli$pst $topt "; $dtot = date("d-m-y - H:i:s",$post[3]); echo $dtot; echo " "; } ///to here echo " "; echo " "; if($page>1) { $ppage = $page-1; echo "<a href="index.php?action=viewtpc&page=$ppage&sid=$sid&tid=$tid">«PREV</a> "; } if($page<$num_pages) { $npage = $page+1; echo "<a href="index.php?action=viewtpc&page=$npage&sid=$sid&tid=$tid">Next»</a>"; } echo " $page/$num_pages "; if($num_pages>2) { $rets = "<form action="index.php" method="get">"; $rets .= "<input name="page" style="-wap-input-format: '*N'" size="2"/>"; $rets .= "<input type="hidden" name="action" value="$action"/>"; $rets .= "<input type="hidden" name="tid" value="$tid"/>"; $rets .= "<input type="hidden" name="sid" value="$sid"/>"; $rets .= "<input type="Submit" value="Go To Page" Name="Submit"/></form>";
echo $rets;
}
echo " "; echo "1<a href="index.php?action=post&sid=$sid&tid=$tid">Post reply</a>"; echo " "; echo " "; $fid = $tinfo[5]; $fname = getfname($fid); $cid = mysql_fetch_array(mysql_query("SELECT cid FROM ibwf_forums WHERE id='".$fid."'")); $cinfo = mysql_fetch_array(mysql_query("SELECT name FROM ibwf_fcats WHERE id='".$cid[0]."'")); $cname = $cinfo[0]; $cid = mysql_fetch_array(mysql_query("SELECT cid FROM ibwf_forums WHERE id='".$fid."'")); $fname = htmlspecialchars($fname); echo "4<a accesskey="4" href="index.php?action=viewfrm&sid=$sid&fid=$fid">Back To $fname</a> "; if($cid[0]>0) { echo "5<a accesskey="5" href="inbox.php?action=main&sid=$sid">Inbox</a> "; echo "6<a accesskey="6" href="lists.php?action=buds&sid=$sid">BuddyList</a> "; echo "7<a accesskey="7" href="index.php?action=chat&sid=$sid">Chat</a> "; $cinfo = mysql_fetch_array(mysql_query("SELECT name FROM ibwf_fcats WHERE id='".$cid[0]."'")); $cname = htmlspecialchars($cinfo[0]); echo "8<a accesskey="8" href="index.php?action=viewcat&sid=$sid&cid=$cid[0]">$cname</a> "; echo forumlink($sid,9); }else{ echo "5<a accesskey="5" href="inbox.php?action=main&sid=$sid">Inbox</a> "; echo "6<a accesskey="6" href="lists.php?action=buds&sid=$sid">BuddyList</a> "; echo "7<a accesskey="7" href="index.php?action=chat&sid=$sid">Chat</a> "; $cid = mysql_fetch_array(mysql_query("SELECT clubid FROM ibwf_forums WHERE id='".$fid."'")); $cinfo = mysql_fetch_array(mysql_query("SELECT name FROM ibwf_clubs WHERE id='".$cid[0]."'")); $cname = htmlspecialchars($cinfo[0]); echo "8<a accesskey="8" href="index.php?action=gocl&sid=$sid&clid=$cid[0]">$cname Club</a> "; echo forumlink($sid,9); } echo "0<a accesskey="0" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>"; echo " "; echo "</body>"; }
maybe there is a bug in this part of the svript
..somebody can help?
the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com
friend this : ibwf_killed2
wth is???
if like my post click:
Thanks for sharing, it really helped me
They are Only Two types Of people In This World We Have The Binary And The Non-Binary.........
I am the Dark-Lord Saying Hello To all the Dark-Kings of the Universe Visit my site where all the Kings Meet : Dark Region