start with php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • selvarani
    New Member
    • Mar 2007
    • 3

    start with php

    I am a newbie to php. I hav installed wamp5_1.4.3 which includes apache server, php and mysql. I would like to execute php scripts in web. I am working in windows. I would like to know what are the configurations to be made and run a php code. Please give ur help.
  • johnix
    New Member
    • Mar 2007
    • 3

    #2
    ok this how to execute php

    you mean how to run your php code? first you should start your apache in xamp control panel then click explore. open htdocs folder and then paste your php file or folder inside the htdocs... then type http://localhost/foldername/phpfilename.php to the address bar where we type the www.sdfsdf.com or start button of windows in the run...

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      Place your PHP code in your webroot. This is usually located in the "www" directory of your WAMP installation. Start up WAMP, and go to http://localhost/phpfilename.php where phpfilename.php is actually the name of your php file.

      Comment

      • selvarani
        New Member
        • Mar 2007
        • 3

        #4
        Hi,
        Thanks for ur reply. I would like to write a php script to interact with asterisk(open source pbx). Anybody has any idea on how this can be done? Please help me out. Is there any inbuilt functions to interact with asterisk. I came to know of stdout, stdin and stderr. What else functions are there to make our work easy. If we use scripts, is there a necessity to use Asterisk Manager API's? What is the relation between Asterisk manager API's and PHP scripts?
        Thanks in advance.

        Comment

        • Motoma
          Recognized Expert Specialist
          • Jan 2007
          • 3236

          #5
          Originally posted by selvarani
          Hi,
          Thanks for ur reply. I would like to write a php script to interact with asterisk(open source pbx). Anybody has any idea on how this can be done? Please help me out. Is there any inbuilt functions to interact with asterisk. I came to know of stdout, stdin and stderr. What else functions are there to make our work easy. If we use scripts, is there a necessity to use Asterisk Manager API's? What is the relation between Asterisk manager API's and PHP scripts?
          Thanks in advance.
          I don't know anything about Asterisk, except that it is a PBX program. I don't know what you what you want to use PHP for, but I don't think PHP alone will be much help.

          Comment

          Working...