Re: Beginner's Teething Problems
| From: | DL Neil | Date: | Mon, 25 Feb 2002 12:21:12 +0000 |
| Subject: | Re: Beginner's Teething Problems | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12264@lists.php.net to get a copy of this message | ||
Hi Lindsay,
> These probably sound like really trivial and stupid questions to you but I
> am a newcomer in this field. I have literally started looking at PHP this
> weekend as I have been given a project in work to do and PHP seemed like the
> best option. I have some previous programming experince so not a complete
> novice at this type of thing.
=it is said that there is no such thing as a stupid question - only stupid answers. Sometimes the
newer members
of the list stretch my belief in this - but not in this case!
> I have been looking through beginner's tutorials on sites and invested in a
> couple of books, but I am having problems. I have come to realise that there
> are two different ways of doing PHP. You can embed it into you html file and
> save it as html or write the code and save it as .php file. I have copied
> expamples letter by letter and cannot get anything to work. Not sure why but
> I am pretty sure it's something stupid I have missed. I have tried creating
> html files with the PHP embedded into them and also saving the code ad .php
> files. When I try and open them in my IE browser window I get nothing.
> Anyone any ideas what I may be missing. I am getting rather frustrated with
> it now.
It sounds as if you are opening the .htm[l] or .php file in your browser. Remember that PHP requires
server-side
processing, so a page must be called from a web server (which is in turn interfacing to PHP). Can
you set up
your own web server, or a virtual server somewhere?
Let us know if that's not 'it'!
=dn