Posts: 2,890
Threads: 59
Joined: Jun 2010
Check in Settings -> System that the 'Comments URL' is correct.
Have
you completed
the interview?
Posts: 8
Threads: 1
Joined: Aug 2011
Thank you Steven!! so much everything is working so far!
Posts: 8
Threads: 1
Joined: Aug 2011
One more quick question about the php code in a html file
i've include the
AddType application/x-httpd-php .html
code into my .htaccess file
not quit sure how to do this part:
Next, all you need to do is put this piece of PHP code you want to include into a PHP file (open your favorite text editor and write your code, then save it as .php file.)
Next, include your PHP code at any place you want to appear it in your HTML file by calling it like this;
Code:
<?php require("pathtofile/myphpfile.php"); ?>
* when I add just the AddType application/x-httpd-php .html to .htaccess and load to the website page another application pops up saying it's a HyperText Markup Language and that I need to find an application to open it
Posts: 2,890
Threads: 59
Joined: Jun 2010
Hi,
You shouldn't need to put the PHP code in another file and include it. Just add the PHP code inside your HTML file.
It could be that your server is running PHP as CGI, instead of as an apache module. Try this instead:
Code:
AddHandler application/x-httpd-php .html .htm
Have
you completed
the interview?
Posts: 2,890
Threads: 59
Joined: Jun 2010
Also try these (not at same time):
AddType x-httpd-php .html .htm
AddHandler x-httpd-php .html .htm
Have
you completed
the interview?