introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Funny behaviour by 2.0b1



Posted by: mrfdes
October 24, 2008 08:12PM
I have a funny problem which did not occur in version 1.8:
whenever I write some PHP code with the 'print' or 'echo' command, the output shows the end bits of the PHP code, eg. when I write:
<?php
print "This is PHP";
?>

the output I get is:

This is PHP";?>

So, the final quote mark, the semicolon and the ending PHP tags are displayed.
Has anyone else come across this problem before, and does anyone know a solution for it?
All help will be appreciated.
Thanks,
mrfdes.
Options: ReplyQuote
Posted by: Amour
October 25, 2008 09:21AM
How do you call php page to see that ? do you use [localhost] ?
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.