Converting PHP to HTML

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,507 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

He has: 3,348 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

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.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.