Jump to content

Recommended Posts

Posted

You need give .php extension to the file not .html . its with the extension the server can determine whether to execute file before sending or not , there is nothing else possible with this simple code.

 

@Megh Parikh don't worry about this , this happen when you are starting.

 

you are welcome with all kinds of doubt here.

Posted

If your on the server Stevie, you can have the server parse html files as php by adding this code to your root .htaccess file:

 

AddHandler application/x-httpd-php5 .html .htm

 

That way all files that end in .html will show php code. This only works on the Stevie server.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...