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
https://forums.phpfreaks.com/topic/109524-php-in-html-suddenly-gone-help-please/
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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.