![]() | | ||||||||
| | #1 |
| Warrior Member Join Date: Jul 2006 Location: , , Malaysia.
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
|
I intend to join a site (backlinks.com) to sell some of my webpage for texlink but it need my site which is in HTML to have the PHP enable . The following is the answer given to me on how to accomplish it. The problem is I don't have a clue on how to carry out the process.e.g what and where is my root directory; where and how to I insert the codes, etc. For your information I'm no programmer, I just use the wyswyg Frontpage to create my site. The following is the message received:- "To accomplish this, create a file named ".htaccess" in your root directory and add the following to it (or append it to the bottom of the file, if it already exists): AddType application/x-httpd-php .html(Note: if you use ".htm" files, replace the ".html" above with ".htm") After completing this step, our PHP code should function on your site. " I hope someone can tell me the step by step procedure. Thanks in advance |
|
Cheat-proof English grammar test worksheet that uses a password to mark saving the hassle of supervision and manual marking. Collect your free sample at http://www.autotick.com | |
| | |
| | #2 |
| Warrior Member Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 2 Times in 2 Posts
|
-create a file named ".htaccess" in your root directory : Your root directory is the main folder of your site, in other words its the folder that holds your sites information. It holds all the contents of your site, like your index aka Home, & other pages of your site, whatever they may be. Tip: Its usually named after your site. The directions are telling you to add a new file inside that directory folder and name it ".htacess" add the following to it ..AddType application/x-httpd-php .html : In the new file you just created you will be adding this code (Note: if you use ".html" files, replace the ".html" above with ".htm") After completing this step, our PHP code should function on your site. " If you save your files and at the end of them it saves as .html, then you must change the end of that code to .htm instead of .html simple If this has helped you, please dont hesitate to click the thanks button. Hope this simplifies your problem |
| | |
| | #3 |
| Freelance Warrior Join Date: Jul 2009 Location: USA
Posts: 235
Thanks: 1
Thanked 10 Times in 10 Posts
|
That's a good explanation/breakdown by WFChris1. Did that help?
|
| | |
| | |
| | #4 |
| Senior Warrior Member War Room Member Join Date: Apr 2006 Location: Tucson, AZ, USA.
Posts: 1,025
Thanks: 120
Thanked 158 Times in 115 Posts
|
Two revisions to what WFChris1 posted:
I hope this helps. Steve |
| Executive I.T. consulting for small/medium business Website development | PHP - MySQL - JavaScript expert programming Software requirements analysis | Specification writing Project management | Vendor relationship management | |
| | |
| | #5 |
| Warrior Member Join Date: May 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
Thanks for the explanation. Was util for me too!!
|
|
Sofi Hedz Grupo Mayan Friends | |
| | |
| | #6 |
| Warrior Member Join Date: Jul 2006 Location: , , Malaysia.
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
|
Thanks for all your help. I've a few questions related to this issue and hope someone could enlighten me. 1. If my hoisting server is in Win2003, could I accomplish the task of inserting the PHP scrpit? If yes, is the procedure the same? 2. If my website is PHP enable, will my website original structure affected? i.e Will my website run the same as before just like when it's in HTML? 4. I was told by others that once a Frontpage's website is PHP enable, you'll encounter the problems of publishing it if you edit or add a new page into it. It's true? Thanks in advance once again. |
|
Cheat-proof English grammar test worksheet that uses a password to mark saving the hassle of supervision and manual marking. Collect your free sample at http://www.autotick.com | |
| | |
![]() |
|
| Tags |
| enable, frontpage, php, script, website |
| Thread Tools | |
| |
![]() |