+ Reply to Thread
Results 1 to 7 of 7




  

Thread: How do i convert PHP files into HTML

      
  1. #1
    I'm New! sujith is on a distinguished road
    Join Date
    March 15, 2011
    Posts
    4
    Rep Power
    0
    Feedback Score
    0

    Default How do i convert PHP files into HTML

    How do i convert PHP file into HTML file

  2. #2
    I'm New! harrish687 is on a distinguished road
    Join Date
    April 8, 2011
    Posts
    1
    Rep Power
    0
    Feedback Score
    0

    Post How do i convert PHP files into HTML

    First of all you download converter and after you able to convert this
    =======================
    to know more click

  3. #3
    Jedi Master KPossum is on a distinguished road KPossum's Avatar
    Join Date
    December 17, 2009
    Posts
    19
    Rep Power
    3
    Feedback Score
    0

    Default Re: How do i convert PHP files into HTML

    You can't if you're making php do server side tasks like calculatings and pulling database content.

    You could convert php into javasscript manually but any server tasks would have to be done by a server side script and then pushed to json to get javascript to access it.

  4. #4
    Jedi Master mjwalsh is on a distinguished road
    Join Date
    December 13, 2007
    Location
    Houston, TX
    Posts
    21
    Rep Power
    5
    Feedback Score
    0

    Default Re: How do i convert PHP files into HTML

    I believe you're actually tlaking about changing the handler of files. If you add this into your .htaccess file of your website, you can run php files as .html files through the browser.

    AddHandler application/x-httpd-php .php .html

    Now this can change depending on the setup of your host so if this does not work you might want to contact them. For instance I know with HostGator it is

    AddHandler application/x-httpd-php5 .php .html

    Now on the web server, the files will still show as .php however you can visit them through the browser as domain.com/file.php or domain.com/file.html and it will work either way. Let me know if this helps!

  5. #5
    Jedi Master gameutopia is on a distinguished road
    Join Date
    March 25, 2010
    Posts
    167
    Rep Power
    3
    Feedback Score
    0

    Default Re: How do i convert PHP files into HTML

    Not sure what you are after but if you load up a page that is php and just save it locally to your pc it will save it in html format. Other than that I am not sure if that is what you are after or not.

  6. #6
    I'm New! sujith is on a distinguished road
    Join Date
    March 15, 2011
    Posts
    4
    Rep Power
    0
    Feedback Score
    0

    Thumbs up Re: How do i convert PHP files into HTML

    Quote Originally Posted by mjwalsh View Post
    I believe you're actually tlaking about changing the handler of files. If you add this into your .htaccess file of your website, you can run php files as .html files through the browser.

    AddHandler application/x-httpd-php .php .html

    Now this can change depending on the setup of your host so if this does not work you might want to contact them. For instance I know with HostGator it is

    AddHandler application/x-httpd-php5 .php .html

    Now on the web server, the files will still show as .php however you can visit them through the browser as domain.com/file.php or domain.com/file.html and it will work either way. Let me know if this helps!
    Thank you very much. it's working very well.....!!!!!!!!!

  7. #7
    Jedi Master mjwalsh is on a distinguished road
    Join Date
    December 13, 2007
    Location
    Houston, TX
    Posts
    21
    Rep Power
    5
    Feedback Score
    0

    Default Re: How do i convert PHP files into HTML

    No problem

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. How to convert drm audio and video?
    By Akola in forum Graphics & Multimedia
    Replies: 3
    Last Post: Mar 3rd, 2011, 12:38 am
  2. convert one db to another
    By scoopy82 in forum HTML & Website Design
    Replies: 0
    Last Post: Oct 8th, 2008, 3:19 pm
  3. Using Both home.html and index.html
    By zxpro168 in forum SEO Forum
    Replies: 14
    Last Post: Jun 10th, 2008, 6:47 am
  4. Replies: 6
    Last Post: Nov 17th, 2007, 8:18 pm
  5. Replies: 0
    Last Post: Oct 7th, 2007, 3:41 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads