Mobile menu

PHP Files > HTML
Thread poster: Sidra

Sidra
Brazil
Local time: 19:30
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: 00:30
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: 06:30
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





Across v6.3
Translation Toolkit and Sales Potential under One Roof

Apart from features that enable you to translate more efficiently, the new Across Translator Edition v6.3 comprises your crossMarket membership. The new online network for Across users assists you in exploring new sales potential and generating revenue.

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »



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