Running the PHP Script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Umesh37
Forum Newbie
Posts: 2
Joined: Fri Jan 08, 2010 1:30 am

Running the PHP Script

Post by Umesh37 »

Respected Sir,
I myself Umesh H.Annegirikar.
I am just start to studying the PHP.
I have installed the PHP5.2 on my machine & WAMP Server.
my machine having 256MB RAM,120GB HDD,&INTEL p4 processsor.
But I don't understand how to compile my simple script & deploy on Internet Explorer 6.0
which command is used OR how the script is compiled please tell me..
i am new to php
my script is
<html>
<head>
<title> first script</title>
</head>
<body>
<b>
<?php
print "hello php";
?>
</b>
</body>
</html>
User avatar
manohoo
Forum Contributor
Posts: 201
Joined: Wed Dec 23, 2009 12:28 pm

Re: Running the PHP Script

Post by manohoo »

Hi Umesh,

1. make sure the file has the .php extension
2. the file should be in your www directory
3. Apache and PHP should be running (start wampserver)

other than that, open your file with your browser, the output should be "hello php"
dejvos
Forum Contributor
Posts: 122
Joined: Tue Mar 10, 2009 8:40 am

Re: Running the PHP Script

Post by dejvos »

Hi,

now a bit of topic: Please, don't use IE 6!
Post Reply