Jump to content

kveldalf

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral

Profile Information

  • Gender
    Male
  • Location
    Forethistle
  1. Hmm. This might help. Make a new file in TextWrangler or Komodo, or whatever, and add the folllowing code: AddType application/x-httpd-php .html .htm AddHandler application/x-httpd-php .html .htm You're going to save the file as .htaccess (with the dot in the front; this is the file name). Save it in /Applications/MAMP/htdocs. It will be an invisible file; you will not see it in Finder, tho you can if you cd to it w/ terminal, or searching w/in Finder and choosing the visibility type under Kind. Now try going to http://localhost:8888/ and you should see all of the available files there. And with this newly created .htaccess file, you can now embed php inside an html file too.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.