TinyPortal
Development => Support => Topic started by: SpiffyJr on July 27, 2007, 03:31:17 PM
I'm trying to use TinyPortal as a wrapper for a PHP file so I tried out the PHP article. I used a bit of simple test code <?php echo 'test'; ?> and when I preview the page all I get is a blank page. I even tried <?php die("TEST!!!"); ?> as well as just die("TEST!");
Any ideas?
remove the <?php and ?> from the code so you just have echo ' test ';
Tried that as well. All I get is "echo 'test';" It's like the file isn't being parsed at all.
Strange I have just tested it on my local server, here.. http://lesmond.homedns.org/smf2/index.php?page=6
echo ' <b>This is what I get</b> ';
Joy. Something must have borked on my end, then. Let me make a page real fast for a demo.
Alright, attached is an image of what I put in the article editor and you can view it at http://www.phpraider.com/index.php?page=45
Delete the article and create a new one. Let me know if you still have this problem.
Deleted and remade using echo 'test'; and the same thing happens.