Wells-it.com - Web Hosting

Converting PHP to HTML

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 47 posts

Joined: Jun 2001

I was wondering, is there any software I can use to convert PHP to HTML? I am trying to make a mirror pages for my site but I would like to use a host that doesn't support PHP. (coz I'm getting the space for next to nothing).
Any ideas?
Thanks
Mizzy

Suzanne's picture

She has: 5,512 posts

Joined: Feb 2000

The generated pages are HTML -- so you would be able to just save the pages in a browser as .html and you would have your conversion.

If you're looking to maintain the function of php, it's not possible in straight html.

Abhishek Reddy's picture
Moderator

He has: 3,303 posts

Joined: Jul 2001

If you have many pages on your site, and you want static HTML, you could do a dual output of your code. Everything that echo's HTML to the browser can be made to write it into a text file on the server as well (not sure if you can write as .html). Then you could do a batch download/upload from/to servers. Wink

mairving's picture
Moderator

They have: 2,256 posts

Joined: Feb 2001

Or you could use a website copier to just copy all the pages.

Next to nothing is too much for a host that doesn't support PHP, IMO.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states