Jump to content

ronnie88

Members
  • Posts

    153
  • Joined

  • Last visited

    Never

Everything posted by ronnie88

  1. nvm I got it mysql row had to be set as integer
  2. Hello I am having a problem I have this code below that outputs all the data in the users table, but when I use DESC in rankid column it doesn't get the "full number" just the first number of that number. Here is what I am talking about http://crytell.com/roster.php that 35 should be at the top but I'm thinking its only going by first number how do I get it to go by all the number... thanks <html> <head><title>Clan Roster</title></head> <body> <?php include 'db.php'; $result = mysql_query( "SELECT * FROM users ORDER by rankid DESC" ) or die("SELECT Error: ".mysql_error()); $num_rows = mysql_num_rows($result); print "There are $num_rows members in VerX<P>"; print "<table width=650 border=1>\n"; while ($get_info = mysql_fetch_row($result)){ print "<tr>\n"; foreach ($get_info as $field) print "\t<td><font face=arial size=1/>$field</font></td>\n"; print "</tr>\n"; } print "</table>\n"; ?> </body> </html> <p style=" position: absolute; bottom: 0; left: 0; width: 100%; text-align: right;"><a href="http://www.Crytell.com">Roster Script Made By Vital</a></p>
  3. <h1>Edit User</h1> <form action="admin.php" method="get"> Forum ID: <input type="text" name="id" /> <input type="submit" /> </form> <br><br><br> <h1>Add User</h1> <form action="add.php" method="post"> <input type="text" name="userid" size="20" /> Forum ID<br /> <input type="text" name="firstname" size="20" /> Member Name<br /> <select name="lastname"> <option value="Recruit.jpg">Recruit</option> <option value="Private.jpg">Private</option> <option value="Private-First-Class.jpg">Private 1st Class</option> <option value="Lance-Corporal.jpg">Lance Corporal</option> <option value="Corporal.jpg">Corporal</option> <option value="Sergeant.jpg">Sergeant</option> <option value="Staff-Sergeant.jpg">Staff Sergeant</option> <option value="Sergeant-First-Class.jpg">Sergeant 1st Class</option> <option value="Master-Sergeant.jpg">Master Sergeant</option> <option value="Sergeant-First-Class.jpg">1st Sergeant</option> <option value="Sergeant-Major.jpg">Sergeant Major</option> <option value="Command-Master-Sergeant.jpg">Command Sergeant Major</option> <option value="Warrant-Officer-1.jpg">Warrant Officer 1</option> <option value="Warrant-Officer-2.jpg">Warrant Officer 2</option> <option value="Warrant-Officer-3.jpg">Warrant Officer 3</option> <option value="Chief-Warrant-Officer.jpg">Chief Warrant Officer</option> <option value="Second-Lieutenant.jpg">2nd Lieutenant</option> <option value="Lieutenant.jpg">Lieutenant</option> <option value="Captain.jpg">Captain</option> <option value="Major.jpg">Major</option> <option value="Lieutenant-Colonel.jpg">Lieutenant Colonel</option> <option value="Colonel.jpg">Colonel</option> <option value="Brig-General.jpg">Brigadier General</option> <option value="Major-General.jpg">Major General</option> <option value="Lieutenant-General.jpg">Lieutenant General</option> <option value="General.jpg">General</option> <option value="General-of-The-Army.jpg">General Of The Army</option> <option value="Administrative-Advisor.jpg">Admin Advisor</option> <option value="Attorney-General.jpg">Attorney General</option> <option value="Chief-Recuiting-Officer.jpg">Chief Recruiting Officer</option> <option value="Secretary-of-Defense.jpg">Secretary Of Defense</option> <option value="Chief-Advisor.jpg">Chief Advisor</option> <option value="Chief-of-Staff.jpg">Chief Of Staff</option> <option value="Vice-President.jpg">Vice President</option> <option value="President.jpg">President</option> </select> <br /> <input type="text" name="xfire" size="20" /> Xfire<br /> <input type="submit" value="Store in database" /><input type="reset" value="Reset fields" /> </form> <br><br><br><br> <img src="how-to.JPG"/> <?php include 'db.php'; $userid = $_POST['userid']; $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $username = $_POST['xfire']; $url = '<a href="http://www.versionxgaming.com/forum/memberlist.php?mode=viewprofile&u='; $end = '">Forum Profile</a>'; $sql = mysql_query("INSERT INTO `users` (`userid`, `members`, `rank`, `xfire`) VALUES ('$userid', '$firstname', '$lastname', '$username')") or die(mysql_error()); mysql_query($query) or die("Query failed: " . mysql_error()); ?> I keep getting for some odd reason query was empty but it works just puts one to many in it doubles it
  4. Nevermind I got it used this instead <?php //include db connect include 'db.php'; $userid = $_POST['userid']; $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $username = $_POST['username']; $url = '<img src="http://www.versionxgaming.com/forum/images/ranks/'; $end = '"/>'; // Update data $update = mysql_query("UPDATE `users` SET members = '$firstname', rank = '$url$lastname$end', xfire = '$username' WHERE userid = '$userid'") or die ('Error Updating Data! <br />' .mysql_error()); echo "Update successfull $firstname has been updated"; ?> thanks though
  5. <?php //include db connect include 'db.php'; $url = '<img src="http://www.versionxgaming.com/forum/images/ranks/$lastname"/>'; $userid = $_POST['userid']; $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $username = $_POST['username']; // Update data $update = mysql_query("UPDATE `users` SET members = '$firstname', rank = '$url', xfire = '$username' WHERE userid = '$userid'") or die ('Error Updating Data! <br />' .mysql_error()); echo "Update successful $firstname has been updated"; ?> Okay here it goes the url variable works fine but doesn't post the $lastname variable how do I make it post last name variable...
  6. Hey what is the best control panel out there for Apache 2.2? if there is any.. I'm looking for like a Helm, cpanel kind of thing...
  7. Having a problem with background colour.... http://www.pawnagecentral.com if you look at index.html then go to gaming servers background is not the same colour i want it the same colour at the games.html...... here is the coding for the index.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>~Pawnage Central Servers~</title> <link rel="stylesheet" href="style.css" /> <script type="text/javascript"> <!-- function ctRoster(usrName) { document.getElementById('rosterUser').innerHTML = usrName; } function ctRosterClean() { document.getElementById('rosterUser').innerHTML = "Hover over the icons"; } // --> </script> </head> <body> <!-- /** * Copyright (c) 2008 ClanTemplates.com * Digitalism; a free template by George at ClanTemplates.com * No part of this file may be redistributed without written permission * Designed by George <George@Pinkvolt.com> * Coded by HarZens <ventas@harzens.com.ar> * http://www.clantemplates.com/pages/Legal */ --> <div id="wrap"> <div id="menu"> <ol> <li><a href="./index.html">Home</a></li> <li><a href="./games.html">Gaming Servers & Webhosting</a></li> <li><a href="/billing/submitticket.php">Tech Support</a></li> <li><a href="/billing/">Billing</a></li> <li><a href="ventrilo://70.190.141.149:3784/servername=PawnageCentralServers">Ventrilo</a></li> <li><a href="/live/livezilla.php">Live Help!</a></li> <div style="text-align:right"><!-- http://www.LiveZilla.net Chat Button Link Code --><a href="http://www.pawnagecentral.com/live/livezilla.php" target="_blank"><img src="http://www.pawnagecentral.com/live/image.php?id=05" width="128" height="42" border="0" alt="LiveZilla Live Help"></a><a href="http://www.livezilla.net"></a><div style="margin-top:2px;"><a href="http://www.livezilla.net" target="_blank" title="http://www.livezilla.net" style="font-size:10px;color:#bfbfbf;text-decoration:none;font-family:verdana,arial,tahoma;">LiveZilla Live Support</a></div><!-- http://www.LiveZilla.net Chat Button Link Code --> </div> <!-- copyright 2003 - 2008 by Eric Gerdes --> </ol> <div class="cLeft"></div> </div> <div id="header"><img src="./images/header.jpg" alt="asd" /></div> <div id="content"> <div id="leftColumn"> <div class="box"> <div class="boxHeader"> <h2>Latest News</h2> </div> <div class="boxContent"> <ol> <li><a href="./news.html">MORE!</a>PawnageCentral Servers Open </li> </ol> </div> </div> <div class="box"> <div class="boxHeader"> <h2>Games</h2> </div> <div class="boxContent"> <div class="rosterLeft"> <div><a href="#" onmouseover="ctRoster('Battlefield 1942');" onmouseout="ctRosterClean();"><img src="./images/small/bf1942.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Battlefield 2');" onmouseout="ctRosterClean();"><img src="./images/small/bf2.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Battlefield 2142');" onmouseout="ctRosterClean();"><img src="./images/small/bf2142.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Call Of Duty');" onmouseout="ctRosterClean();"><img src="./images/cod.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('AND MANY OTHERS!');" onmouseout="ctRosterClean();"><img src="./images/small/_default.png" alt="ClanTemplates.com" /></a></div> </div> <div class="rosterRight"> <div><a href="#" onmouseover="ctRoster('Call Of Duty 4');" onmouseout="ctRosterClean();"><img src="./images/cod4.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Call Of Duty UO');" onmouseout="ctRosterClean();"><img src="./images/small/uo.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Call of Duty World At War');" onmouseout="ctRosterClean();"><img src="./images/small/codww.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Crysis');" onmouseout="ctRosterClean();"><img src="./images/crysis.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('AND MANY OTHERS!');" onmouseout="ctRosterClean();"><img src="./images/small/_default.png" alt="ClanTemplates.com" /></a></div> </div> <div id="rosterUser" class="rosterUser">Hover over the icons</div> </div> </div> <div class="box"> <div class="boxHeader"> <h2>DataCenters</h2> </div> <div class="boxContent"> <center><b>Dallas, Texas: <font color="green">Available</font><br> Chicago, IL: <font color="red">Coming Soon!</font><br> Seattle, WA: <font color="red">Coming Soon!</font><br> Los Angeles, CA: <font color="red">Coming Soon!</font><br> Washington, DC: <font color="red">Coming Soon!</font><br> London, UK: <font color="red">Coming Soon!</font></center></b> <br><br><img src="./images/map.png"/> </div> </div> </div> <div id="rightColumn"> <div class="box"> <div class="boxHeader"> <h2>Logins</h2> </div> <div class="boxVital"> <ol> <li><b>Billing & Support Login:</b><br><br><form method="post" action="http://www.PawnageCentral.com/billing/dologin.php?goto=clientarea"> Email Address: <input type="text" name="username" size="20"><br> Password: <input type="password" name="password" size="20"><br> <input type="submit" value="Login"><input type="reset" value="Reset"> </form></li><br> <li><b>TCAdmin CP Login:</b><form method="POST" action="http://panel.ezserverz.com/Templates/Default/login.aspx"> <table border="0" id="table1"> <tr><td>User:</td><td><input type="text" name="USERID" size="15"></td></tr> <tr><td>Password:</td> <td><input type="password" name="PASSWORD" size="15"></td></tr> </table> <input type="submit" value="Login" name="B1"><input type="reset" value="Reset"> </form></li> </ol> </div> </div> <div class="box"> <div class="boxHeader"> <h2>Affiliates</h2> </div> <div class="boxContent"> <div class="fLeft"> <div><a href="#"><img src="./images/ctR.jpg" alt="ClanTemplates.com" /></a></div> </div> <div class="cBoth"></div> </div> </div> </div> <div id="middleColumn"> <div class="news"> <div class="cBoxHeader"><h2>New CT Release</h2></div> <div class="cBoxBg"> <div class="cBoxText"> <div class="cBoxTextInfo"><body background="./images/cboxBg.jpg"> <ol> <li><span class="what">Posted By:</span> <span class="bold">Ronald</span></li> <li><span class="what">On:</span> 14 August 2009</li> <li><span class="what">At</span> 12:03 Pacific</li> </ol> </div> <h2>Welcome</h2> <p>Thank you for visiting PawnageCentral.com! We have the lowest gaming servers guarnteed, if find anything lower, let us know and we will price match it. We will verify with the host. We have some of the games we host currently on the left or all of them on top menu bar. We have a LiveHelp. Also we do have a vent and answer any questions just click <a href="ventrilo://70.190.141.149:3784/servername=PawnageCentralServers"/>Here</a> to connect.</p><br><br> <center><h1>What our gaming servers include</h1> <font color="blue">* FTP Access<br> * Complete Server Control<br> * 24/7 Customer Support<br> * Fast Download Redirect<br> * TCAdmin Control Panel<br> * Set up takes about an hour, until automation server is up.<br> * Fast speed & LOW Pings!<br> * Free Webhosting with ANY gaming server purchase. </center></font> <br><center> <h2><u>Test Servers</u></h2> <b>COD:WAW</b><br> <u>174.37.35.54:28960</u> <br> <b>COD4</b><br> <u>174.37.35.54:28960</u> <br> <b>Call of Duty: United Offensive</b><br> <u>174.37.48.224:28960</u> <br> <b>Battlefield 1942</b><br> <u>174.37.33.58:14567</u> <br> <b>CounterStrike : Source</b><br> <u>174.37.35.49:27015</u> <br> <b>Garry's Mod 10</b><br> <u>174.37.35.48:27015</u> <br> <b>Crysis Wars</b><br> <u>174.37.33.58:64087</u> <br> <b>Day Of Defeat Source</b><br> <u>174.37.35.50:27015</u> <br> <b>Swat 4</b><br> <u>174.37.33.58:10480</u></center> <br><br> <br><br><p><center><a href="http://www.gspreport.com/reviews/PawnageCentralServers"/><img src="http://www.gspreport.com/images/ads/gsprbutton175x175.png"/></a><br><br><a href="https://www.paypal.com/us/verified/pal=radrj84@yahoo.com"/><img src="http://www.PawnageCentral.com/images/images.jpg"/></a></center></p> <div class="cBoxLink"><a href="news.html">+READ MORE</a></div> </div> </div> </div> </div> </div> <div class="cBoth"></div> </div> <div id="footer"> <div id="footerCopyA">Copyrights © 2008<br /><a href="http://www.PawnageCentral.com/">PawnageCentral.com</a></div> <div id="footerCopyB">Template re-design & Coding by <a href="http://www.PawnageCentral.com">Ronald Miller</a> of <a href="http://www.PawnageCentral.com/">PawnageCentral.com</a><br /></div> <div id="footerCopyC"><a href="http://www.harzens.com.ar"><img src="./images/harzens.jpg" alt="HarZens.com.ar" /></a><a href="http://www.pinkvolt.com"><img src="./images/pinkvolt.jpg" alt="PinkVolt.com" /></a></div> </div> </body> </html> and heres the code for games.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>~Pawnage Central Servers~ Games</title> <link rel="stylesheet" href="style.css" /> <script type="text/javascript"> <!-- function ctRoster(usrName) { document.getElementById('rosterUser').innerHTML = usrName; } function ctRosterClean() { document.getElementById('rosterUser').innerHTML = "Hover over the icons"; } // --> </script> </head> <body> <!-- /** * Copyright (c) 2008 ClanTemplates.com * Digitalism; a free template by George at ClanTemplates.com * No part of this file may be redistributed without written permission * Designed by George <George@Pinkvolt.com> * Coded by HarZens <ventas@harzens.com.ar> * http://www.clantemplates.com/pages/Legal */ --> <div id="wrap"> <div id="menu"> <ol> <li><a href="./index.html">Home</a></li> <li><a href="./games.html">Gaming Servers & Webhosting</a></li> <li><a href="/billing/submitticket.php">Tech Support</a></li> <li><a href="/billing/">Billing</a></li> <li><a href="ventrilo://70.190.141.149:3784/servername=PawnageCentralServers">Ventrilo</a></li> <li><a href="/live/livezilla.php">Live Help!</a></li> <div style="text-align:right"><!-- http://www.LiveZilla.net Chat Button Link Code --><a href="http://www.pawnagecentral.com/live/livezilla.php" target="_blank"><img src="http://www.pawnagecentral.com/live/image.php?id=05" width="128" height="42" border="0" alt="LiveZilla Live Help"></a><a href="http://www.livezilla.net"></a><div style="margin-top:2px;"><a href="http://www.livezilla.net" target="_blank" title="http://www.livezilla.net" style="font-size:10px;color:#bfbfbf;text-decoration:none;font-family:verdana,arial,tahoma;">LiveZilla Live Support</a></div><!-- http://www.LiveZilla.net Chat Button Link Code --> </div> <!-- copyright 2003 - 2008 by Eric Gerdes --> </ol> <div class="cLeft"></div> </div> <div id="header"><img src="./images/header.jpg" alt="asd" /></div> <div id="content"> <div id="leftColumn"> <div class="box"> <div class="boxHeader"> <h2>Latest News</h2> </div> <div class="boxContent"> <ol> <li><a href="./news.html">MORE!</a>PawnageCentral Servers Open </li> </ol> </div> </div> <div class="box"> <div class="boxHeader"> <h2>Games</h2> </div> <div class="boxContent"> <div class="rosterLeft"> <div><a href="#" onmouseover="ctRoster('Battlefield 1942');" onmouseout="ctRosterClean();"><img src="./images/small/bf1942.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Battlefield 2');" onmouseout="ctRosterClean();"><img src="./images/small/bf2.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Battlefield 2142');" onmouseout="ctRosterClean();"><img src="./images/small/bf2142.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Call Of Duty');" onmouseout="ctRosterClean();"><img src="./images/cod.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('AND MANY OTHERS!');" onmouseout="ctRosterClean();"><img src="./images/small/_default.png" alt="ClanTemplates.com" /></a></div> </div> <div class="rosterRight"> <div><a href="#" onmouseover="ctRoster('Call Of Duty 4');" onmouseout="ctRosterClean();"><img src="./images/cod4.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Call Of Duty UO');" onmouseout="ctRosterClean();"><img src="./images/small/uo.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Call of Duty World At War');" onmouseout="ctRosterClean();"><img src="./images/small/codww.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('Crysis');" onmouseout="ctRosterClean();"><img src="./images/crysis.png" alt="ClanTemplates.com" /></a></div> <div><a href="#" onmouseover="ctRoster('AND MANY OTHERS!');" onmouseout="ctRosterClean();"><img src="./images/small/_default.png" alt="ClanTemplates.com" /></a></div> </div> <div id="rosterUser" class="rosterUser">Hover over the icons</div> </div> </div> <div class="box"> <div class="boxHeader"> <h2>DataCenters</h2> </div> <div class="boxContent"> <center><b>Dallas, Texas: <font color="green">Available</font><br> Chicago, IL: <font color="red">Coming Soon!</font><br> Seattle, WA: <font color="red">Coming Soon!</font><br> Los Angeles, CA: <font color="red">Coming Soon!</font><br> Washington, DC: <font color="red">Coming Soon!</font><br> London, UK: <font color="red">Coming Soon!</font></center></b> <br><br><img src="./images/map.png"/> </div> </div> </div> <div id="rightColumn"> <div class="box"> <div class="boxHeader"> <h2>Logins</h2> </div> <div class="boxVital"> <ol> <li><b>Billing & Support Login:</b><br><br><form method="post" action="http://www.PawnageCentral.com/billing/dologin.php?goto=clientarea"> Email Address: <input type="text" name="username" size="20"><br> Password: <input type="password" name="password" size="20"><br> <input type="submit" value="Login"><input type="reset" value="Reset"> </form></li><br> <li><b>TCAdmin CP Login:</b><form method="POST" action="http://panel.ezserverz.com/Templates/Default/login.aspx"> <table border="0" id="table1"> <tr><td>User:</td><td><input type="text" name="USERID" size="15"></td></tr> <tr><td>Password:</td> <td><input type="password" name="PASSWORD" size="15"></td></tr> </table> <input type="submit" value="Login" name="B1"><input type="reset" value="Reset"> </form></li> </ol> </div> </div> <div class="box"> <div class="boxHeader"> <h2>Affiliates</h2> </div> <div class="boxContent"> <div class="fLeft"> <div><a href="#"><img src="./images/ctR.jpg" alt="ClanTemplates.com" /></a></div> </div> <div class="cBoth"></div> </div> </div> </div> <div id="middleColumn"> <div class="news"> <div class="cBoxHeader"><h2>Games We Host**</h2></div> <div class="cBoxBg"> <div class="cBoxText"> <div class="cBoxTextInfo"> <h1>Games We Host</h1><br><center> <img src="./images/gameicons/bf1942.jpg"/><img src="./images/gameicons/bf2.jpg"/><img src="./images/gameicons/bf2142.jpg"/><img src="./images/gameicons/callofduty2.jpg"/> <br>Battlefield 1942 Battlefield 2 Battlefield 2142 COD2 <br><a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=160"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=164"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=176"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=154"/>10 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=181"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=165"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=177"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=155"/>12 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=182"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=166"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=178"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=156"/>16 Slot</a><br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=184"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=167"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=179"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=158"/>24 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=185"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=168"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=180"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=159"/>32 Slot</a> <br> <img src="./images/gameicons/callofduty4.jpg"/><img src="./images/gameicons/callofdutywaw.jpg"/><img src="./images/gameicons/coduo.jpg"/><img src="./images/gameicons/counterstrike16.jpg"/> <br> COD4 COD:WAW COD:UO CounterStrike <br><a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=170"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=186"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=191"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=264"/>10 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=171"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=187"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=192"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=265"/>12 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=172"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=188"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=194"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=266"/>16 Slot</a><br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=174"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=189"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=193"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=267"/>24 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=175"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=190"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=197"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=268"/>32 Slot</a> <br><img src="./images/gameicons/counterstrikesource.jpg"/><img src="./images/gameicons/crysis.jpg"/><img src="./images/gameicons/crysiswars.jpg"/><img src="./images/gameicons/dayofdefeatsource.jpg"/> <br> C.S.:Source Crysis Crysis Wars Day of Defeat <br><a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=198"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=203"/>10 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=199"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=204"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=269"/>12 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=200"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=205"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=208"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=270"/>16 Slot</a><br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=201"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=206"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=210"/>24 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=272"/>24 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=202"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=207"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=211"/>32 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=273"/>32 Slot</a> <br><br><img src="./images/gameicons/garrysmod.jpg"/><img src="./images/gameicons/SWAT4.jpg"/> <br> Garry's Mod 10 Swat 4 <br><a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=259"/>10 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=274"/>10 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=260"/>12 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=275"/>12 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=261"/>16 Slot</a> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=276"/>16 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=262"/>24 Slot</a> <br> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=263"/>32 Slot</a> <br><br> </center> <h1>Webhosting</h1><center> <a href="http://www.PawnageCentral.com/billing/cart.php?a=add&pid=282"/><img src="./images/5dolla.png"/></a></center> <br><br><br> ** Note: We can get you as many slots as you need or as few slots that you need as long as game allows. Just submit a ticket here. <a href="http://www.pawnagecentral.com/billing/submitticket.php"/> here</a> or talk to live help! <br><br>** Note: We also can get you private servers also, either message Live Help or submit a ticket for more info. <a href="http://www.pawnagecentral.com/billing/submitticket.php"/>Submit a ticket</a> </div> </div> </div> </div> </div> <div class="cBoth"></div> </div> <div id="footer"> <div id="footerCopyA">Copyrights © 2008<br /><a href="http://www.PawnageCentral.com/">PawnageCentral.com</a></div> <div id="footerCopyB">Template re-design & Coding by <a href="http://www.PawnageCentral.com">Ronald Miller</a> of <a href="http://www.PawnageCentral.com/">PawnageCentral.com</a><br /></div> <div id="footerCopyC"><a href="http://www.harzens.com.ar"><img src="./images/harzens.jpg" alt="HarZens.com.ar" /></a><a href="http://www.pinkvolt.com"><img src="./images/pinkvolt.jpg" alt="PinkVolt.com" /></a></div> </div> </body> </html> yea i know the spaces look junky... and here is my style sheet /** * Copyright (c) 2008 ClanTemplates.com * Digitalism; a free template by George at ClanTemplates.com * No part of this file may be redistributed without written permission * Designed by George <George@Pinkvolt.com> * Coded by HarZens <ventas@harzens.com.ar> * http://www.clantemplates.com/pages/Legal */ * { margin: 0; padding: 0; border: 0; } body { background-color: #140802; font-family: Verdana; font-size: 11px; color: #140802; } ul, ol { list-style: none; } ul li { padding:1px 0px; } a { color: #3E6F32; } a:hover { text-decoration:none; } p { padding:5px 0px; } h2 { font-size: 18px; } #wrap { width: 911px; padding: 4px 6px 0px; background-color: #FFF; margin: 0 auto; } #menu { padding-left: 16px; line-height: 48px; background-image: url('./images/menuBg.jpg'); background-position: center top; background-repeat: no-repeat; height: 48px; } #menu ol li { float: left; } #menu ol li a { text-decoration: none; font-weight: bold; display: block; line-height: 48px; padding: 0 20px; color: #FFF; } #menu ol li a:hover { background-image: url('./images/menuBgRO.jpg'); background-position: center top; background-repeat: repeat-x; } #header { margin-bottom: 8px; } #footer { width: 911px; padding-left: 6px; padding-right: 6px; background-color: #FFF; margin: 0 auto; height: 83px; background-image: url('./images/footerBg.jpg'); background-position: center bottom; background-repeat: no-repeat; color:#FFF; } #footer a { color: #FFF; font-weight: bold; } #footer a:hover { text-decoration: none; } #footerCopyA, #footerCopyB { float: left; } #footerCopyC { float: right; } #footerCopyA { padding-top: 33px; padding-left: 55px; } #footerCopyB { padding-top: 33px; padding-left: 50px; } #footerCopyC { padding-top: 31px; padding-right: 15px; } #leftColumn, #rightColumn { width: 189px; } #leftColumn { float: left; } #rightColumn { float: right; } #middleColumn { width: 527px; margin: 0 auto; padding-bottom: 1px; } .boxHeader { width: 189px; height: 41px; background-image: url('./images/boxBgHeader.jpg'); background-position: center top; background-repeat: no-repeat; } .boxHeader h2 { margin: 0; padding: 0; padding-left: 20px; padding-top: 17px; font-weight: bold; font-size: 11px; color: #FFF; } .boxContent { width: 185px; padding: 1px 0px; margin-bottom: 6px; } .boxVital { width: 185px; padding: 5px 0px; margin-bottom: 5px; background-color:#CCCCCC } .boxContent ol li { letter-spacing: -0.3px; padding: 3px 1px; } .boxContent ol li a { float: right; color: #3E6F32; font-weight: bold; } .forumPosts .text { font-size: 9px; padding: 1px 0px; letter-spacing: -0.3px; } .forumPosts .textInfo { font-size: 9px; color: #6C0505; padding: 1px 0px; letter-spacing: -0.3px; } .forumPosts .text a { color:#000; text-decoration: none; } .forumPosts .text a:hover { text-decoration: underline; } .forumPosts a.user { color: #C01313; font-weight: bold; } .forumPosts a.date { color: #6C0505; font-weight: bold; } .boxContent .fLeft div, .boxContent .fRight div { margin-top: 8px; } .boxContent .rosterLeft { padding-left: 5px; float: left; margin-bottom: 8px; } .boxContent .rosterRight { padding-right: 5px; float: right; margin-bottom: 8px; } .boxContent .rosterLeft div, .boxContent .rosterRight div { margin-top: 6px; } .boxContent .rosterUser { background-color: #F3F3F3; clear: both; padding: 3px 5px; text-align: center; } .boxContent .sponsor { padding: 3px 0px; } .news { background-image: url('./images/cboxBg.jpg'); background-position: center top; background-repeat: repeat-y; } .cBoxHeader { width: 527px; height: 45px; background-image: url('./images/cboxBgHeader.jpg'); background-position: center top; background-repeat: no-repeat; } .cBoxHeader h2 { margin: 0; padding: 0; padding-left: 44px; padding-top: 14px; font-weight: bold; font-size: 11px; color: #FFF; } .cBoxBg { width: 521px; padding-top: 2px; padding-bottom: 10px; padding: 2px 3px 10px; background-image: url('./images/cboxFooter.jpg'); background-position: center bottom; background-repeat: no-repeat; margin-bottom: 5px; } .cBoxBg .cBoxText .cBoxLink { margin-top: 12px; } .cBoxBg .cBoxText .cBoxLink a { color: #B40F0F; font-weight: bold; } .cBoxBg .cBoxText { padding:8px 15px; } .cBoxBg .cBoxText .cBoxTextInfo { color: #9B4D26; margin-bottom: 8px; } .cBoxBg .cBoxText .cBoxTextInfo .what { color: #140802; font-weight:bold; } .teamAColor { color: #6C0505; font-size: 9px; } .teamBColor { color: #191054; font-size: 9px; } .vsColor { font-size: 8px; color: #1A1A1A; font-weight: bold; } .red , .boxContent .red { color: #AF0F0F; letter-spacing: -0.5px; } .green , .boxContent .green { color: #3E6F32; letter-spacing: -0.5px; } .bold { font-weight:bold; } .underline { text-decoration: underline; } .fLeft { float: left; } .fRight { float: right; } .cRight { clear: right; } .cLeft { clear: left; } .cBoth { clear: both; } so what i am trying to do is make that maroon colour one the index.html
  8. Hey how do I start more then one server in Apache 2.2 with diff ports of course?
  9. hmm still a problem: I installed it right from the zip file.... PHP Warning: PHP Startup: curl: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gd: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gettext: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: mbstring: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: mssql: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: mysql: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'D:\Program Files\PHP\ext\php_mysqli.dll' - The specified procedure could not be found. in Unknown on line 0 PHP Warning: PHP Startup: openssl: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: xmlrpc: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: zip: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: exif: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for '-7.0/DST' instead in D:\Inetpub\wwwroot\phpinfo.php on line 2
  10. I did take the lib.dll file and mss.dll file and place it in my system32 file.... I made sure all those exts were in the folder to which they were...
  11. Okay I got PHP Working but now I am having a new problem... http://70.190.141.149/new.php All those error messages...
  12. thanks for the quick reply.... after I did the little installer first deleted my old PHP files.. and ran the installer on link you gave me and nothing happens.... just says page cannot be found... http://70.190.141.149 /phpinfo.php thanks
  13. Hey I'm getting a headache trying to figure this out.... I've followed all the directions here: http://visualwin.com/PHP here is what I got: http://70.190.141.149/phpinfo.php I get a CGI Timeout on a basic phpinfo.... What could be the problem?
  14. Script redirects fine but I do not get the email any help? <?php header( 'Location: XXXX' ) ; /////////// Getting the form values///////// $username = $_POST['username']; $email_address = $_POST['email']; $ip_address = $_POST['ip_address']; $iptype = $_POST['iptype']; $userlocation = $_POST['userlocation']; $extrainformation = $_POST['extrainformation']; /////////// Checking for Email Injection///////// if ( ereg( "[\r\n]", $username ) || ereg( "[\r\n]", $email_address ) ) { header('Location: XXXX' ); } /////////// Making the Email Message///////// $email_from = $username; $email_subject = "Password Reset Request"; $email_body = "You have received a new message. Here are the details: Name = " . $username . ", Postal Address = " . $email_address . ", IP Address = " . $ip_address . ",IP Type = " . $iptype . ", User Location = " . $userlocation . ", Extra Information = " . $extrainformation; /////////// Sending the Email using the mail() function///////// $to = "it@supclan.com"; $headers = "From: $email_from"; mail($to,$email_subject,$email_body,$headers); echo "Your message was sent successfully"; ?>
  15. Okay another Q I'am getting this error now... after I login... Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/r/o/n/ronnie1988/html/online/MAFIA/db_connect.php on line 11 Unable to connect to MySQL server. My DB connect page Looks like this...: <?php //Makes DB Connection $connection = mysql_connect("onlinegame99.db.4599506.hostedresource.com","XXXX","XXXX"); // select database $db = mysql_select_db("CCCX", $connection); //Closes Connection mysql_close($connection); ?> I made sure the mysql.sock is available and it is according to PHPInfo... and right destination file too..
  16. lol, I shoulda seen that thanks Vine
  17. I'm having a prob with this login script I made... When I try to login I just get the error wrong username/password combination or account not yet activated but I know activation = 1 in the db... and that the name and password has been registered.. I also tried echoing the results and the username and pass get through This is what checks the login info and DB.. <? session_start(); header("Cache-control: private"); include 'includes/db_connect.php'; if (!$_SESSION['username'] || !$_SESSION['email']){ $username = $_POST['username']; $password = $_POST['password']; $username = strip_tags($username); $password = strip_tags($password); $ip = $REMOTE_ADDR; $domain = $_SERVER['REMOTE_ADDR']; $username=strtolower($username); if((!$username) || (!$password)){ echo "You have not submitted one or more fields <br />"; }else{ ///check INFO $sql = mysql_query("SELECT * FROM users WHERE username='$username' AND password='$password' AND activated='1' LIMIT 1"); $login_check = mysql_num_rows($sql); ///other if ($login_check > '1'){ ini_set(session.cookie_lifetime, "3600"); session_register('username'); $_SESSION['username'] = $username; session_register('email_address'); $_SESSION['email_address'] = $email_address; $timestamp = time(); $timeout = $timestamp-$timeoutseconds; $cool = gmdate('Y-m-d h:i:s'); mysql_query("UPDATE users SET lastlogin='$cool' WHERE username='$username'"); mysql_query("UPDATE users SET online='$timestamp' WHERE username='$username'"); mysql_query("UPDATE users SET ip='$domain' WHERE username='$username'"); ?> <meta http-equiv="Refresh" content=0;url=mb.php> <? } else { echo "wrong username/password combination or account not yet activated<br /> <br />"; include 'login.php'; }}} ?> This is my login page... <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head onload="window.status='Welcome To GDG Mafia'"> <META name="GDG Mafia" content="An Online Text Based Mafia Game."> <META keywords="mafia, Mafia, games, text game, base mafia, good games, internet game, free games, fun, powermad, php games"> <title>GDG Mafia </title> <link href="global.css" type="text/css" rel="stylesheet"> <style type="text/css" media="screen"><!-- #layer1 { visibility: visible; position: absolute; top: 100px; left: 100px; width: 158px; height: 102px } #layer2 { visibility: visible; position: absolute; top: 465px; left: 100px; width: 69px; height: 21px } --></style> </head> <body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" onload="document.login.username.focus()"> <form id="login" action="logincheck.php" method="post" name="login"> <center> <tf> <center><img border="0" src="logo.jpg" ></center> <tr> <tr> <font size="1"><b><font face="Verdana">Site Best Viewed And Played With FireFox www.mozilla.com <br><br>Hello & Welcome To GDG Mafia Online Multiplayer Game. <br> This is not another mafia game but a mafia game with a twist, <br> as you play you will realize this game to be very different to others out there. <br> New features will be added regularly so that you can enjoy this gaming experience online. <br> <br> </font></b></font> </center> </td> </tr> <tr> <td height="30" width="196"> <div align="center"><font size="1" face="Verdana"><b>Username:</b></font></div> </td> <div align="center"><font size="1" <td width="200"> <input type="text" style="background-color:#000000; font: 10pt verdana; color:#ffffff; border: 1px solid #900dbf;" name="username" size="24"> </td> </tr> <tr> <div align="center"><font size="1" <td height="30"> <div align="center"><font size="1" face="Verdana"><b>Password:</b></font></div> </td> <td> <input type="password" style="background-color:#000000; font: 10pt verdana; color:#ffffff; border: 1px solid #900dbf;" name="password" size="24"> </td> </tr> <tr> <td colspan="2" valign="top" height="36"> <center> <input type="submit" name="Submit" value="Submit"> </center> </td> </tr> <tr><td colspan=2><center> <center> <font size=0.5 face=verdana><b>||<a href="register.php"> Register</a> || <a href="lost.php">Lost</a> ||</b></font> </center></center></td></tr> </table> </center> </form> </body> </html> thanks in advance..
  18. okay so you just want a list or new subscriptions? just make a new table and insert into it and echo it out on a page... then after your done with all the names clear the db...
  19. <?php $userEmail = $_POST['the_email']; $subject = $_POST['the_subject']; $message = "Name: ".$_POST['the_name']; $message .= "\n".$_POST['the_message']; mail ("venus200013@yahoo.com", $subject, $message); ?> when us use your variable $to it is coming out with two emails because you are using the variable $userEmail so it'll come out like this the way your doing it customeremail@yahoo.comvenus200013@yahoo.com so try the code above.
  20. try not using this: if($_POST['form'] == "userid"){ and see what happens.
  21. <select name="states[]" size="10" multiple="yes"> <option value="Alabama" name="state1">Alabama</option> <option value="Alaska" name="state2">Alaska</option> <option value="Arizona" name="state3">Arizona</option> <option value="Arkansas" name="state4">Arkansas</option> <option value="California" name="state5">California</option> </select>[code]
  22. it still gives me the error: function send_mail($from, $to, $subject, $body_mail, $headers) { require_once 'smtp.php'; $query = "SELECT * FROM support_config WHERE ID = '1'"; $req = mysql_query($query) or die("<B>Error ".mysql_errno()." :</B> ".mysql_error().""); $row = mysql_fetch_array($req); $to = stripslashes($to); $smail = $row['smail']; $host = $row['smtp_host']; $port = $row['smtp_port']; $user = $row['smtp_user']; $pass = $row['smtp_pass']; $auth = $row['smtp_auth']; $subject = stripslashes($subject); $body_mail = stripslashes($body_mail); if ($smail==1){ mail($to, $subject, $body_mail, $headers); } else { $headers = $headers."To: $to\r\nSubject: ".$subject."\r\n"; if (! ($smtp = new Net_SMTP($host,$port))) { die("Unable to instantiate Net_SMTP object\r\n"); } if (PEAR::isError($e = $smtp->connect())) { die($e->getMessage() . "\r\n"); } if ($auth==1){ if (PEAR::isError($ea = $smtp->auth($user, $pass ))) { die($ea->getMessage() . "\r\n"); } } if (PEAR::isError($smtp->mailFrom($from))) { die("Unable to set sender to <$from>\r\n"); } if (PEAR::isError($res = $smtp->rcptTo($to))) { die("Unable to add recipient <$to>: " . $res->getMessage() . "\r\n"); } if (PEAR::isError($smtp->data($headers . "\r\n" . $body_mail))) { die("Unable to send data\r\n"); } $smtp->disconnect(); } } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.