Results 1 to 4 of 4

Thread: Php offline?

  1. #1
    Join Date
    Sep 2008
    Posts
    77
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Php offline?

    Hey this i probably a very noob question, but php can't be viewed offline like on my desktop correct?

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can install a Web Server in your local PC and through that you can access the PHP pages. But if you are looking for opening a PHP page by double-clicking on it, it is not going to happen as PHP pages should be loaded via a web server.

    If you are working in Windows Environment then I think you can use XAMPP

    Hope this helps.

  3. #3
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    One thing you forgot to mention codeex is that when you make your computer into an active server to view some php or other code locally, you are also opening up portions to the outside world, so you would need to be careful about the additional ports and stuff.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Kind of, by piping it into your browser via the PHP interpreter. There doesn't have to be a webserver involved, and it's even possible (but not very fun: PHP is specialised for web apps) to write desktop applications in PHP.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •