can maka a stand alone php script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lavsaxena
    New Member
    • Apr 2009
    • 13

    can maka a stand alone php script?

    Can i make a stand alone PHP script ot it can only be embedded in a web page.
    I mean can we have a php script that i can execute directy ever there is no web page.

    Thanks in Advance
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    a PHP script does not necessarily require a HTML page. If the server is requested to execute a given script file, it will do so. what to do with the returned document is up to the User Agent (browser, AJAX object, another server, …)

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      Sure you can. You won't have a fully-fledged 'windowed' program, but command line PHP is pretty useful..

      Comment

      • lavsaxena
        New Member
        • Apr 2009
        • 13

        #4
        Thanks for quick reply and clarify the issue.....

        Comment

        • Markus
          Recognized Expert Expert
          • Jun 2007
          • 6092

          #5
          Originally posted by lavsaxena
          Thanks for quick reply and clarify the issue.....
          You're welcome.

          Come back anytime,

          - mark.

          Comment

          • dlite922
            Recognized Expert Top Contributor
            • Dec 2007
            • 1586

            #6
            Originally posted by Markus
            Sure you can. You won't have a fully-fledged 'windowed' program, but command line PHP is pretty useful..
            depending on your definition of "fully-fledged" you can have a windowed PHP program.

            Start with Bambalam which converts .php to .exe files to run on Windows and google "PHP to EXE windows" to find much much more!

            I can't find the site, but there were ways to have PHP have actual "windows" like a normal program.

            Happy Coding!





            Dan

            Comment

            Working...