Jump to content

Is there a way to convert PHP to HTML??


DancingBunnyUSA

Recommended Posts

PHP is basically HTML. It means that PHP code written as html is processed by a server before downloading, so the source code that I can see now is all HTML (plus javascript which you can see inside script tags).

 

So if I save the source code as a page.html I have a html file.

 

It would matter if the PHP was being used to process a form to email or a database or do something dynamic, but if not, you can save as a html file from the online version (not the code you may have been given on a cd).

 

Note: the contact page has got a form processed with PHP but the form itself is HTML so if you get the php file sendit.php and don't touch it, you should be OK. (Check if it sends to email or to a dtabase).

Edited by Wickham
Link to comment
Share on other sites

There is no need to save them as HTML - if the original designer used any PHP features (includes for example - (we would not be able to see that online)), then saving the files as HTML will stop the PHP from working.

 

And what do you mean you can't save it as Html - why? what happens (or doesn't happen)?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...