Jump to content

only one

Members
  • Posts

    437
  • Joined

  • Last visited

    Never

About only one

  • Birthday 03/19/1992

Contact Methods

  • Website URL
    http://chrishemmens.net/

Profile Information

  • Gender
    Male
  • Location
    Netherlands

only one's Achievements

Member

Member (2/5)

0

Reputation

  1. The design is very simple, it's easy to use. A few things though. 1. It doesn't validate. http://validator.w3.org/ 2. Tables aren't made for layouts. Divs are. 3. The picture in the top left with all the people in it could do with some more exposure or some more contrast. It looks a bit too dull. Apart from that I really like it.
  2. It's probobally nothing to do with your code, but your email software is blocking the link incase it's spam.
  3. 1. Doesn't validate. http://validator.w3.org/ 2. Tables are not meant for layouts. Tables are used for holding information. Divs are made for layout. http://www.hotdesign.com/seybold/everything.html
  4. <? $vProc = "../Process/"; $dir_handle = @opendir($vProc) or die("Error opening $path"); while ($file = readdir($dir_handle)) { if($file != "." || $file != ".." || $file != "index.php" ) { echo "<a href=\"view.php?file=$file\">$file</a><br>"; } } // Close closedir($dir_handle); ?>
  5. You might need to put quotations around your variable in that if statement. if ($_POST['a'] != "$secreta") { die("Your answer did not match. Please <a href='http://localhost/validation/renew.php?id=$ida'>try again! </a> "); }
  6. Well you could. if(isset($_COOKIE["1"]) || isset($_COOKIE["2"]) || isset($_COOKIE["3"]) || isset($_COOKIE["4"]) || isset($_COOKIE["5"]) ) { if($_COOKIE["1"] = 1) { include("1.html"); } } else { include("1.html"); } But then it would be much easier to loop trhough them. foreach( $_COOKIE as $cookie ) { if( empty($cookie) ) { $empty = true; } } if( empty($empty) ) { include("1.html"); }
  7. I think that could be because your port 25 is not forwarded. But I could be wrong.
  8. $POST["1"] should be $_POST["1"] setcookie("1", $_POST["1"], $expire);
  9. It doesn't work right in opera, all the divs are under eachother, when in IE it looks the way it's supposed to.
  10. mysql_query("INSERT INTO `results` (`user`, `movie`, `input`, `prediction`, `error`) VALUES('" . $_POST['email'] ."' , '" . $Movies[$m]['title'] . "','" . $Movies[$m]["rating"] . "','" . $result . "','" . $err . "' )") or die(mysql_error());
  11. What browser are you using if the drop down menu looks "bloated"?
  12. It's showing that error because the file doesn't exist. If it does exist and is being deleted. You could simply place an @ sign infront of the function to stop it showing any errors.
  13. preg_match('/^[a-zA-Z0-9_- ]+$/i', $docName)
×
×
  • 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.