Current time: 09-29-2024, 12:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
html extension with php
Author Message
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #2
RE: html extension with php
I found the file to add that lines but still don't work.
Anyone knows how can I do to use php code inside a html file?
I can do it adding this to a htaccess file
Code:
<FilesMatch "\.(htm|html|php)$">
SetHandler application/x-httpd-php
</FilesMatch>
php works but I get Fatal error: Call to undefined function: mysql_connect()
And if the file has php extension I don't get that error.
03-04-2009 03:58 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
html extension with php - coper - 03-04-2009, 02:50 AM
RE: html extension with php - coper - 03-04-2009 03:58 AM
RE: html extension with php - la1o - 03-04-2009, 12:22 PM
RE: html extension with php - coper - 03-04-2009, 10:06 PM
RE: html extension with php - la1o - 03-05-2009, 02:13 AM
RE: html extension with php - coper - 03-05-2009, 03:05 AM
RE: html extension with php - la1o - 03-05-2009, 04:42 AM
RE: html extension with php - coper - 03-07-2009, 05:58 PM
RE: html extension with php - kilburn - 03-10-2009, 02:31 AM
RE: html extension with php - coper - 03-13-2009, 04:03 PM

Forum Jump:


User(s) browsing this thread: 7 Guest(s)