clothes store     


What is Shared Web Hosting e..

I have registered an shared ..

I want to spend $5/month, $6..

How many websites are there ..

What's shared hosti..

How to setup Private DNS in ..

Why do people want a regular..

How does e-mail work on a sh..

What criteria/benchmark woul..

How does Microsoft Exchange ..

Reliable, cheape dedicated h..

Will using a shared host web..

PHP session problems on shar..

Are they shared vpn hosts an..

What are some reliable yet i..

Hosting Services for Video S..

Can u suggest a good web hos..

Using SSL certificates on sh..

What is the best picture hos..

Does shared IP address has a..

Free File Hosting & Shar..

What is the best image hosti..

Can anybody direct me to a d..

Any free web hosting and fil..

I want to host multiple doma..

I want to build a server, Fi..

How can I make money off my ..

I'm Looking for a s..

Can iget some information ab..

Does upload speed effect any..

In my LAN, my host computer ..

Shared IP vs. Static IP for ..

Where can i find .net 2.0 an..

Blogging & Websites- reg..

If i buy a hosting plan on g..

What would be the best solut..

Hosting foreign exchange stu..

Would you like more informat..

Does anyone know any free we..
 
Can I put PHP into my index.html page in a shared hosting environment ..    [Imwebhost]

I'm hoping there's a file I can stick into my file system that will tell the shared hosting that in my directory .html documents can run PHP scripts. Right now I have to rename them index.php and that's going to really be a problem on my site. Does anyone know a way to change that setting?

Can I put PHP into my index.html page in a shared hosting environment on GoDaddy?

yah you can try doing it in a .htacess file , you would prob have to put it in every folder that you want this to work

add this to an existing .htacess file or make up a text file, name it .htaccess, add the following:

DirectoryIndex index.html

AddType application/x-httpd-php3 .php

you may need this too...........

<Files *.html>

options execcgi

SetHandler cgi-script

</Files>

hope this helps

Can I put PHP into my index.html page in a shared hosting environment on GoDaddy?

you will have to update your .HTACCESS document or make one that is appropriate http://www.javascriptkit.com/howto/htacc...

Can I put PHP into my index.html page in a shared hosting environment on GoDaddy?

Howzit

PHP only runs in file.php only. If you want to use PHP coding the extension should be (file.php). Alternatively you can use JavaScript. I am not a big fan of JavaScript... it's pretty much dead technology. If like me you are not, then the only choice you have is to rename the files to have a .php extension

[apologies to the JavaScript fans... i just can't hold my tongue. Have to tell it like it is]

Good luck

Can I put PHP into my index.html page in a shared hosting environment on GoDaddy?

Assuming your server supports it, you can use a server side include to call a php script. An example where we've done this may be seen at projectenlightenment.wcpss.net/index.htm... It dynamcially renders Upcoming Events in the .html page.

If you don't want to rename your pages and only have a few pages requiring dynamic content, this approach may work for you. Otherwise, you will most likely need to go the .htaccess route.


[Imwebhost]


How can I see what other sites are on my shared hosting serv..
How do I make a shared hosting service on a Windows machine?
Help needed with CRONTAB on linux shared hosting. How do I a..
Can I install SquirrelMail in my shared hosting?
Do i go for Dedicated Server or Shared hosting?
Can one tell me free shared hosting packages?
Can your shared hosting survive from slashdotted?
ASP Scripts on GoDaddy shared hosting?
SSL shared hosting companies?
Shared hosting company doesn&#039;t allow cron?



Comment
Name: Name:  Password:   Register?
Comment:
Face