Mobile menu

PHP Files > HTML
Thread poster: Sidra

Sidra
Brazil
Local time: 14:21
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: 19:21
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
 
Dallas Cao
China
Local time: 01:21
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:

Moderator(s) of this forum
Maria Castro[Call to this topic]

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

PHP Files > HTML

Advanced search


Translation news





SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

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 »



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