Php Learning Help

Discussion in 'Gaming' started by Blade7, Jul 9, 2006.

  1. Blade7

    Blade7 Well-Known Member

    Posts:
    197
    Likes Received:
    0
    Joined:
    Nov 28, 2005
    okay guys... I've dl'ed a lot of php editors. I'm not sure what the problem is, but when I run the scipt (like
    (from phpbuddy)


    I open Firefox to display the script. Nothing shows.... I know I have php installed
    [​IMG]

    I really want to learn Php !! please help me....
    or at least tell me some other way to display php codes.

    THANK YO!U!!!
     
  2. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    do this

    Install http://www.apachefriends.org/en/xampp.html

    put your PHP files in under program file/campp/htdocs

    then you can view that folder like it was a server by going to "localhost" in your browser.

    and your PHP code is fine
     
  3. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    34
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    that, or download wamp (included with php5, mySQL5, apache 2.2.) or easyphp (included with php4, mysql4, and apache1 (but easier in my opinion)).
     
  4. Blade7

    Blade7 Well-Known Member

    Posts:
    197
    Likes Received:
    0
    Joined:
    Nov 28, 2005
    Guys....
    it's not working......
    Please keep trying with me!! There just HAS to be a solution...

    [​IMG]

    I see no error with the installation.
     
  5. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    as I said before, type in "localhost" in your browser url spot

    Edit: Oh, your using easyPHP. Using "localhost" may not work then...
     
  6. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    34
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    did you start the server? you need to do that. You cannot load the file directly like through windows explorer. You have to load it through the broswer through a URL (in this case, localhost, or 127.0.0.1, which is your local ip.) That way the PHP core executes the code, you're just accessing it and its displaying it like html.
     
  7. Blade7

    Blade7 Well-Known Member

    Posts:
    197
    Likes Received:
    0
    Joined:
    Nov 28, 2005
    Omg... THank YOU SO MUCH GUYS!!!! >< THANK YOU THANK YOU THANK YOU!!! NOW I CAN START PHP'ING !!! ...... YOU GUYS ROCK, Words can't express how happy I am now.
    I never expected that I could also do mysql stuff.... Thank YOU!!!!!!!!!!!!!!.... ;(


    :)
     
  8. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    Always glad to help.

    If you need any PHP help, you can always catch me on aim :P
     

Share This Page