Jump to content
MakeWebGames

CrazyT

Members
  • Posts

    708
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by CrazyT

  1. The login & register looks damn good! Keep up the good work.
  2. Your right, it does return a string on post/get/cookie, unless they have been changed by editing the view source, or the uri. Example.. <input type="text" name="user" /> Can be changed to something like <input type="text" name="user[]" /> Thats why is_string is used or (string)
  3. As for using is_string() & ctype_alnum here you only really need to use one, ctype_alnum only if you want to use A-Za-z for validation and is_string only checks to see if its a string, but using both to gether is point less here as ctype_alnum will already check to see if its a string. Quotes from the manual are below. php.net/ctype_alnum php.net/is_string
  4. What if they were on a offshore server, basicly you wouldn't do anything...   He sure does have a licence, isn't his fault if the mccode creators let it get out of hang letting raven.info selling pirated mccode.
  5. Well, you could make a forum (sub-forum) for only valid mc code users that have brought mc code legit?
  6. Yeah, in your header file you will have a menu function and a smenu function or something simular, just copy your menu function to smenu function and that should sort your layout problem.
  7. Basicly you don't really need to convert it to V2, V2 just uses a database class, basicly same mysql tables as V1. Little tutorial on converting it to V2.. mysql_query('sql here') to $db->query('sql here'); mysql_fetch_array/mysql_fetch_assoc() to $db->fetch_row($var); mysql_result('sql here', [int], [int]) to $db->fetch_single('sql here'); mysql_num_rows() to $db->num_rows($var); Basicly thats all.?
  8. I found a bug with your quote function. http://cddesigns.org/forum/forum.php?action=reply&id=50#bottom Sorry about all thoses quotes. lol
  9. Well let me tell you this for a fact... Better than most people on this forum and by the way, "oh great Mcc coder" LOL! Serious that made me laugh, i was giving advice to the person and like i said to many people, and people know, i don't work with mccode, although its just php/mysql/html nothing more nothing less, so let me give you some advice... RTFM? ok....
  10. BTW, is_string() isn't needed here.
  11. Why use so much code, when you can just edit the time?
  12. Yes it is your fault, your the one who copyed and pasted! xD Copy Paste = Evil
  13. I took this and saved it into my collection. :D
  14. CrazyT

    PHP code help

    Watch out how you use that while loop, say if you have 200 members on the while loop you will be running 200 queries. :)
  15. Instead of adding (/) into the database, you could use. $currentPage = basename($_SERVER['PHP_SELF']); Although before you insert it into the database, make sure you have escapted it. Although its nice. There is no need to use die here, you can change die() to $this->endpage();, if your using it in header. For header useage use $this->endpage() or not header useage use $h->endpage(); Also i see you adding them, into the database as 1 row per page, you could change that and use pages for 1 row.. implode()/explode() or instead of using a database for this, use a text file, and serialize.
  16. BTW echo isn't a function. :)
  17. Well noone can help you because you haven't posted the code...
  18. LOL. crazyt.co.uk
  19. CrazyT

    crazyt.co.uk

    http://www.crazyt.co.uk http://crazyt.co.uk/Login.php crazyt.co.uk/Login.php http:// www. crazyt.co.uk com Login.php Click me Sign Up xD I has copy.
  20. CrazyT

    crazyt.co.uk

    fu two lolz
  21. CrazyT

    crazyt.co.uk

    Yeah fu, lols - mine is crazyt.co.uk http://crazyt.co.uk http://www.crazyt.co.uk http://www.crazyt.co.uk
  22. CrazyT

    crazyt.co.uk

    lol :P - I'm just saying, so guess not spam :D
  23. CrazyT

    crazyt.co.uk

    Pfft this is no spam, am i not allowed to post my site, everyone else does :o
  24. CrazyT

    crazyt.co.uk

    crazyt.co.uk is my site remember   crazyt.co.uk
  25. Geez whats wrong with you people, hes new (n00b) and just started, WE ALL WAS LIKE IT AT ONE POIN'T when creating stupid things like this (not saying this is stupid) - Yeah i take piss out of n00bs, why? Because im allowed :D my name is crazyt.co.uk lol
×
×
  • Create New...