clacker
  
 
 
  
 
 
Group: Members 
Posts: 570 
Joined: June 2004 | 
  | 
Posted: Aug. 15 2004,17:16 | 
   | 
 
 
  
ico2, When I tried it, I made files for web pages and put then in the /opt/monkey/htdocs directory. Edit the following file and call it test.php:
 
 | Code Sample  |  <html> <body>
    <?php
    print ("Look at that, PHP works!");
    ?>
  </body> </html> 
  |  
 
  Run it by viewing localhost/test.php in Dillo or whatever.  Also try this one which prints out all kinds of neat info:
 
 | Code Sample  |  <body>
    <?php
    phpinfo();
    ?>
  </body> </html> |  
 
  For a nice tutorial look at PHP from the ground up which is on webmonkey (no relation to the monkey server in DSL). 
 |