Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: php problem, Help with weird web page output< Next Oldest | Next Newest >
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Jan. 29 2006,15:33 QUOTE

Thought I spend a few days playing with PHP, so I downloaded PHP and then started Monkey.  A simple php test file:
Code Sample
<html> <head>  <title>PHP Test</title> </head> <body>
<?php echo <p>'Hello World'</p>;
?>
</body>  </html>

Outputs the following:
Code Sample
'Hello World'

; ?>
 The punctuation following the text shouldn't be there, but I thinkit shows that PHP is installed and working in some fashion..

Further, the following:
Code Sample
<html><body>
<? phpinfo(); ?>
</body></html>

outputs absolutey nothing.  I've been searching for hours and can't find anything to explain this.  I've got the files in /opt/monkey/htdocs.  I also notice that they are also 'magically' also in /opt/monkey-0.9.1/htdocs.  I suspect I'm making some bone-headed mistake, any ideas?
Back to top
Profile PM 
0 replies since Jan. 29 2006,15:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: php problem

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code