Jump to content

Sniffy

Members
  • Posts

    403
  • Joined

  • Last visited

Everything posted by Sniffy

  1. I don't really know why, but I do know is that div elements inside a <td> with height: 100% align themselves to the top of the cell for some reason.
  2. Sniffy

    Whoa...

    Really?Are they that effective though?
  3. Sniffy

    Upload

    http://domaindlx.com
  4. Sniffy

    forum

    Pre-built forums.http://phpbb.comhttp://vbulletin.comhttp://invisonfree.comInvisionfree has a powerful connection with javascript and there's a lot of pre-made mods for it.The downfall is that you can't access it's main files/directories but you can add code.
  5. Sniffy

    Whoa...

    Yeah, I guess lasers would be invented by that time, and come to mention it, we'd be able to destroy those aliens with ease.
  6. I think that's only for uploading things/accessing things.Go to the URL RahXephon posted.
  7. Sniffy

    File Problem

    Please, show me.
  8. Sniffy

    File Problem

    It still doesn't work, but I got rid of all the errors with this code.It doesn't update it though. I guess filesize() just didn't work for some reason. <?phperror_reporting(E_ALL);?><?phpif(isset($_COOKIE['admin']))$adminCheck = "<font face='Comic Sans MS'>Welcome back,".$_COOKIE['admin'].".<br><a href='updateIndex.php'>Update the FrontPage.</a></font>";else$adminCheck = "<a href='adminLogin.php'>Admin Login</a>";?><html><head><meta http-equiv="Content-Language" content="en-us"><meta name="GENERATOR" content="Microsoft FrontPage 5.0"><meta name="ProgId" content="FrontPage.Editor.Document"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Bobville</title><link rel='stylesheet' type='text/css' href='style.css'></head><body><img src='logo.gif' width='100%' height='40'><br><table cellspacing='0' width='100%'><tr><td width='200'><div class='menu'><a href='index.php'>Home</a><br><a href='games/index.php'>Games</a><br><a href='movies/index.php'>Movies</a><br><a href='tutorials/index.php'>Tutorials</a><br><a href='links.php'>Links</a></td><font size="2"><td width='600'></font><font face="Comic Sans MS"><i><font size="2">Updates</font>:</i></font><br><br><?php$fileName = "/home/www/sniffy.awardspace.com/updates.txt";$fileHandle = fopen($fileName, 'r')or die("Could not open file");$fileContents = fread($fileHandle, filesize($fileName));fclose($fileHandle);echo $fileContents;?></td><td width='200'><div class='menu'><?phpecho $adminCheck;?><br><?php$counterF = "/home/www/sniffy.awardspace.com/counter_homepage.txt";$counterH = fopen($counterF, 'w+')or die("Could not open file");$counterR = intval(fread($counterH, 5));fwrite($counterH, $counterR+1);fclose($counterH);echo $counterR;?><!--<?php$length = filesize($counterF);echo "filename: \"{$counterF}\"<br>";echo "length: ";var_dump($length);?>!--></td></tr></table></body></html>
  9. I haven't seen any forum games around here so I thought I'd make one. In this game you have to give the above poster a code with an error to solve.
  10. Sniffy

    File Problem

    Here's what was added on.filename: "/home/www/sniffy.awardspace.com/counter.txt"length: int(0)It has something to do with my contents being an integer.
  11. I don't really want the web developer toolbar, how do I remove it?I don't really want the web developer toolbar, how do I remove it?I have it.Lag...Wait, nevermind....Fixed it...it's awesome.
  12. Sniffy

    File Problem

    I did, is there any other possible errors?It even says 1 byte for the size.
  13. Do you know how to add a scrollbar to paragraph box if the paragraph's set width is reached?<p width='500' height='30' scrollbar='yes'>?
  14. I believe modding gives you a reason to post more, but still you're right, you would still have a lot of posts.
  15. Sniffy

    Whoa...

    Bombs, our only solution, that's pathetic......we even blow eachother up with bombs.
  16. Does anybody have Opera support for CSS?My site looks really messed in Opera.
  17. Sniffy

    File Problem

    The 'updates' section works not but not the counter. <?phperror_reporting(E_ALL);?><?phpif(isset($_COOKIE['admin']))$adminCheck = "<font face='Comic Sans MS'>Welcome back,".$_COOKIE['admin'].".<br><a href='updateIndex.php'>Update the FrontPage.</a></font>";else$adminCheck = "<a href='adminLogin.php'>Admin Login</a>";?><html><head><meta http-equiv="Content-Language" content="en-us"><meta name="GENERATOR" content="Microsoft FrontPage 5.0"><meta name="ProgId" content="FrontPage.Editor.Document"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Bobville</title><link rel='stylesheet' type='text/css' href='style.css'></head><body><img src='logo.gif' width='100%' height='40'><br><table cellspacing='0' width='100%'><tr><td width='200'><div class='menu'><a href='index.php'>Home</a><br><a href='games/index.php'>Games</a><br><a href='movies/index.php'>Movies</a><br><a href='tutorials/index.php'>Tutorials</a><br><a href='links.php'>Links</a></td><font size="2"><td width='600'></font><font face="Comic Sans MS"><i><font size="2">Updates</font>:</i></font><br><br><?php$fileName = "/home/www/sniffy.awardspace.com/updates.txt";$fileHandle = fopen($fileName, 'r')or die("Could not open file");$fileContents = fread($fileHandle, filesize($fileName));fclose($fileHandle);echo $fileContents;?></td><td width='200'><div class='menu'><?phpecho $adminCheck;?><br><?php$counterF = "/home/www/sniffy.awardspace.com/counter.txt";$counterH = fopen($counterF, 'w+')or die("Could not open file");$counterR = intval(fread($counterH, filesize($counterF)));fwrite($counterH, $counterR+­1);fclose($counterH);echo $counterR;?></td></tr></table></body></html> Warning: fread(): Length parameter must be greater than 0. in /home/www/sniffy.awardspace.com/index.php on line 55Notice: Use of undefined constant 1 - assumed '1' in /home/www/sniffy.awardspace.com/index.php on line 560
  18. Downloading......My first post from Opera!Is there some way for me to get the status bar though?P.S: I like the "tab" feature.
  19. Sniffy

    File Problem

    Warning: filesize(): Stat failed for Resource id #2 (errno=2 - No such file or directory) in /home/www/sniffy.awardspace.com/index.php on line 55Warning: fread(): Length parameter must be greater than 0. in /home/www/sniffy.awardspace.com/index.php on line 55Notice: Use of undefined constant ­1 - assumed '­1' in /home/www/sniffy.awardspace.com/index.php on line 560Notice: Undefined index: PATH_TRANSLATED in /home/www/sniffy.awardspace.com/index.php on line 61$_SERVER['PATH_TRANSLATED']: ""Notice: Undefined index: APPL_PHYSICAL_PATH in /home/www/sniffy.awardspace.com/index.php on line 62$_SERVER['APPL_PHYSICAL_PATH']: ""$_SERVER['REQUEST_URI']: "/"$_SERVER['SCRIPT_FILENAME']: "/home/www/sniffy.awardspace.com/index.php"Notice: Undefined index: ORIG_PATH_TRANSLATED in /home/www/sniffy.awardspace.com/index.php on line 65$_SERVER['ORIG_PATH_TRANSLATED']: "" Would the path be ../home/www/sniffyawardspace.com/counter.txt ?
  20. Sniffy

    File Problem

    0/home/www/sniffy.awardspace.comBut that doesn't work so I'm asuming it's just home/www/.... That doesn't work though.
  21. Sniffy

    File Problem

    Still having problems. <?phperror_reporting(E_ALL);?><?phpif(isset($_COOKIE['admin']))$adminCheck = "<font face='Comic Sans MS'>Welcome back,".$_COOKIE['admin'].".<br><a href='updateIndex.php'>Update the FrontPage.</a></font>";else$adminCheck = "<a href='adminLogin.php'>Admin Login</a>";?><html><head><meta http-equiv="Content-Language" content="en-us"><meta name="GENERATOR" content="Microsoft FrontPage 5.0"><meta name="ProgId" content="FrontPage.Editor.Document"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Bobville</title><link rel='stylesheet' type='text/css' href='style.css'></head><body><img src='logo.gif' width='100%' height='40'><br><table cellspacing='0' width='100%'><tr><td width='200'><div class='menu'><a href='index.php'>Home</a><br><a href='games/index.php'>Games</a><br><a href='movies/index.php'>Movies</a><br><a href='tutorials/index.php'>Tutorials</a><br><a href='links.php'>Links</a></td><font size="2"><td width='600'></font><font face="Comic Sans MS"><i><font size="2">Updates</font>:</i></font><br><br><?php$fileName = "http://sniffy.awardspace.com/updates.txt";$fileHandle = fopen($fileName, 'r')or die("Could not open file");$fileContents = fread($fileHandle, filesize($fileHandle));fclose($fileHandle);echo $fileContents;?></td><td width='200'><div class='menu'><?phpecho $adminCheck;?><br><?php$counterF = "/home/www/sniffy.awardspace.com/counter.txt";$counterH = fopen($counterF, 'w+')or die("Could not open file");$counterR = intval(fread($counterH, filesize($counterH)));fwrite($counterH, $counterR+­1);fclose($counterH);echo $counterR;?><?phpecho __FILE__;?></td></tr></table></body></html> errors Warning: filesize(): Stat failed for Resource id #2 (errno=2 - No such file or directory) in /home/www/sniffy.awardspace.com/index.php on line 55Warning: fread(): Length parameter must be greater than 0. in /home/www/sniffy.awardspace.com/index.php on line 55Notice: Use of undefined constant ­1 - assumed '­1' in /home/www/sniffy.awardspace.com/index.php on line 560/home/www/sniffy.awardspace.com/index.php /home/www/MY DOMAIN is the path I think.I tried adding a '0' in front of it but it didn't work.
  22. Sniffy

    Auto Linebreaks?

    I see, very clever.nl2br() is the way to go for me though...
  23. Yeah, I always get lazy when doing my sites, and end up just repeating the same colors. On top of that, like I said, I have a poor color choice.
  24. Doesn't dreamweaver have code hints and dictionarie's though to help you?Doesn't it display your line and if there's errors?
  25. Sniffy

    File Problem

    Like this? <?phperror_reporting(E_ALL);?><?phpif(isset($_COOKIE['admin']))$adminCheck = "<font face='Comic Sans MS'>Welcome back,".$_COOKIE['admin'].".<br><a href='updateIndex.php'>Update the FrontPage.</a></font>";else$adminCheck = "<a href='adminLogin.php'>Admin Login</a>";?><html><head><meta http-equiv="Content-Language" content="en-us"><meta name="GENERATOR" content="Microsoft FrontPage 5.0"><meta name="ProgId" content="FrontPage.Editor.Document"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Bobville</title><link rel='stylesheet' type='text/css' href='style.css'></head><body><img src='logo.gif' width='100%' height='40'><br><table cellspacing='0' width='100%'><tr><td width='200'><div class='menu'><a href='index.php'>Home</a><br><a href='games/index.php'>Games</a><br><a href='movies/index.php'>Movies</a><br><a href='tutorials/index.php'>Tutorials</a><br><a href='links.php'>Links</a></td><font size="2"><td width='600'></font><font face="Comic Sans MS"><i><font size="2">Updates</font>:</i></font><br><br><?php$fileName = "http://sniffy.awardspace.com/updates.txt";$fileHandle = fopen($fileName, 'r')or die("Could not open file");$fileContents = fread($fileHandle, filesize($fileHandle));fclose($fileHandle);echo $fileContents;?></td><td width='200'><div class='menu'><?phpecho $adminCheck;?><br><?php$counterF = "http://sniffy.awardspace.com/counter.txt";$counterH = fopen($counterF, 'w+')or die("Could not open file");$counterR = intval(fread($counterH, filesize($counterH)));fwrite($counterH, $counterR+­1);fclose($counterH);echo $counterR;?></td></tr></table></body></html> errors Warning: fopen(http://sniffy.awardspace.com/counter.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /home/www/sniffy.awardspace.com/index.php on line 54Could not open file Warning: filesize(): Stat failed for Resource id #1 (errno=2 - No such file or directory) in /home/www/sniffy.awardspace.com/index.php on line 41Warning: fread(): Length parameter must be greater than 0. in /home/www/sniffy.awardspace.com/index.php on line 41
×
×
  • Create New...