where to write php files with MAMP

Discussion in 'Mac Apps and Mac App Store' started by Eisaa, May 3, 2008.

  1. Eisaa macrumors newbie

    Joined:
    May 1, 2008
    #1
    I don't know where to put .php file to browse it from Safari 3.1.1 browser

    i want to write php file Hello.php and then see it from browser


    and advise ?

    thanx
     
  2. 7031 macrumors 6502

    7031

    Joined:
    Apr 6, 2007
    Location:
    England
    #2
    Erm. Learn PHP, then use either textedit or a program such as Dreamweaver to code it.

    UPDATE:
    Just realized you wanted to know where to put it.

    Put it in the htdocs folder in the MAMP folder.
     
  3. Eisaa thread starter macrumors newbie

    Joined:
    May 1, 2008
    #3
    i know how to write php files

    but my question is : in any directory i suppose to put my php file
     

Share This Page