PHP Files > HTML
Thread poster: Sidra

Sidra
Brazil
Local time: 03:17
English to Portuguese
+ ...
Oct 21, 2008

Hello Everyone!
I am trying to convert php files to html. Any idea how I can do that?
Thanks in advance for suggestions.
Best regards,
Jadeicon_smile.gif


 

Samuel Murray  Identity Verified
Netherlands
Local time: 08:17
Member (2006)
English to Afrikaans
+ ...
One solution Oct 21, 2008

Layla Aldworth wrote:
I am trying to convert php files to html. Any idea how I can do that?


One solution is to upload file to a PHP-capable web server and then view it in your browser. Use the Save As function. The saved file will be in HTML.

But jokes aside, why do you want to do this? What are you toing to do with the HTML file? What sections of the PHP file do you want in HTML? I'm asking because there is no one-to-one way to convert PHP to HTML. The conversion is not lossless.


 

Shouguang Cao
China
Local time: 14:17
English to Chinese
+ ...
server-side Oct 21, 2008

Samuel Murray wrote:

Layla Aldworth wrote:
I am trying to convert php files to html. Any idea how I can do that?


One solution is to upload file to a PHP-capable web server and then view it in your browser. Use the Save As function. The saved file will be in HTML.

But jokes aside, why do you want to do this? What are you toing to do with the HTML file? What sections of the PHP file do you want in HTML? I'm asking because there is no one-to-one way to convert PHP to HTML. The conversion is not lossless.


Samuel is right. One fundamental difference between PHP and HTML is that PHP runs at the server side and the result is then sent to the client as HTML. If you convert PHP using this method, the embeded variables and serverside codes will be lost.

Again, you don't need to do the conversion. PHP is plain text and can be opened with any text editors.

[Edited at 2008-10-21 06:34]


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

PHP Files > HTML

Advanced search







Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running and helps experienced users make the most of the powerful features.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search