Jump to content

php in html suddenly gone - help please!


michellephp

Recommended Posts

Hi everyone,

 

Suddenly my website has gone a little bonkers. I think it has something to do with my webhost and their php configuration.

 

Firstly, the index.html page was coming up with this weird pop-up:

File Download - Security Warning

Do you want to save this file , or find a program online to open it?

Name: mybeads_com_au

Type: Unknown File type, 35.4kb

From: Mybeads.com.au

Find Save Cancel

 

 

My webhost fixed that, however all the php elements in all .html pages are not working. Things such as:

<?php include("inc/viewcontents.php"); ?></td><td bgcolor="#F7D6FE" height="35" align="right"><?php include("inc/search.php"); ?>

 

They just don't work in the .html pages such as www.mybeads.com.au/beads.html

But they do work in the .php pages, such as www.mybeads.com.au/catalog.php

(see top menu bar, search and view contents).

 

Not to mention that my shopping cart admin now doesn't work - I log in, but as soon as I try to change anything it tells me my password is incorrect.

 

Please help.

 

Thanks,

Michelle.

 

Link to comment
Share on other sites

Did you see the search box and the other php element? I have a screen shot, www.mybeads.com.au/images/html.JPG see the circled areas?

 

Now look in www.mybeads.com.au/catalog.php - there are things there. Do they show up in beads.html for you? Please let me know,

 

Thanks,

Michelle.

Link to comment
Share on other sites

I think i see what you mean now however the Table system u used on the page that is working is not the same as the beads one.

 

try changing it to .php see if it works then if so then your web host blocks php being in html format files

Link to comment
Share on other sites

Hi,

Thanks for your reply.

Because this would mean a crazy amount of work, and I would prefer them to stay in html for search engines etc. And for existing links to me on other websites (I have many links to my tutorials etc).

 

Is there anything I can do?

 

I thought:

# Use PHP4 as default

AddHandler application/x-httpd-php4 .php

 

Was meant to fix it? But it doesn't. I do appreciate your help.

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.