p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: i am new to php


Message #1 by Abdul Sami <abdul_sami_20@y...> on Sat, 23 Feb 2002 14:28:54 -0800 (PST)
Hi everyone, 

I want to ask about how to start php on window 9x/me, regarding

running a simple php file.

Please tell me steps to do that.

Thanks and Regards.







=====

Abdul Sami



__________________________________________________

Do You Yahoo!?

Yahoo! Sports - Coverage of the 2002 Olympic Games

http://sports.yahoo.com

Message #2 by "Krister" <krister@m...> on Sat, 23 Feb 2002 23:56:27 +0100
Hi Abdul



Php is server side scripting and therefor you need will a server to run it.

You can install PWS (Personal Web Server) to your windows from its CD and

then you need to install PHP. Thats all to run PHP. If want to use my

sql-database, you need to install it too. All this should be explaned in

detail in your PHP book. Simple or not it will run with those things.



Krister



----- Original Message -----

From: "Abdul Sami" <abdul_sami_20@y...>

To: "beginning php" <beginning_php@p...>

Sent: Saturday, February 23, 2002 11:28 PM

Subject: [beginning_php] i am new to php





> Hi everyone,

> I want to ask about how to start php on window 9x/me, regarding

> running a simple php file.

> Please tell me steps to do that.

> Thanks and Regards.

>

>

>

> =====

> Abdul Sami

>

> __________________________________________________

> Do You Yahoo!?

> Yahoo! Sports - Coverage of the 2002 Olympic Games

> http://sports.yahoo.com

>




$subst('Email.Unsub').

>



Message #3 by "Nikolai Devereaux" <yomama@u...> on Sun, 24 Feb 2002 19:04:14 -0800

Hi Abdul,



First let me say welcome to the community.



There are plenty of "how to install" instructions out on the web, I suggest

you look at the homepage



http://www.php.net/



http://www.php.net/manual/en/install.windows.php



http://www.php.net/tut.php





Good luck!



nik



> -----Original Message-----

> From: Abdul Sami [mailto:abdul_sami_20@y...]

> Sent: Saturday, February 23, 2002 2:29 PM

> To: beginning php

> Subject: [beginning_php] i am new to php

>

>

> Hi everyone,

> I want to ask about how to start php on window 9x/me, regarding

> running a simple php file.

> Please tell me steps to do that.

> Thanks and Regards.

>

>

>

> =====

> Abdul Sami

>

> __________________________________________________

> Do You Yahoo!?

> Yahoo! Sports - Coverage of the 2002 Olympic Games

> http://sports.yahoo.com

>




> $subst('Email.Unsub').



Message #4 by Abdul Sami <abdul_sami_20@y...> on Mon, 25 Feb 2002 00:53:21 -0800 (PST)
I have read the instructions from the site as well from the book.

Then I installed the php available from the site, and then edit

the new file type in registry according to the book.

Then I made a virtual directory and browsed like:



localhost/virtual directory name/index.php



In doing so browser is showing 

