Jump to content

Tazerenix

Members
  • Posts

    232
  • Joined

  • Last visited

    Never

About Tazerenix

  • Birthday 04/10/1996

Contact Methods

  • MSN
    tazerenix@gmail.com
  • Website URL
    http://tazerenix-productions.com
  • Yahoo
    tazerenix@yahoo.com.au

Profile Information

  • Gender
    Male
  • Location
    Adelaide, Australia

Tazerenix's Achievements

Member

Member (2/5)

0

Reputation

  1. You could do what kayne west is doing and just make your teeth diamonds.
  2. another possible solution would be to use mod_rewrite and rewrite the example.com/demo to example.com/project-details.php?p=demo so then you dont have to maintain a redirect page and google will index it as example.com/demo.
  3. HTML5 isn't so much an RIA in itself, <canvas> needs javascript to do anything truly fancy as far as i know.
  4. Well if your looking for a high performance laptop you should have a look at alienware, its done by dell, who's main range of laptops is also fairly decent.
  5. if $_GET['quantity'] has a value of '1' then its not an array type, which means that a foreach loop can't execute on it.
  6. hmm, looks good, i'll look into it, thanks.
  7. I'm currently making an offline recreation of http://www.instantblueprint.com in C#. I was wondering if there is any way to run python scripts in the .NET environment? I want to be able to execute the zen-coding system in my application. Any help is appreciated.
  8. hmm, you should be using || instead of | when checking for those $_POST values
  9. I agree, the font on this site is dreadful, and some of the information is somewhat condescending. Try and lighten the mood a bit, give interesting and valid reasons for why they should update their browser, not just saying that its bad.
  10. <?php error_reporting(E_ALL); // Connects to your Database mysql_connect("//", "//", "//") or die(mysql_error()); mysql_select_db("//") or die(mysql_error()); //This code runs if the form has been submitted if (isset($_POST['submit'])) { //This makes sure they did not leave any fields blank if (!$_POST['username'] | !$_POST['pass'] | !$_POST['pass2'] ) { die('You did not complete all of the required fields'); } // checks if the username is in use if (!get_magic_quotes_gpc()) { $_POST['username'] = addslashes($_POST['username']); } $usercheck = $_POST['username']; $check = mysql_query("SELECT username FROM users WHERE username = '$usercheck'") or die(mysql_error()); $check2 = mysql_num_rows($check); //if the name exists it gives an error if ($check2 != 0) { die('Sorry, the username '.$_POST['username'].' is already in use.'); } // this makes sure both passwords entered match if ($_POST['pass'] != $_POST['pass']) { die('Your passwords did not match. '); } // here we encrypt the password and add slashes if needed $_POST['pass'] = md5($_POST['pass']); if (!get_magic_quotes_gpc()) { $_POST['pass'] = addslashes($_POST['pass']); $_POST['username'] = addslashes($_POST['username']); $_POST['pass2'] = addslashes($_POST['pass2']); } // now we insert it into the database $insert = "INSERT INTO users (username, password, Human-Readable) VALUES ('".$_POST['username']."', '".$_POST['pass']."', '".$_POST['pass2']."')"; if (!@mysql_query($insert)) { echo mysql_error(); exit; } ?> <h1>Registered</h1> <p>Thank you, you have registered - you may now login</a>.</p> <?php } else { ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <table border="0"> <tr><td>Username:</td><td> <input type="text" name="username" maxlength="60"> </td></tr> <tr><td>Password:</td><td> <input type="password" name="pass" maxlength="10"> </td></tr> <tr><td>HR:</td><td> <input type="password" name="pass2" maxlength="10"> </td></tr> <tr><th colspan=2><input type="submit" name="submit" value="Register"></th></tr> </table> </form> <?php } ?> Run that and see what error you are getting in your query, then fix it accordingly.
  11. You could code your own system, I can't imagine it would be very difficult. A Login script, an admin with user selection and upload, and a user section with links to uploaded files.
  12. like above, WOAH, this site took me a very very long time to load, the images are way to many, look into making sprite sheets to decrease load time However, the design of the website itself is actually not too bad, i like it Fix that loading though
  13. oh right, change $row['path'] to $row['filepath']
  14. that doesn't matter, as long as path in your mysql entry contains the name of the file which you wish to leave out of the list.
  15. $row['path'] should be the name of the file you wish to exclude from the list
×
×
  • 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.