Shows the Script text only

images php coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Shows the Script text only

Post by johnj » Sun Mar 13, 2011 8:58 pm

First,make sure you have PHP installed o your computer. If you have then test if it is working by using the following code:

<?php

phpinfo();

?>

Save these lines to a file called test.php and put it in your web root. Now access it by using a browser. If you can see all the php settings/configurations then php is installed on your machine. If php is not installed then it will show the text of the script.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests