php noob help

Discussion in 'PHP' started by thegfx, Jul 29, 2008.

  1. #1
    i want to execute php from my desktop itself.. (i want to see the run time display) how to do that?
     
    thegfx, Jul 29, 2008 IP
  2. m4x

    m4x Guest

    Messages:
    477
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If i know what your talking about, you will have to download PHP to be able to run it locally.
     
    m4x, Jul 29, 2008 IP
  3. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
  4. thegfx

    thegfx Peon

    Messages:
    238
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thegfx, Jul 29, 2008 IP
  5. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #5
    jayshah, Jul 29, 2008 IP
  6. thegfx

    thegfx Peon

    Messages:
    238
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    what i am asking is..
    we can do a html coding.. then run it in a browser and test it..
    how to do that for a php?
     
    thegfx, Jul 29, 2008 IP
  7. [tN]

    [tN] Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you should download a webserver
    this one might be easy to use :)
    http://www.wampserver.com/en/
     
    [tN], Jul 29, 2008 IP
  8. spax

    spax Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    HTML is merely rendered in the browser, but PHP needs to be parsed and that's not elegantly done in a Windows desktop environment. I assume this will be run on a hosted web server once it's tested. Do you have access on that server for another domain or subdomain to test it on? That's what I usually do. If I have a site that is live, such as example.com, I'll set up a subdomain, such as 2.example.com, or text.example.com. That way you also know not only that it'll work, but that it'll work in the same environment as the live version.
     
    spax, Jul 29, 2008 IP