Fix This...

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

8 replies · 682 views · started 19 years ago · 1 min read

4 participants
WhiteWarrior Principal · 1,419 posts #1

anyone fix this please?

<?php header("Content-type: text/vnd.wap.wml"); include("config.inc.php"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); echo "<?xml version=\"1.0\"?>";

echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

$time=date("H:i"); echo "<wml>";

$Connect = mysql_connect("$server","$user","$pass"); mysql_select_db("$dbname");

$result=mysql_query("select * from members where username='$username' and password='$password'");

$number_of_rows = mysql_num_rows($result); if ($number_of_rows>0) {

include("check.inc.php"); }

if ($ok>0) {

include("online.inc.php");

$result=mysql_query("select * from buddylist where username1='$username'");

$number_of_rows = mysql_num_rows($result);

$count=0; while ($count<$number_of_rows){

$name=(mysql_result($result,$count,"username2")); $result2=mysql_query("select * from latest where ip='$name'"); $number_of_rows2 = mysql_num_rows($result2); if($number_of_rows2>0){

$count1=$count1+1;

}

$count=$count+1; }

$result5=mysql_query("select * from buddylist where username1='$username'"); $number_of_rows5 = mysql_num_rows($result5); $time=date("H:i");

echo "<card id="card1" title="$username@FetishLovers $time">";

echo " "; ?>

External image (may be gone)

<?php $TimeZone="-2"; ////Change the TimeZone accordingly! $New_Time = time() + ($TimeZone * 60 * 60); $show_date=date("D dS F, Y",$New_Time); $show_time=date("H:i",$New_Time); $Hour=date("G",$New_Time); echo $show_date; echo" "; echo $show_time; echo" "; $result=mysql_query("select * from members"); $mem = mysql_num_rows($result); echo "**Members: $mem";** **$result=mysql_query("select * from members where validated='no'"); $memn = mysql_num_rows($result); echo " $memn Awaiting Validation**"; echo" "; echo" "; $result = mysql_query("SELECT * FROM shoutbox"); $thename = mysql_result($result,0,"name"); $themessage = mysql_result($result,0,"message"); echo "Welcome to FetishLovers $thename"; $gbvalues=mysql_result($result,0,"message"); include("smilies.inc.php"); echo " Announcement: $gbvalues"; ?>

External image (may be gone)

<? include ("text.php"); ?>

External image (may be gone)</br/>

<?php $sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'"); $owner=(mysql_result($sqlthing,0,"owner")); $pmname=(mysql_result($sqlthing,0,"pmname")); $buddyname=(mysql_result($sqlthing,0,"buddyname")); $admin=(mysql_result($sqlthing,0,"admin")); $yesno = "no"; $result = mysql_query("SELECT * FROM privatemessage WHERE to_username = '$username' and has_it_been_read='$yesno'"); $number_of_rows = mysql_num_rows($result); $new_pms = $number_of_rows; if(($number_of_rows>0)){ echo "you have $new_pms new $pmname(s)"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a title=\"Enter\" href=\"pminbox.php?username=$username&amp;limit=0&amp;password=$password\">Read! $pmname</a> "; } echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"pm.php?username=$username&amp;password=$password\">$pmname Menu</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"alertlists.php?username=$username&amp;password=$password\">Fun Alerts</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"forumindex.php?username=$username&amp;password=$password\">Forums</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatindex.php?username=$username&amp;password=$password\">Chat</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"buddylist.php?username=$username&amp;password=$password\">[$count1/$number_of_rows5] $buddyname list </a>"; if($uonline>1) { $users="Users"; } if($uonline<2) { $users="User"; } echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"whosonline.php?username=$username&amp;password=$password\">$uonline $users Online!</a>"; $sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'"); $yes="no"; $sql = "SELECT * FROM inbox WHERE to_who='$username' and been_read='$yes'"; $result = mysql_query($sql); $inbox = mysql_num_rows($result); if($inbox>0) { echo " <img src=\"images/vib2.gif\" alt=\"x\"/><a href=\"inbox.php?username=$username&amp;password=$password\">$inbox New Inbox(s)</a>"; } if($inbox<1) { echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"inbox.php?username=$username&amp;password=$password\">Inbox Menu</a>"; } echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"longestonline.php?username=$username&amp;password=$password\">Top Users</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"memlist.php?username=$username&amp;password=$password\">Full Members List</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"new.php?username=$username&amp;password=$password\">Newest Members</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"extras.php?username=$username&amp;password=$password\">User Extras</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatbot.php?username=$username&amp;password=$password\">FetishBot</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"/toplist/index.php?username=$username&amp;password=$password\">Toplist Links</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"gallery.php?username=$username&amp;password=$password\">FetishLovers Gallery</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"networksettings.php?username=$username&amp;password=$password\">UK Network Settings</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"phoneinfo.php?username=$username&amp;password=$password\">Your Device Info</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"smilelists.php?username=$username&amp;password=$password\">Smilies</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"adminlist.php?username=$username&amp;password=$password\">Admin List</a>"; if($owner=="1") { echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"ownertools.php?username=$username&amp;password=$password\">Owner Tools</a>"; } if($admin=="1") { echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"admintools.php?username=$username&amp;password=$password\">Admin Tools</a>"; } echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index1.php?username=$username&amp;password=$password\">Hangman</a>"; echo " <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index.php?username=$username&amp;password=$password\">**LogOut**</a>"; echo " DrugsBunny 2007 "; } echo "</card>"; echo "</wml>"; ?>

