![]() |
PHP question
i have a file on my server page2.html and im trying to rename it page2.php but when i rename the file it shows up blank in the web browser. Then I rename it back to page2.html and it shows up fine. what do i need to do? I have php installed.
|
Ganj great design on your new program ......I goive it two bukkakes up :thumbsup :thumbsup
|
You could add
AddType application/x-httpd-php .html AddType application/x-httpd-php .htm AddType application/x-httpd-php .php to your .htaccess (that will parse html files as PHP files) but it sounds to me like you dont have PHP configured properly |
When it shows up blank, view the source. If you can see your php code in there, then you dont have php configured properly.
|
Check your webserver config file.
|
Your webserver doen't parse PHP obviously....:warning
|
| All times are GMT -7. The time now is 06:24 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123