Hello guys, I m trying to run a simple php code. I have Apache Tomcat/6.0.18 running. I dont know if it is php enabld or not. i've created a hello.php file:
<http://www.daniweb.com/forums/misc-explaincode.html?TB_iframe=true&height=400&width=680> <html> <body> <p>This is going to be ignored.</p> <?php echo 'While this is going to be parsed.'; ?> <p>This will also be ignored.</p> </body> </html> <html> <body> <p>This is going to be ignored.</p> <?php echo 'While this is going to be parsed.'; ?> <p>This will also be ignored.</p> </body> </html> and put this file in the ../webapps/root dir. When i run the file , this is the output: <http://www.daniweb.com/forums/misc-explaincode.html?TB_iframe=true&height=400&width=680> This is going to be ignored. This will also be ignored. This is going to be ignored. This will also be ignored. I dont know where the problem is? Thank you. -- To laugh often and much; to win the respect of intelligent people and the affection of children; to earn the appreciation of honest critics and endure the betrayal of false friends; to appreciate beauty, to find the best in others; to leave the world a little better; whether by a healthy child, a garden patch of a redeemed social condition; to know that one life has breathed easier because you have lived. This is the meaning of SUCCESS. -Ralph Waldo Emerson _______________________________________ Pune GNU/Linux Users Group Mailing List