Jump to content
MakeWebGames

Djkanna

Members
  • Posts

    3,137
  • Joined

  • Last visited

  • Days Won

    35

Everything posted by Djkanna

  1. Jordan leave the fella alone -.- :P Welcome to MakeWebGames Marsh, I hope you enjoy your stay ;)
  2. Yup that was an interesting chat even though I missed it (too busy chatting elsewhere xD ) but yeah allowing them to upload was a suggestion also you may wan't to think about that one *Directed at all*
  3. You could try if(!preg_match("/^.*\.(jpg|jpeg|png|gif)$/i", $r['display_pic'])) { echo "Error in displaying Display Picture."; } [Regex Source]
  4. Djkanna

    hack

    From what I understand yes it does (http://www.php.net/integer)
  5. Djkanna

    hack

    Intval() gets the integer value echo intval('+53'); would output 53 echo intval('-53'); would output -53 echo abs(intval('-53')); would output 53
  6. Welcome back bud =)
  7. Meh all I can say is I'd rather use Magictallguy's version ;) I don't give a damn about speed and neither really should you especially with a Mc Codes game..... Nice work MTG, nice work ImmortalThug.
  8. Great work Floydian ;)
  9. The slider on a escalater goes down as you go up :P vice versa As for that well it was just lame (maybe because I didn't get either way I don't know (I'm tired)) xD
  10. $db->query(); is easier than writing mysql_query() then using the connection ident the using as the prefered method on here die(). With an extreme app you may be better off using a class for querys as it's much easier but for the sake of it use what the chuff you like it's your preference if people don't like it their more than welcome to change it as they please ;) As for safer well that depends on the circumstances but normally I think there is no difference ;)
  11. Well I shouldn't think that the programme you use is a problem but then again depends on the way it's laid out in Notepad. Or the PHP tags on here screw it up I have no clue whatsoever you'll have to see if anyone else has had this problem either using Notepad or a different app ;)
  12. <?php /* Some random connection */ $con = mysql_pconnect (host, user, pass) or trigger_error (mysql_error(), E_USER_ERROR); mysql_select_db (db, $con) or trigger_error (mysql_error(), E_USER_ERROR); /* Some random if else statement */ if ($donkey !== $kingKong) { echo 'We have a serious problem here'; } else { echo 'WTF?!?! A Donkey and King Kong are you mad?!?'; } /* Some random switch */ $_GET['cases'] = isset($_GET['cases']); switch($_GET['cases']) { case 'one' : echo 'one'; break; case 'two' : echo 'two'; break; case 'andsoon' : echo 'I\'m sure you get the picture now'; default : echo 'cases'; break; } /* Form */ if (!isset($_POST['email'])) { ?> <form action="file.php" method="post"> <span>Email:</span><input type="text" name="email" /> <input type="submit" value="submit" /> </form><?php } else { if (!filter_var ($_POST['email'], FILTER_VALIDATE_EMAIL) ) { echo 'Oh nuts I wanted a real one to feed my Google Bots -.-'; } else { echo 'There you go little bottys!'; } echo 'Your Email: '.$_POST['email']; } /* Just testing the PHP tags on MakeWebGames...... */ ?> That's from NotePad ++
  13. Please keep it all on one post unless the limit prevents you from doing so. Nice job ;)
  14. Some code gets replaced which causes it to error for example Preferences change something(cannot remember) str_replace() the contents get's replaced by this editor causing the code to error (adds things/removes things) it does't like ('') or ("")
  15. Yeah if you're not paranoid and have Javascript turned off - then it just becomes like all the others ;)
  16. lmao cracks me up when people say i need these templates converted to mccodes or something like that That would imply that they want it intergrating to work *with* Mc Codes rather than it being it's own 'language'.. :whistling:
  17. An escalater?
  18. I disagree if you're talking about the films
  19. Water
  20. Well fluff you then :cry:
  21. I love Coffee
  22. Nah he's very helpfull - well at least he has been to me anyway.
  23. Maybe because I haven't got MSN installed on this Pc :) **Talk in PM's instead of spamming teh topic xD**
  24. Haha... :thumbsup: Sowwyy 8o
×
×
  • Create New...