[PHP] (Absolute beginner) .PHP3 and .HTM

2001-04-16 Thread ulrichk
My configuration: Win98 / Xitami / PHP3 / MySQL PHP is installed in the path of Xitami. path xitami\cgi-bin\HELLO2.PHP3 "http://localhost/cgi-bin/hello2.php3" It works! My bloody newbie question: Where must I put HELLO3.HTM so that it can be run from the localhost "http://localhost/hello3.htm"

Re: [PHP] (Absolute beginner) .PHP3 and .HTM

2001-04-16 Thread Seung-woo Nam
Change the extension of hello3.htm to php3. The second one doesn't work because the web server only runs the php enginge when the file has a php extension (it depends on the server setting but usually just .php should work fine). PHP code can be embedded within HTML so basically you don't have to