1: the original code (if I write the code   between  <html>

</html> .



2: or nothing if I donot include <html> tags.











--- Nikolai Devereaux <yomama@u...> wrote:

> 

> Hi Abdul,

> 

> First let me say welcome to the community.

> 

> There are plenty of "how to install" instructions out on the

> web, I suggest

> you look at the homepage

> 

> http://www.php.net/

> 

> http://www.php.net/manual/en/install.windows.php

> 

> http://www.php.net/tut.php

> 

> 

> Good luck!

> 

> nik

> 

> > -----Original Message-----

> > From: Abdul Sami [mailto:abdul_sami_20@y...]

> > Sent: Saturday, February 23, 2002 2:29 PM

> > To: beginning php

> > Subject: [beginning_php] i am new to php

> >

> >

> > Hi everyone,

> > I want to ask about how to start php on window 9x/me,

> regarding

> > running a simple php file.

> > Please tell me steps to do that.

> > Thanks and Regards.

> >

> >

> >

> > =====

> > Abdul Sami

> >

> > __________________________________________________

> > Do You Yahoo!?

> > Yahoo! Sports - Coverage of the 2002 Olympic Games

> > http://sports.yahoo.com

> >

> > ---

> > Change your mail options at http://p2p.wrox.com/manager.asp

> or


> > $subst('Email.Unsub').

> 

> 




$subst('Email.Unsub').





=====

Abdul Sami



__________________________________________________

Do You Yahoo!?

Yahoo! Sports - Coverage of the 2002 Olympic Games

http://sports.yahoo.com

Message #5 by "Krister" <krister@m...> on Mon, 25 Feb 2002 11:07:48 +0100
Hi, Abdul



Put your php-file into c:\Inetpub\wwwroot, and browse:

http://localhost/index.php

if your filename is index.php.



Krister



----- Original Message -----

From: "Abdul Sami" <abdul_sami_20@y...>

To: "beginning php" <beginning_php@p...>

Sent: Monday, February 25, 2002 9:53 AM

Subject: [beginning_php] RE: i am new to php





> I have read the instructions from the site as well from the book.

> Then I installed the php available from the site, and then edit

> the new file type in registry according to the book.

> Then I made a virtual directory and browsed like:

>

> localhost/virtual directory name/index.php

>

> In doing so browser is showing

> 1: the original code (if I write the code   between  <html>

> </html> .

>

> 2: or nothing if I donot include <html> tags.

>

>

>

>

>

> --- Nikolai Devereaux <yomama@u...> wrote:

> >

> > Hi Abdul,

> >

> > First let me say welcome to the community.

> >

> > There are plenty of "how to install" instructions out on the

> > web, I suggest

> > you look at the homepage

> >

> > http://www.php.net/

> >

> > http://www.php.net/manual/en/install.windows.php

> >

> > http://www.php.net/tut.php

> >

> >

> > Good luck!

> >

> > nik

> >

> > > -----Original Message-----

> > > From: Abdul Sami [mailto:abdul_sami_20@y...]

> > > Sent: Saturday, February 23, 2002 2:29 PM

> > > To: beginning php

> > > Subject: [beginning_php] i am new to php

> > >

> > >

> > > Hi everyone,

> > > I want to ask about how to start php on window 9x/me,

> > regarding

> > > running a simple php file.

> > > Please tell me steps to do that.

> > > Thanks and Regards.

> > >

> > >

> > >

> > > =====

> > > Abdul Sami

> > >

> > > __________________________________________________

> > > Do You Yahoo!?

> > > Yahoo! Sports - Coverage of the 2002 Olympic Games

> > > http://sports.yahoo.com

> > >

> > > ---

> > > Change your mail options at http://p2p.wrox.com/manager.asp

> > or


> > > $subst('Email.Unsub').

> >

> >




> $subst('Email.Unsub').

>

>

> =====

> Abdul Sami

>

> __________________________________________________

> Do You Yahoo!?

> Yahoo! Sports - Coverage of the 2002 Olympic Games

> http://sports.yahoo.com

>




$subst('Email.Unsub').



Message #6 by "Nikolai Devereaux" <yomama@u...> on Mon, 25 Feb 2002 08:35:14 -0800

It sounds like you haven't told your webserver to pass all .php files

through the php interpreter for processing before the server sends the

output.



What webserver are you using?



> -----Original Message-----

> From: Abdul Sami [mailto:abdul_sami_20@y...]

> Sent: Monday, February 25, 2002 12:53 AM

> To: beginning php

> Subject: [beginning_php] RE: i am new to php

>

>

> I have read the instructions from the site as well from the book.

> Then I installed the php available from the site, and then edit

> the new file type in registry according to the book.

> Then I made a virtual directory and browsed like:

>

> localhost/virtual directory name/index.php

>

> In doing so browser is showing

> 1: the original code (if I write the code   between  <html>

> </html> .

>

> 2: or nothing if I donot include <html> tags.

>

>

>

>

>

> --- Nikolai Devereaux <yomama@u...> wrote:

> >

> > Hi Abdul,

> >

> > First let me say welcome to the community.

> >

> > There are plenty of "how to install" instructions out on the

> > web, I suggest

> > you look at the homepage

> >

> > http://www.php.net/

> >

> > http://www.php.net/manual/en/install.windows.php

> >

> > http://www.php.net/tut.php

> >

> >

> > Good luck!

> >

> > nik

> >

> > > -----Original Message-----

> > > From: Abdul Sami [mailto:abdul_sami_20@y...]

> > > Sent: Saturday, February 23, 2002 2:29 PM

> > > To: beginning php

> > > Subject: [beginning_php] i am new to php

> > >

> > >

> > > Hi everyone,

> > > I want to ask about how to start php on window 9x/me,

> > regarding

> > > running a simple php file.

> > > Please tell me steps to do that.

> > > Thanks and Regards.

> > >

> > >

> > >

> > > =====

> > > Abdul Sami

> > >

> > > __________________________________________________

> > > Do You Yahoo!?

> > > Yahoo! Sports - Coverage of the 2002 Olympic Games

> > > http://sports.yahoo.com

> > >

> > > ---

> > > Change your mail options at http://p2p.wrox.com/manager.asp

> > or


> > > $subst('Email.Unsub').

> >

> >




> $subst('Email.Unsub').

>

>

> =====

> Abdul Sami

>

> __________________________________________________

> Do You Yahoo!?

> Yahoo! Sports - Coverage of the 2002 Olympic Games

> http://sports.yahoo.com

>




> $subst('Email.Unsub').



Message #7 by Abdul Sami <abdul_sami_20@y...> on Mon, 25 Feb 2002 10:14:59 -0800 (PST)
The code I have written is:



<?php



echo ("helo");

?>



I am using personal web server.

I have copied the files in wwwroot.

But the problem is same, I have just installed the PHP version

available on php.net (with installation wizard) and haven't done

anything else including change in system files - this time.

Thanks and regards





--- Nikolai Devereaux <yomama@u...> wrote:

> 

> It sounds like you haven't told your webserver to pass all .php

> files

> through the php interpreter for processing before the server

> sends the

> output.

> 

> What webserver are you using?

> 

> > -----Original Message-----

> > From: Abdul Sami [mailto:abdul_sami_20@y...]

> > Sent: Monday, February 25, 2002 12:53 AM

> > To: beginning php

> > Subject: [beginning_php] RE: i am new to php

> >

> >

> > I have read the instructions from the site as well from the

> book.

> > Then I installed the php available from the site, and then

> edit

> > the new file type in registry according to the book.

> > Then I made a virtual directory and browsed like:

> >

> > localhost/virtual directory name/index.php

> >

> > In doing so browser is showing

> > 1: the original code (if I write the code   between  <html>

> > </html> .

> >

> > 2: or nothing if I donot include <html> tags.

> >

> >

> >

> >

> >

> > --- Nikolai Devereaux <yomama@u...> wrote:

> > >

> > > Hi Abdul,

> > >

> > > First let me say welcome to the community.

> > >

> > > There are plenty of "how to install" instructions out on

> the

> > > web, I suggest

> > > you look at the homepage

> > >

> > > http://www.php.net/

> > >

> > > http://www.php.net/manual/en/install.windows.php

> > >

> > > http://www.php.net/tut.php

> > >

> > >

> > > Good luck!

> > >

> > > nik

> > >

> > > > -----Original Message-----

> > > > From: Abdul Sami [mailto:abdul_sami_20@y...]

> > > > Sent: Saturday, February 23, 2002 2:29 PM

> > > > To: beginning php

> > > > Subject: [beginning_php] i am new to php

> > > >

> > > >

> > > > Hi everyone,

> > > > I want to ask about how to start php on window 9x/me,

> > > regarding

> > > > running a simple php file.

> > > > Please tell me steps to do that.

> > > > Thanks and Regards.

> > > >

> > > >

> > > >

> > > > =====

> > > > Abdul Sami

> > > >

> > > > __________________________________________________

> > > > Do You Yahoo!?

> > > > Yahoo! Sports - Coverage of the 2002 Olympic Games

> > > > http://sports.yahoo.com

> > > >



> http://p2p.wrox.com/manager.asp

> > > or


> > > > $subst('Email.Unsub').

> > >

> > >

> > > ---

> > > Change your mail options at http://p2p.wrox.com/manager.asp

> or


> > $subst('Email.Unsub').

> >

> >

> > =====

> > Abdul Sami

> >

> > __________________________________________________

> > Do You Yahoo!?

> > Yahoo! Sports - Coverage of the 2002 Olympic Games

> > http://sports.yahoo.com

> >

> > ---

> > Change your mail options at http://p2p.wrox.com/manager.asp

> or


> > $subst('Email.Unsub').

> 

> 




$subst('Email.Unsub').





=====

Abdul Sami



__________________________________________________

Do You Yahoo!?

Yahoo! Sports - Coverage of the 2002 Olympic Games

http://sports.yahoo.com


  Return to Index