From: kranthi on
they should be something like error_log-[date] not sure about windows though

>>However I have found that if I paste the html into my web page created by Serif WebPlus 10 I get the "html" line but not the "php" line.

are you saying that you are getting the php code in your browser ?
<?php
echo "<p>This is a PHP line</p>";
phpinfo();
?>
From: "Col Day" on
Hi Kranthi,

No, I just literally get the "HTML" line shown but absolutely nothing
beneath it.

"kranthi" <kranthi117(a)gmail.com> wrote in message
news:AANLkTin2xnthqM-Pp7qwtGO=SQtKcttHtWz+08BbWCyF(a)mail.gmail.com...
> they should be something like error_log-[date] not sure about windows
> though
>
>>>However I have found that if I paste the html into my web page created by
>>>Serif WebPlus 10 I get the "html" line but not the "php" line.
>
> are you saying that you are getting the php code in your browser ?
> <?php
> echo "<p>This is a PHP line</p>";
> phpinfo();
> ?>

From: Steve Staples on
Col.

Since you're new to php, then an easy way to install apache, is using
XAMPP ( http://www.apachefriends.org/en/xampp.html )

I would suggest you remove the apache you have installed, and the php
you installed, and install the XAMPP package as it comes prebuilt with
mysql, ftp, apache and php, and it is simple to use/work with.

And if you install to defaults there, you will put your web files into
C:\xampp\htdocs\ and everythign should just work.

The way i read your initial post, is that you installed just apache, and
just php... if you did this, then you may not have integrated php into
apache properly, so then your php pages will not work.

just my $0.02 here, cuz if it doesn't work after you install XAMPP, then
there is something else wrong.

And the other thing, is that you're running on vista, and vista doesn't
like things running on localhost (or at least it didn't used to)

Steve


On Mon, 2010-10-04 at 13:51 +0100, Col Day wrote:
> Hi Kranthi,
>
> No, I just literally get the "HTML" line shown but absolutely nothing
> beneath it.
>
> "kranthi" <kranthi117(a)gmail.com> wrote in message
> news:AANLkTin2xnthqM-Pp7qwtGO=SQtKcttHtWz+08BbWCyF(a)mail.gmail.com...
> > they should be something like error_log-[date] not sure about windows
> > though
> >
> >>>However I have found that if I paste the html into my web page created by
> >>>Serif WebPlus 10 I get the "html" line but not the "php" line.
> >
> > are you saying that you are getting the php code in your browser ?
> > <?php
> > echo "<p>This is a PHP line</p>";
> > phpinfo();
> > ?>
>
>


From: "Col Day" on
Steve,

That's superb, many thanks for the link! I shall give it a go!

Yes I did install apache then php, however I tried to follow the
instructions in the Dummies book (what does it make me if I can't follow the
dummies book?) but to no avail.

I have just printed off the first 40 pages so that i can read it whilst
looking at the screen ratrher than switching about, however I will give
Xammp a go first and foremost seeing as I only want to test my own web page
before I start to buy hosting elsewhere.

Seeing as you are so great :-) Any ideas of the best way to script an upload
page that will deliver files to the server?

Family photo's and video clips mainly.

Thoughts?

Also, many thanks to everyone who has tried to help a muppet. But I guess we
all gotta start somewhere!

Cheers again!

"Steve Staples" <sstaples(a)mnsi.net> wrote in message
news:1286202653.4703.48.camel(a)webdev01...
> Col.
>
> Since you're new to php, then an easy way to install apache, is using
> XAMPP ( http://www.apachefriends.org/en/xampp.html )
>
> I would suggest you remove the apache you have installed, and the php
> you installed, and install the XAMPP package as it comes prebuilt with
> mysql, ftp, apache and php, and it is simple to use/work with.
>
> And if you install to defaults there, you will put your web files into
> C:\xampp\htdocs\ and everythign should just work.
>
> The way i read your initial post, is that you installed just apache, and
> just php... if you did this, then you may not have integrated php into
> apache properly, so then your php pages will not work.
>
> just my $0.02 here, cuz if it doesn't work after you install XAMPP, then
> there is something else wrong.
>
> And the other thing, is that you're running on vista, and vista doesn't
> like things running on localhost (or at least it didn't used to)
>
> Steve
>
>
> On Mon, 2010-10-04 at 13:51 +0100, Col Day wrote:
>> Hi Kranthi,
>>
>> No, I just literally get the "HTML" line shown but absolutely nothing
>> beneath it.
>>
>> "kranthi" <kranthi117(a)gmail.com> wrote in message
>> news:AANLkTin2xnthqM-Pp7qwtGO=SQtKcttHtWz+08BbWCyF(a)mail.gmail.com...
>> > they should be something like error_log-[date] not sure about windows
>> > though
>> >
>> >>>However I have found that if I paste the html into my web page created
>> >>>by
>> >>>Serif WebPlus 10 I get the "html" line but not the "php" line.
>> >
>> > are you saying that you are getting the php code in your browser ?
>> > <?php
>> > echo "<p>This is a PHP line</p>";
>> > phpinfo();
>> > ?>
>>
>>
>
>

From: "Col Day" on
In addition, I think I may have got to the bottom of what I was doing wrong
in the first place.

I recently swapped out my laptop for my wifes one (she upgraded, well I
upgraded hers, and I got the old one) and I forgot that this one didn't
automatically boot up into the Administrator profile.

Doh!

Cheers again all!


""Col Day"" <colinday3(a)aol.com> wrote in message
news:A2.70.25536.9A5F9AC4(a)pb1.pair.com...
> Steve,
>
> That's superb, many thanks for the link! I shall give it a go!
>
> Yes I did install apache then php, however I tried to follow the
> instructions in the Dummies book (what does it make me if I can't follow
> the dummies book?) but to no avail.
>
> I have just printed off the first 40 pages so that i can read it whilst
> looking at the screen ratrher than switching about, however I will give
> Xammp a go first and foremost seeing as I only want to test my own web
> page before I start to buy hosting elsewhere.
>
> Seeing as you are so great :-) Any ideas of the best way to script an
> upload page that will deliver files to the server?
>
> Family photo's and video clips mainly.
>
> Thoughts?
>
> Also, many thanks to everyone who has tried to help a muppet. But I guess
> we all gotta start somewhere!
>
> Cheers again!
>
> "Steve Staples" <sstaples(a)mnsi.net> wrote in message
> news:1286202653.4703.48.camel(a)webdev01...
>> Col.
>>
>> Since you're new to php, then an easy way to install apache, is using
>> XAMPP ( http://www.apachefriends.org/en/xampp.html )
>>
>> I would suggest you remove the apache you have installed, and the php
>> you installed, and install the XAMPP package as it comes prebuilt with
>> mysql, ftp, apache and php, and it is simple to use/work with.
>>
>> And if you install to defaults there, you will put your web files into
>> C:\xampp\htdocs\ and everythign should just work.
>>
>> The way i read your initial post, is that you installed just apache, and
>> just php... if you did this, then you may not have integrated php into
>> apache properly, so then your php pages will not work.
>>
>> just my $0.02 here, cuz if it doesn't work after you install XAMPP, then
>> there is something else wrong.
>>
>> And the other thing, is that you're running on vista, and vista doesn't
>> like things running on localhost (or at least it didn't used to)
>>
>> Steve
>>
>>
>> On Mon, 2010-10-04 at 13:51 +0100, Col Day wrote:
>>> Hi Kranthi,
>>>
>>> No, I just literally get the "HTML" line shown but absolutely nothing
>>> beneath it.
>>>
>>> "kranthi" <kranthi117(a)gmail.com> wrote in message
>>> news:AANLkTin2xnthqM-Pp7qwtGO=SQtKcttHtWz+08BbWCyF(a)mail.gmail.com...
>>> > they should be something like error_log-[date] not sure about windows
>>> > though
>>> >
>>> >>>However I have found that if I paste the html into my web page
>>> >>>created by
>>> >>>Serif WebPlus 10 I get the "html" line but not the "php" line.
>>> >
>>> > are you saying that you are getting the php code in your browser ?
>>> > <?php
>>> > echo "<p>This is a PHP line</p>";
>>> > phpinfo();
>>> > ?>
>>>
>>>
>>
>>
>