It just shows welcome.php not found

WhiteWarrior Principal · 1,419 posts #2
<?php header("Content-type: text/vnd.wap.wml"); include("config.inc.php"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); echo "<?xml version=\"1.0\"?>";

echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; $time=date("H:i"); echo "<wml>";

$Connect = mysql_connect("$server","$user","$pass"); mysql_select_db("$dbname"); $result=mysql_query("select * from members where username='$username' and password='$password'"); $number_of_rows = mysql_num_rows($result); if ($number_of_rows>0) { include("check.inc.php"); } if ($ok>0) { include("online.inc.php"); $time=date("H:i");

echo "<card id="card1" title="$username@PowerAngel $time">"; echo " "; ?> External image (may be gone)

<?php $result = mysql_query("SELECT * FROM shoutbox"); $thename = mysql_result($result,0,"name"); $themessage = mysql_result($result,0,"message"); echo "Welcome To: $thename"; $gbvalues=mysql_result($result,0,"message"); include("smilies.inc.php"); echo " Message: $gbvalues"; ?>

External image (may be gone)

<?php $sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'"); $owner=(mysql_result($sqlthing,0,"owner")); $pmname=(mysql_result($sqlthing,0,"pmname")); $buddyname=(mysql_result($sqlthing,0,"buddyname")); $admin=(mysql_result($sqlthing,0,"admin")); $yesno = "no"; $result = mysql_query("SELECT * FROM privatemessage WHERE to_username = '$username' and has_it_been_read='$yesno'"); $number_of_rows = mysql_num_rows($result); $new_pms = $number_of_rows; if(($number_of_rows>0)){ echo "you have $new_pms new $pmname(s)"; echo " <a title=\"Enter\" href=\"pminbox.php?username=$username&amp;limit=0&amp;password=$password\">Read $pmname</a> "; } $result=mysql_query("select * from members"); $mem = mysql_num_rows($result); echo "Members: $mem "; echo "<a href=\"pm.php?username=$username&amp;password=$password\">[$pmname Menu]</a>"; echo " <a href=\"whosonline.php?username=$username&amp;password=$password\">[$uonline $users Users Online]</a>"; echo " <a href=\"forumindex.php?username=$username&amp;password=$password\">[Forums]</a>"; $result = mysql_query("SELECT * FROM chatusers"); $inchat = mysql_num_rows($result); echo " <a href=\"chatindex.php?username=$username&amp;password=$password\">[ChatRoom ($inchat)]</a>"; echo " <a href=\"chatbot.php?username=$username&amp;password=$password\">[DrugsBunny Bot]</a>"; $count1=0; $result=mysql_query("select * from buddylist where username1='$username'"); $number_of_rows = mysql_num_rows($result); $count=0; while ($count<$number_of_rows){ $name=(mysql_result($result,$count,"username2")); $result2=mysql_query("select * from latest where ip='$name'"); $number_of_rows2 = mysql_num_rows($result2); if($number_of_rows2>0){ $count1=$count1+1; } $count=$count+1; } $result5=mysql_query("select * from buddylist where username1='$username'"); $number_of_rows5 = mysql_num_rows($result5); echo " <a title=\"Enter\" href=\"buddylist.php?username=$username&amp;password=$password\">[Buddies $count1]</a>"; $sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'"); $yes="no"; $sql = "SELECT * FROM inbox WHERE to_who='$username' and been_read='$yes'"; $result = mysql_query($sql); $inbox = mysql_num_rows($result); if($inbox>0) { echo " <a href=\"inbox.php?username=$username&amp;password=$password\">[$inbox New Inbox(s)]</a>"; } if($inbox<1) { echo " <a href=\"inbox.php?username=$username&amp;password=$password\">[Inbox Menu]</a>"; } echo " <a href=\"stats.php?username=$username&amp;password=$password\">[Site Stats]</a>"; echo " <a href=\"new.php?username=$username&amp;password=$password\">[Newbies]</a>"; echo " <a href=\"extras.php?username=$username&amp;password=$password\">[Extras]</a>"; echo " <a href=\"adminlist.php?username=$username&amp;password=$password\">[Admin List]</a>"; if($owner=="1") { echo " <a href=\"ownertools.php?username=$username&amp;password=$password\">*Owner Tools*</a>"; } if($admin=="1") { echo " <a href=\"admintools.php?username=$username&amp;password=$password\">*Admin Tools*</a>"; } echo " <a href=\"recommend.php?username=$username&amp;password=$password&amp;email=\"><img src=\"recommend.gif\" alt=\"Recommend This Site««\"/></a>"; echo " <a href=\"log.php?username=$username&amp;password=$password\">[Logout]</a>"; } echo " ".date("D d M y ")."\n"; echo " "; echo "</card>"; echo "</wml>"; ?>

this one dont work with older phones...

subzero Super moderator Fellow · 3,954 posts #3

Well to say thats why i delete and made my own scripts.................

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... _______…

Zombie #4

From what i see the welcome.php file is included in one of the files you have included in this script like config.inc.php etc so kindly check those files.I am sure you will find welcome.php included somewhere in those files External image (may be gone)

matthew26 Developer · 165 posts #5

it is

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

Zombie #6

if it is then u ppl must need welcome.php file to fix this error coz till u DONT have welcome.php and u try to include it in a page u will get error as simple as that External image (may be gone) I hope the problem here is solved

Zombie #8

Err u must post that u have fixed the error so that ppl must not waste time posting on them.MODS I REQUEST YOU TO PLZ CLOSE THIS TOPIC LOL

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