PHP Files > HTML
Thread poster: Sidra

Sidra
Brazil
Local time: 08:45
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,
Jade


Direct link Reply with quote
 

Samuel Murray  Identity Verified
Netherlands
Local time: 12:45
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.


Direct link Reply with quote
 

Shouguang Cao
China
Local time: 19:45
Member (2007)
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]


Direct link Reply with quote
 


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







memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »
LSP.expert
You’re a freelance translator? LSP.expert helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »



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