Jump to content

The Sea King

  • Posts

  • Joined

  • Last visited

Everything posted by The Sea King

  1. Wait. That worked after I adjusted my code once again.
  2. No. It just that the image was cut off at the bottom (ib2.png). I tried to play around but now the problem is that the first background image (ib1.jpg) is covering the second background (ib2.png).<html><head><title>Aqua Online Stats</title><style type="text/css">BODY {font-family : Verdana, Tahoma, Arial, sans-serif;font-size : 11px;padding : 0;text-align : center;color : #000000;background-color : #6183A6;background-attachment:fixed;background-image:url(http://thelostwaters.com/ib2.png);background-position:left bottom;background-repeat:no-repeat;}a:link, a:visited, a:active {text-decoration : underline;color : #000000;}a:hover {text-decoration : underline;color : #000000;}.ct {background-color: #87cefa;background-image: url('http://thelostwaters.com/ct.jpg');border-width : 1px;border-style : solid;border-color : #000000;padding : 5px;font-family : verdana;font-size : 7pt;text-align : left;}.cc {background-color : #87ceeb;border-width : 0 1px 1px 1px;border-style : solid;padding : 5px;border-color : black;text-align : left;}.ca {background-color : #87ceeb;border-width : 0 1px 1px 1px;border-style : solid;padding : 5px;border-color : black;font-family : verdana;font-size : 7pt;text-align : left;}.r {text-align : right;margin-right : 70%;padding : 2px;}.code {white-space : normal;font-family : Courier, Courier New, Verdana, Arial;font-size : 11px;padding-top : 2px;padding-right : 2px;padding-bottom : 2px;padding-left : 2px;color : #000000;border : 1px solid #000000;}.as {border-collapse: collapse;}.alexback {background-image: url(http://thelostwaters.com/ib1.jpg);background-repeat: repeat-x;height:100%;}</style></head><body><div class="alexback"><div class="ct">Users Online</div><div class="ca"><table class="as" cellpadding="5"><tr><td><b>IP</b></td><td><b>Page<b></td><td><b>Time</b></td></tr><tr><td></td><td><a href='http://thelostwaters.com/index.php?stats=true'>http://thelostwaters.com/index.php?stats=true</a></td><td>Sunday 25th of October 2009 01:31:08 PM</td></tr><tr><td>MSN Bot (webcrawler)</td><td><a href='http://thelostwaters.com/'>http://thelostwaters.com/</a></td><td>Sunday 25th of October 2009 01:29:06 PM</td></tr></table></div><br /><div class="ct">Overall</div><div class="ca">Total Page Views: 40451<br>Most Online on: Friday 8th of May 2009 09:32:15 PM<br>Users were online at that time: 125<br>Date of installation of Aqua Online: Sunday 3rd of May 2009 (175 days since installation)<br>Average Page Views: 231.15</div>© 2009 <a href="http://aqua.thelostwaters.com" target="_blank">AquaOnline</a> - <a href="http://thelostwaters.com" target="_blank">The Lost Waters</a><br><br></div></body></html>
  3. How can I fix the lower background image so that it would appear full?http://thelostwaters.com/index.php?stats=true
  4. I have a similar problem with sessons and cookies.
  5. Lines 15 to 42:I think I had corrected the problem... if (isset($_COOKIE["username"])){$username = $_COOKIE['Username'];$password = $_COOKIE['Password'];$check = mysql_query("SELECT * FROM Member WHERE Username = '$username'")or die(mysql_error());while($info = mysql_fetch_array( $check )){ if ($password != $info['password']){die('Sorry but your password is wrong. <a href=index.php>try again</a> . setcookie(Username, gone, $past) . setcookie(Password, gone, $past)')}else{echo "<a href=upload.php>Upload</a>";echo "<a href=files.php>Your Files</a>";echo "<a href=logout.php>Logout</a>";echo "<a href=delete.php>Delete Account</a>";}}}else//if the cookie does not exist, they are taken to the login screen{header("Location: index.php");}?>
  6. Maybe show us the code?
  7. The Sea King


    . I forgot to post after one minute of finding that. .
  8. The Sea King


    how many characters does MD5 have?
  9. it keeps saying:Parse error: syntax error, unexpected T_STRING in /register.php on line 20
  10. if (mysql_query("SELECT Username FROM Members WHERE Username = $username" LIMIT 1")){die("$username is taken");}
  11. Maybe use SQL database to store the data?
  12. Thanks! :)Anyways I got three more questions:What does the semicolon do and what the exclamation mark do?And what is the mysql_real_escape_string() thing?
  13. I need help. Is this code ok?
  14. The Sea King


    I meant to get the username from the username form...
  15. The Sea King


    How do we make the value of the cookie change when will press submit? <?php setcookie("username", time()+3600);?><html><body><form action=''>Username: <input type="text" name="user"><br>Password:<input type="password" name"password"><br><input type="submit" value="Log in"></form><?phpif (isset($_COOKIE["username"])) echo "Welcome " . $_COOKIE["username"] . "!<br />";else echo "Welcome guest!<br />";?>
  16. How do I do a code which checks the SQL database for my table GP (* note it means General Password) and then takes us to another page like "register.php"?
  17. I got the code that lists the files: <?phpif ($handle = opendir('.')) {echo "<ul>";while (false !== ($file = readdir($handle))) {echo "<li><a href='$file'>$file</a> - </li>";}echo "</ul>";closedir($handle);}?> But I also want it to say it's size. I found this: filesize() but I don't know where to put it. Help?
  18. Thank you! I must learn more about php. .
  19. I know Veoh accepts mov files.
  20. I found this code on an php archive. I was wondering on how to remove the grouping of 10. <?phpif ($handle = opendir('.')) {$count = 0;while (false !== ($file = readdir($handle))) {echo $count == 0 ? "<ol>" : "";echo "<li><a href='$file'>$file</a></li>";$count++;if($count == 10){echo "</ol>";$count = 0;}}echo $count != 10 ? "</ol>" : "";closedir($handle);} ?>
  21. I want to do a I accept button which is clicked text below will show up.here what I have so far: <input id="downloadaccept_check" name="downloadaccept" nx="type:checkbox;targetId:downloads;prop:checked;targetProp:display;values:true,false;targetValues:block,none" type="checkbox" value="test"><label for="downloadaccept_check">Yes, I accept.</label></div><div id="downloads" nx="type:node;defaultStatus:display=none;restore:display"><div id="downloads" nx="type:node;defaultStatus:display=none;restore:display">Test</div> also what does the "nx" mean/do?
  22. Question: does youtube upload this mov file?
  • Create New...