Php Coding

Discussion in 'Gaming' started by Drongon, Jun 19, 2006.

  1. Drongon

    Drongon Well-Known Member

    Posts:
    912
    Likes Received:
    0
    Joined:
    Apr 9, 2006
    Yes i know SwaT is doing it.. but some one else doing it? they can add me on msn so i can get a little help some times :)
     
  2. iCeCrOwN

    iCeCrOwN Well-Known Member

    Age:
    32
    Posts:
    1,339
    Likes Received:
    0
    Joined:
    Jul 7, 2005
    Location:
    Holland
    Ya, I could use some help too. For example, when I preview a layout I've downloaded my Firefox stays blank. Is it me, or is something wrong with my php download or something?
     
  3. Drongon

    Drongon Well-Known Member

    Posts:
    912
    Likes Received:
    0
    Joined:
    Apr 9, 2006
    i have made a email, ip blocking, upload and website scripts :)
     
  4. DDL

    DDL Well-Known Member

    Posts:
    696
    Likes Received:
    0
    Joined:
    Mar 17, 2006
    Location:
    U.S.A.
    I taught myself by trial-and-error. I couldn't find anyone that was experienced enough to help me, and when I did it was like "SHUT UP YOU N00B!!"

    But you can always ask me for help, and I'll help you as well as I can. :)
     
  5. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    32
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    MSN: [email protected]

    AIM: johnderpunk

    Merged Post:


    and DDL, there are plenty of tutorials online to get you rolling on the basics, then you hit the books... if you ever wanted to properly learn php/mySQL.

    Merged Post:


    ip blocking... gasp....


    Code:
    // Set users ip
    $ip = $_SERVER[ 'REMOTE_ADDR' ];
    $s = mysql_query( "SELECT * FROM members WHERE 'ip' = '".$ip."'" );
    if( mysql_num_rows( $s ) > '0' ) {
    echo 'Guess what ----head, you have been banned';
    exit;
    }
    else {
    // content of entire index.php page
    }
    // end.
    

    that was really hard...
     
  6. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    Funny thing is, I actually learned something there.
     
  7. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    32
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    hehe, lol ;)
     
  8. DDL

    DDL Well-Known Member

    Posts:
    696
    Likes Received:
    0
    Joined:
    Mar 17, 2006
    Location:
    U.S.A.
    Heh, I have a book called "Advanced PHP Programming", but I'm so busy, I haven't really had the time to look at it. ;)
     
  9. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    32
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    I have Sam's PHP and MySQL V.5 pdf...
     
  10. ale_jrb

    ale_jrb Senior Member

    Age:
    32
    Posts:
    306
    Likes Received:
    0
    Joined:
    Jul 23, 2005
    Location:
    London, UK
    Yeah... PHP needs to be run from a server. If you happen to have Apache installed on your computer with PHP, then I'm not sure what the problem is... lol.

    If not, you have to upload it to a PHP enabled web server for it to do anything.

    :)
     
  11. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    32
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    Preview a layout. What are you talking about?
     
  12. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
  13. Hixxy

    Hixxy Senior Member

    Age:
    35
    Posts:
    431
    Likes Received:
    0
    Joined:
    Nov 12, 2004
    iv coded many things ranging from basic 1 page with lots ov stats stored form mysql to a really decent cms system with admin levels.

    but it dosnt interest me that much anymore :P
     
  14. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    32
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    For Php 5/ mySQL 5 and Apache 2.2.2 go download wamp 5.0

    I personally like easyphp (easyphp.org) more, but it only has php 4 (upgradeable but annoying.)

    If you dont want any of this bs on your computer, go to host.sk. they got ftp, php/mysql.
     
  15. Rufio

    Rufio Well-Known Member

    Posts:
    5,220
    Likes Received:
    0
    Joined:
    Aug 7, 2005
    don't mean to hijack your thread but -- if anyone is sweet at PHP and can help me write a login script: PM me, I will pay creds
     

Share This Page