1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to view php sites offline

Discussion in 'HTML & Website Design' started by lovelylovely, Sep 18, 2006.

  1. #1
    i like to know from well informed DP'ers

    how can i view php sites offline

    as when ever i need to make some changes and wonna see the result i had to go online

    is there a way i can view and edit sites offline

    like normal html stuff

    thanks in advance
     
    If someone posts a solution, use the "Best Answer" link in their post to pick it as the best answer.
    lovelylovely, Sep 18, 2006 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    You would need to install php and apache on your personal computer. It's not extremely difficult, but once you do that, your computer will parse the php in files so that you view them as if on the web.

    Here's a guide on how to do it.
    http://www.thesitewizard.com/archive/php4install.shtml

    I recommend installing it on a seperate computer if you have one. You dont need anything really fast, but in my experience it is better to keep it off a computer that is used heavily.
     
    jestep, Sep 18, 2006 Set Best Answer IP
  3. Jim bob 9 pants

    Jim bob 9 pants Peon

    Messages:
    890
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I agree with jestep form my experience.

    Its not hard to do.
     
  4. lovelylovely

    lovelylovely Guest

    Best Answers:
    0
    #4
    thanks a lot
     
  5. jocs

    jocs Peon

    Messages:
    103
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    We use AppServ, wich is a localhost PHP server, with MySQL (Database) and PHPMyAdmin wich is a simple web interface to interact with MySQL.

    This is the official site http://www.appservnetwork.com/


    Its very easy to install and it works pretty well. If you need help, just ask.
     
    jocs, Sep 18, 2006 Set Best Answer IP
  6. lovelylovely

    lovelylovely Guest

    Best Answers:
    0
    #6

    See what i meant ;) ;)

    I love u fellows:)))) always there to help other DP'er and quick too
     
  7. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
  8. vinxxv

    vinxxv Well-Known Member

    Messages:
    506
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    118
    #8
    i recommend XAMPP too, all you have to do is download the setup, install and you'll have Apache,PHP and MySQL running in no time. no more configuration needed... unless you need something specific.

    i use this myself on my pc.
     
    vinxxv, Sep 20, 2006 Set Best Answer IP
  9. lovelylovely

    lovelylovely Guest

    Best Answers:
    0
    #9
    thanks
    geting another pc ready to try all this tomorrow
    will update what i found :)
     
  10. AbhishekS

    AbhishekS Peon

    Messages:
    309
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    there is a program that does it all for you, if i rememver the name i will post it here.

    the program installs everything and has a main control center
     
    AbhishekS, Sep 20, 2006 Set Best Answer IP
  11. Jasonb

    Jasonb Well-Known Member

    Messages:
    4,486
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    195
    #11
    get apache it will solve your problems :)
     
    Jasonb, Sep 21, 2006 Set Best Answer IP
  12. Dimenty

    Dimenty Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Dimenty, Sep 22, 2006 Set Best Answer IP
  13. Namesniper

    Namesniper Well-Known Member

    Messages:
    365
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    118
    #13
    If you have FrontPage 2000 or later you may right click teh file and choose view as an html
     
    Namesniper, Sep 22, 2006 Set Best Answer IP
  14. Pat Gael

    Pat Gael Banned

    Messages:
    1,331
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Long time ago I downloaded a php editor, very compact in size, with only a dll file enabling the previsualization of php files without having installed apache or a local server.

    Unfortunately I lost that software and have no idea of its name, so maybe any DP member could now what I'm talking about include it as another option for lovelylovely.

    I have installed Xampp as main localhost server, in addition to other packages for specific requirements
     
    Pat Gael, Sep 22, 2006 Set Best Answer IP
  15. strifer

    strifer Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    WAMP (Apache, MYSQL and PHP for Windows) will do all the installation and configuration work for you. Very convenient!
    Then just put your pages in the www folder or whatever you have as webroot and type in your browser http://localhost/

    This way you can prototype whole homepages before putting them online.
     
    strifer, Sep 24, 2006 Set Best Answer IP
  16. Disguised

    Disguised Notable Member

    Messages:
    4,330
    Likes Received:
    359
    Best Answers:
    0
    Trophy Points:
    280
    #16
    You can do so by using "IBSERVER" & "phpdev".
    Both of them are really easy too use and work perfect. Though YOu've to install additional windows components.
     
    Disguised, Sep 24, 2006 Set Best Answer IP
  17. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #17
    eXe, Sep 24, 2006 Set Best Answer IP
  18. genuskbl

    genuskbl Peon

    Messages:
    7
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    use wampserver

    it will configure mysql/php/appachi very easy to use and you will be able to view phpfiles offline
     
    genuskbl, Sep 25, 2006 Set Best Answer IP