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

Code not running



Posted by: meenangis
May 19, 2010 07:42AM
I installed the app today, all of my services are running. I created a php file with the sample (below) from the intro page and I see this file when I local web. When I click on the file from local web it opens a browser window and just displays "Current date" without showing the day and time.

<html>
<head>
<title>My first page in PHP.</title>
</head>
<body>

Current date. : <?php print (Date("l F d, Y")); ?>

</body>
</html>
Options: ReplyQuote
Posted by: odub
May 25, 2010 12:09AM
meenangis,

If you are having the same problem as i did then I can help. If the file you are clicking on has a .txt extention at the end of it the php code will not be executed. You will need to manually remove that extension so it just reads "file.php" Most text editors assign the .txt file extension automatically.
Options: ReplyQuote
Posted by: coyotexxx
July 04, 2010 11:02PM
I have the same problem. Extension isn't the problem. I open the php page and php code doesn't run, but html code runs. New easyphp version fail? Wrong config?
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.