Flipkart

Wednesday, April 14, 2010

Write PHP Code in HTML File

Here is the way to write the PHP logic in HTML File(i.e .html file).

In two ways we can achieve this.

1.change the setting in apache configuration file(i.e httpd.conf)

AddType application/x-httpd-php .php ---> AddType application/x-httpd-php .php .html

2. If you don't have the access to httpd.conf you can write .htacees file as

AddType application/x-httpd-php .php .htm .html

and then restart the apache webserver.

2 comments:

  1. Why do we have to celebrate the thanksgiving day every year? Because it is important to learn to be thankful. Nobody should treat you well as their responsiblity or things they must do, they are kind to you because they are warm-hearted. We should be thankful to anyone who have helped us, who are helping us, or even the opponents who taught us to be more mature. We should learn to be thankful and think about our past and future. Just like the World of Warcraft developers, they are always thankful to all their fans and players. Aboundant world of warcraft gold and rich wow rewards will be available to you.

    ReplyDelete
  2. Hey guys, how you going? I have something wonderful to share with you. A reliable online store is launching promotional activities now. You can buy wow gold with cheap price and fast delivery speed there. WoW power leveling is also available. Is that amazing? Guys,seize the opportunity.

    ReplyDelete