+ Post New Thread
Results 1 to 7 of 7
Web Development Thread, PHP site convert to html in Coding and Web Development; Is there an easy way to convert a php site to html without having to recreate each page manually? Been ...
  1. #1

    Join Date
    May 2008
    Location
    York
    Posts
    515
    Thank Post
    22
    Thanked 48 Times in 45 Posts
    Rep Power
    24

    PHP site convert to html

    Is there an easy way to convert a php site to html without having to recreate each page manually?

    Been asked to convert a site done by a web designer to html so can be brought in house for updaing.

  2. #2


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148
    wget will grab the pages but you will need to correct all the links yourself

  3. #3


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,686
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Unusual one to be asked really ...

    If all you want to do is make some changes to the content why not just edit the php?

  4. #4

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,780
    Thank Post
    1,469
    Thanked 591 Times in 443 Posts
    Rep Power
    168
    Is there an easy way to convert a php site to html without having to recreate each page manually?
    FTP the site onto local server to grab resources such as images etc and to get site folder structure.

    Then just view the source for each page and save it as an html file?

    A bit manual but simple to do - just need to keep the file names/folder structure the same and you should end up with something close to original as long as it doesn't have too many fancy features.

    Could you post a link to the site in question?

    regards

    Simon

  5. #5


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    you could recursively wgt the pages
    GNU Wget

    but really there should be no need, the point of php is that it can dynamically create html, pulling information form various sources - making things easier to maintain.
    I suspect it will be easier in the long and short term to get your web designer familiar with php.

  6. #6


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,686
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Teleport Pro used to be useful for grabbing static sites to allow one to nose through them, might be worth a look.

  7. #7

    Join Date
    Oct 2008
    Location
    Gosport
    Posts
    64
    Thank Post
    1
    Thanked 18 Times in 13 Posts
    Rep Power
    15
    so can be brought in house for updaing.
    Surely just teach/find someone to modify the php?

    If there's nothing so complex there that it will break when made non-php, then I would be very surprised if there was anything that someone with html knowledge couldn't figure out with a couple of hours on php.net . Why dumb down?

SHARE:
+ Post New Thread

Similar Threads

  1. Convert HTML / CSS to PDF/PS
    By danIT in forum Web Development
    Replies: 13
    Last Post: 31st July 2008, 12:59 PM
  2. Wiki Site which teaches html, css and php
    By My220x in forum Coding
    Replies: 1
    Last Post: 4th July 2008, 10:17 PM
  3. Best Site to learn php and mysql?
    By My220x in forum Coding
    Replies: 11
    Last Post: 23rd April 2008, 08:58 AM
  4. drop down list in a html webform and php
    By Uraken in forum Coding
    Replies: 17
    Last Post: 5th March 2008, 12:35 PM
  5. Webserver & PHP site advice
    By FN-GM in forum Web Development
    Replies: 17
    Last Post: 2nd December 2007, 12:58 AM

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •