I am having a problem with PHP..on my Linux server with godaddy. i added some php code to my page which shows ads (tnx.net code).. on www.criminalappealattorneys.com but i got the error it was not installed properly. So i was told i needed the .htaccess file, so this is what they told me to make and put in the root: AddType application/x-httpd-php .php .htm .html Did that.... Now i get the error you see on the site (tries to download a file), godaddy told me I need a PHP.ini file in the root. BUT WHAT AM I SUPPOSE to put in this file to make this site work?? im so confused.. can you help me out with this php.ini file?
the code u put in .htaccess is not correct use this if u r using php5 AddHandler x-httpd-php5 .php .html and this if u r using php4 AddHandler x-httpd-php4 .php .html I am also using php in html pages at godaddy, add this line and ur problem will be solved
http://www.criminalappealattorneys.com/ tried it and the pages loads - but you can see on the lower left sidebar - the error message im getting..ANYONE!! If this is solved i will give a REP! This is TNX.net code i am adding to the site.
Would need to see the code that does the check to be able to tell you why this error is being generated.
PHP4: <FilesMatch .html> SetHandler application/x-httpd-php4 </FilesMatch> Code (markup): PHP5: <FilesMatch .html> SetHandler application/x-httpd-php5 </FilesMatch> Code (markup):