jblack Posted February 7, 2007 Share Posted February 7, 2007 I want to use php in .eae file extensions, but I can't figure this out. I was told to use an htaccess AddHandler command and this is what I did, but it doesn't work:AddHandler cgi-script .eaeAnd yes, I do have htaccess on my server. Is htaccess the way to go, or is there a different way to do this? Link to comment Share on other sites More sharing options...
Lulzim Posted February 7, 2007 Share Posted February 7, 2007 add this line to .htaccess file AddType application/x-httpd-php .php .eae Link to comment Share on other sites More sharing options...
jblack Posted February 8, 2007 Author Share Posted February 8, 2007 Now it just makes it download the file...how do I fix this? Link to comment Share on other sites More sharing options...
MrAdam Posted February 8, 2007 Share Posted February 8, 2007 Hmmm, works on my server. Do you have PHP installed ? Link to comment Share on other sites More sharing options...
boen_robot Posted February 8, 2007 Share Posted February 8, 2007 Try AddHandler application/x-httpd-php .php .eae Link to comment Share on other sites More sharing options...
jblack Posted February 9, 2007 Author Share Posted February 9, 2007 Alright, it only downloads in IE for me. In Fire Fox I get: Fatal error: Call to undefined function: mysql_connect() in /home/www/etherea.obliviousrealms.com/includes/db.php on line 7Which I shouldn't get, because I've never had any problem with it in a .html file or a .php file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now