Re: how can I use or run a php sample?

From: Date: Thu, 20 Sep 2001 09:37:53 +0000
Subject: Re: how can I use or run a php sample?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-9431@lists.php.net to get a copy of this message
you need to install php http://www.php.net/downloads.php You most probably want the 700k install, it should work with your server, else you want the next one above to give you all you need (4meg). The 700k install sets up most servers, and should do yours. Then simply run your server with the php file in the dir the server points to then: http://localhost/yourphpfile.php and it should work. and to kill the html just put: <?PHP echo "Hello Burak"; ?> or what ever you like.. neo =) "Burak Delice" <bdelice@yahoo.com> wrote in message news:20010920084800.29362.qmail@pb1.pair.com... > hi, > > I have been making some tests. I want to learn PHP. But I have not achived > to run a php sample like below. Actually I want to make a mail sender on my > web page with php. I have found a sample about it but I couldn't run it so I > decided to learn php as far as possible. > > <html> > <head> > <title>Example</title> > </head> > <body> > <?php echo "Hi, I'm a PHP script!"; ?> > </body> > </html> > (I save it above code as html, but it have not run. also when I run a .php > file directly by writing adress bar n explorer it have not run only It was > seemed as text.) > > I am raw and new at this topic. I need information begining to first. I > have searched thoroughly internet but I confused. > Should I install php or apache or some other program on my system in order > to use PHP code in my web pages? > Could you help me please? How can I start for learning php? > > thanks. > > my system > w2000 professional and > Internet service manager is installed > >

« previous php.windows (#9431) next »