Jump to content

How do i force html on to a page.


d_barszczak

Recommended Posts

Hi all,

 

I am developing a sandpit area where php developed wannabe's car practice there coding and i would like somhow to force a banner at the bottom of the page with with something like Hosted by scripts2go.co.uk but no idea how to do this. I think i need to do this at apche level but not sure.

 

All help would be much apreciated.

Link to comment
Share on other sites

No it wouldn't. Im not at my machines so I cant read my httpd.conf, but it may be worth just reading through it to see if there is something simular.

 

Be aware though that if you append any file, it wll most likely need to be a frame or something or your going to break other users code.

Link to comment
Share on other sites

You can always set your apache to make html file get rendered by php by altering you httpd.conf to show this line: "AddType application/x-httpd-php .php .phtml .php5 .html"

 

or add that to your .htaccess file, either way it will make html files work with php

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.