Having a problem with connection

Hi!

Here is the code for a php file:

<html>
<head>
<title>Hello World Message</title>
</head>
<body>
<?php echo "<p><em>Hello World from the Web Server</em></p>";?>
</body>
</html>

I've saved it as HelloWorldMessage.php

I copied it to inetpub/wwwroot

Then I go to the browser and type:
http://localhost/HelloWorldMessage.php and then return.

It then asks me how I want to open the file - notepad or other. If I
choose other - then choose Mozilla it will open in the browser as:

Hello World from the Web Server

",?>

What am I doing wrong? We did a similar program in class the other day
and it came up fine.
DrNoose [ Di, 10 April 2007 17:27 ] [ ID #1683480 ]

Re: Having a problem with connection

your web server, iis, is not configured properly. you are using php on
windows as a cgi application. you need to have iis peon off anything ending
in .php to the php executable.

don't know how to do that? rtfm.

;^)


"DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
news:461bacd2$0$5613$4c368faf [at] roadrunner.com...
| Hi!
|
| Here is the code for a php file:
|
| <html>
| <head>
| <title>Hello World Message</title>
| </head>
| <body>
| <?php echo "<p><em>Hello World from the Web Server</em></p>";?>
| </body>
| </html>
|
| I've saved it as HelloWorldMessage.php
|
| I copied it to inetpub/wwwroot
|
| Then I go to the browser and type:
| http://localhost/HelloWorldMessage.php and then return.
|
| It then asks me how I want to open the file - notepad or other. If I
| choose other - then choose Mozilla it will open in the browser as:
|
| Hello World from the Web Server
|
| ",?>
|
| What am I doing wrong? We did a similar program in class the other day
| and it came up fine.
Steve [ Di, 10 April 2007 17:37 ] [ ID #1683481 ]

Re: Having a problem with connection

Steve wrote:
> your web server, iis, is not configured properly. you are using php on
> windows as a cgi application. you need to have iis peon off anything ending
> in .php to the php executable.
>
> don't know how to do that? rtfm.
>
> ;^)
>
>
> "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
> news:461bacd2$0$5613$4c368faf [at] roadrunner.com...
> | Hi!
> |
> | Here is the code for a php file:
> |
> | <html>
> | <head>
> | <title>Hello World Message</title>
> | </head>
> | <body>
> | <?php echo "<p><em>Hello World from the Web Server</em></p>";?>
> | </body>
> | </html>
> |
> | I've saved it as HelloWorldMessage.php
> |
> | I copied it to inetpub/wwwroot
> |
> | Then I go to the browser and type:
> | http://localhost/HelloWorldMessage.php and then return.
> |
> | It then asks me how I want to open the file - notepad or other. If I
> | choose other - then choose Mozilla it will open in the browser as:
> |
> | Hello World from the Web Server
> |
> | ",?>
> |
> | What am I doing wrong? We did a similar program in class the other day
> | and it came up fine.
>
>
I guess I am the iis peon! LOL

I used the teachers instructions and the book to set them both up! Not
sure what else to do.

Thanks!
DrNoose [ Di, 10 April 2007 17:56 ] [ ID #1683482 ]

Re: Having a problem with connection

as teachers often have their heads squarely planted up their ass when it
comes to technology, i'd rtfM. however, students usually have theirs
embedded farther up the sphincter and are quick to blame their teacher.
usually it comes down to you not following ALL the directions given.

i'd remove php entirely from your pc in whatever hap-hazard fashion you've
pieced it together on your system. i'd then go to us2.php.net and download
the php installer. it's more your speed...point and click...and then begin
writing shitty code. ;^)

so, i suppose we can expect to see more posts from you where the questions
posed could be resolved by yourself were you not a silver-spoon,
lacsidaisical midget of academia?


"DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
news:461bb3a2$0$16676$4c368faf [at] roadrunner.com...
| Steve wrote:
| > your web server, iis, is not configured properly. you are using php on
| > windows as a cgi application. you need to have iis peon off anything
ending
| > in .php to the php executable.
| >
| > don't know how to do that? rtfm.
| >
| > ;^)
| >
| >
| > "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
| > news:461bacd2$0$5613$4c368faf [at] roadrunner.com...
| > | Hi!
| > |
| > | Here is the code for a php file:
| > |
| > | <html>
| > | <head>
| > | <title>Hello World Message</title>
| > | </head>
| > | <body>
| > | <?php echo "<p><em>Hello World from the Web Server</em></p>";?>
| > | </body>
| > | </html>
| > |
| > | I've saved it as HelloWorldMessage.php
| > |
| > | I copied it to inetpub/wwwroot
| > |
| > | Then I go to the browser and type:
| > | http://localhost/HelloWorldMessage.php and then return.
| > |
| > | It then asks me how I want to open the file - notepad or other. If I
| > | choose other - then choose Mozilla it will open in the browser as:
| > |
| > | Hello World from the Web Server
| > |
| > | ",?>
| > |
| > | What am I doing wrong? We did a similar program in class the other day
| > | and it came up fine.
| >
| >
| I guess I am the iis peon! LOL
|
| I used the teachers instructions and the book to set them both up! Not
| sure what else to do.
|
| Thanks!
Steve [ Di, 10 April 2007 18:12 ] [ ID #1683483 ]

Re: Having a problem with connection

Steve wrote:
> as teachers often have their heads squarely planted up their ass when it
> comes to technology, i'd rtfM. however, students usually have theirs
> embedded farther up the sphincter and are quick to blame their teacher.
> usually it comes down to you not following ALL the directions given.
>
> i'd remove php entirely from your pc in whatever hap-hazard fashion you've
> pieced it together on your system. i'd then go to us2.php.net and download
> the php installer. it's more your speed...point and click...and then begin
> writing shitty code. ;^)
>
> so, i suppose we can expect to see more posts from you where the questions
> posed could be resolved by yourself were you not a silver-spoon,
> lacsidaisical midget of academia?
>
>
> "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
> news:461bb3a2$0$16676$4c368faf [at] roadrunner.com...
> | Steve wrote:
> | > your web server, iis, is not configured properly. you are using php on
> | > windows as a cgi application. you need to have iis peon off anything
> ending
> | > in .php to the php executable.
> | >
> | > don't know how to do that? rtfm.
> | >
> | > ;^)
> | >
> | >
> | > "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
> | > news:461bacd2$0$5613$4c368faf [at] roadrunner.com...
> | > | Hi!
> | > |
> | > | Here is the code for a php file:
> | > |
> | > | <html>
> | > | <head>
> | > | <title>Hello World Message</title>
> | > | </head>
> | > | <body>
> | > | <?php echo "<p><em>Hello World from the Web Server</em></p>";?>
> | > | </body>
> | > | </html>
> | > |
> | > | I've saved it as HelloWorldMessage.php
> | > |
> | > | I copied it to inetpub/wwwroot
> | > |
> | > | Then I go to the browser and type:
> | > | http://localhost/HelloWorldMessage.php and then return.
> | > |
> | > | It then asks me how I want to open the file - notepad or other. If I
> | > | choose other - then choose Mozilla it will open in the browser as:
> | > |
> | > | Hello World from the Web Server
> | > |
> | > | ",?>
> | > |
> | > | What am I doing wrong? We did a similar program in class the other day
> | > | and it came up fine.
> | >
> | >
> | I guess I am the iis peon! LOL
> |
> | I used the teachers instructions and the book to set them both up! Not
> | sure what else to do.
> |
> | Thanks!
>
>
What a tool you are!!!!!! I thought this newsgroup was here to help
people who had questions or problems with their code; not to degrade
them because they are a teacher or student. I'm not a "silver-spoon,
lackadaisical (check your spelling next time!) midget of academia; just
a mom trying to go back to school and get a degree to help better herself!

BTW, I did get the problem fixed, but no thanks to you and your smart
a** remarks!
DrNoose [ Di, 10 April 2007 22:46 ] [ ID #1683489 ]

Re: Having a problem with connection

ahhh...anger is a good motivator, no?

wasn't so hard, was it.


"DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
news:461bf78a$0$5760$4c368faf [at] roadrunner.com...
| Steve wrote:
| > as teachers often have their heads squarely planted up their ass when it
| > comes to technology, i'd rtfM. however, students usually have theirs
| > embedded farther up the sphincter and are quick to blame their teacher.
| > usually it comes down to you not following ALL the directions given.
| >
| > i'd remove php entirely from your pc in whatever hap-hazard fashion
you've
| > pieced it together on your system. i'd then go to us2.php.net and
download
| > the php installer. it's more your speed...point and click...and then
begin
| > writing shitty code. ;^)
| >
| > so, i suppose we can expect to see more posts from you where the
questions
| > posed could be resolved by yourself were you not a silver-spoon,
| > lacsidaisical midget of academia?
| >
| >
| > "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
| > news:461bb3a2$0$16676$4c368faf [at] roadrunner.com...
| > | Steve wrote:
| > | > your web server, iis, is not configured properly. you are using php
on
| > | > windows as a cgi application. you need to have iis peon off anything
| > ending
| > | > in .php to the php executable.
| > | >
| > | > don't know how to do that? rtfm.
| > | >
| > | > ;^)
| > | >
| > | >
| > | > "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
| > | > news:461bacd2$0$5613$4c368faf [at] roadrunner.com...
| > | > | Hi!
| > | > |
| > | > | Here is the code for a php file:
| > | > |
| > | > | <html>
| > | > | <head>
| > | > | <title>Hello World Message</title>
| > | > | </head>
| > | > | <body>
| > | > | <?php echo "<p><em>Hello World from the Web Server</em></p>";?>
| > | > | </body>
| > | > | </html>
| > | > |
| > | > | I've saved it as HelloWorldMessage.php
| > | > |
| > | > | I copied it to inetpub/wwwroot
| > | > |
| > | > | Then I go to the browser and type:
| > | > | http://localhost/HelloWorldMessage.php and then return.
| > | > |
| > | > | It then asks me how I want to open the file - notepad or other. If
I
| > | > | choose other - then choose Mozilla it will open in the browser as:
| > | > |
| > | > | Hello World from the Web Server
| > | > |
| > | > | ",?>
| > | > |
| > | > | What am I doing wrong? We did a similar program in class the other
day
| > | > | and it came up fine.
| > | >
| > | >
| > | I guess I am the iis peon! LOL
| > |
| > | I used the teachers instructions and the book to set them both up! Not
| > | sure what else to do.
| > |
| > | Thanks!
| >
| >
| What a tool you are!!!!!! I thought this newsgroup was here to help
| people who had questions or problems with their code; not to degrade
| them because they are a teacher or student. I'm not a "silver-spoon,
| lackadaisical (check your spelling next time!) midget of academia; just
| a mom trying to go back to school and get a degree to help better herself!
|
| BTW, I did get the problem fixed, but no thanks to you and your smart
| a** remarks!
Steve [ Di, 10 April 2007 23:19 ] [ ID #1683490 ]

Re: Having a problem with connection

"Steve" <no.one [at] example.com> wrote in message news:UFOSh.17$yM5.5 [at] newsfe02.lga...
> so, i suppose we can expect to see more posts from you where the questions
> posed could be resolved by yourself were you not a silver-spoon,
> lacsidaisical midget of academia?

Lackadaisical. : P

What is weirdest to me is the fact that I have seen this word twice in two (maybe three)
days.

You following me?

-Lost
-Lost [ Di, 10 April 2007 23:45 ] [ ID #1683491 ]

Re: Having a problem with connection

Steve wrote:
> ahhh...anger is a good motivator, no?
>
> wasn't so hard, was it.
>
>
> "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
> news:461bf78a$0$5760$4c368faf [at] roadrunner.com...
> | Steve wrote:
> | > as teachers often have their heads squarely planted up their ass when it
> | > comes to technology, i'd rtfM. however, students usually have theirs
> | > embedded farther up the sphincter and are quick to blame their teacher.
> | > usually it comes down to you not following ALL the directions given.
> | >
> | > i'd remove php entirely from your pc in whatever hap-hazard fashion
> you've
> | > pieced it together on your system. i'd then go to us2.php.net and
> download
> | > the php installer. it's more your speed...point and click...and then
> begin
> | > writing shitty code. ;^)
> | >
> | > so, i suppose we can expect to see more posts from you where the
> questions
> | > posed could be resolved by yourself were you not a silver-spoon,
> | > lacsidaisical midget of academia?
> | >
> | >
> | > "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
> | > news:461bb3a2$0$16676$4c368faf [at] roadrunner.com...
> | > | Steve wrote:
> | > | > your web server, iis, is not configured properly. you are using php
> on
> | > | > windows as a cgi application. you need to have iis peon off anything
> | > ending
> | > | > in .php to the php executable.
> | > | >
> | > | > don't know how to do that? rtfm.
> | > | >
> | > | > ;^)
> | > | >
> | > | >
> | > | > "DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
> | > | > news:461bacd2$0$5613$4c368faf [at] roadrunner.com...
> | > | > | Hi!
> | > | > |
> | > | > | Here is the code for a php file:
> | > | > |
> | > | > | <html>
> | > | > | <head>
> | > | > | <title>Hello World Message</title>
> | > | > | </head>
> | > | > | <body>
> | > | > | <?php echo "<p><em>Hello World from the Web Server</em></p>";?>
> | > | > | </body>
> | > | > | </html>
> | > | > |
> | > | > | I've saved it as HelloWorldMessage.php
> | > | > |
> | > | > | I copied it to inetpub/wwwroot
> | > | > |
> | > | > | Then I go to the browser and type:
> | > | > | http://localhost/HelloWorldMessage.php and then return.
> | > | > |
> | > | > | It then asks me how I want to open the file - notepad or other. If
> I
> | > | > | choose other - then choose Mozilla it will open in the browser as:
> | > | > |
> | > | > | Hello World from the Web Server
> | > | > |
> | > | > | ",?>
> | > | > |
> | > | > | What am I doing wrong? We did a similar program in class the other
> day
> | > | > | and it came up fine.
> | > | >
> | > | >
> | > | I guess I am the iis peon! LOL
> | > |
> | > | I used the teachers instructions and the book to set them both up! Not
> | > | sure what else to do.
> | > |
> | > | Thanks!
> | >
> | >
> | What a tool you are!!!!!! I thought this newsgroup was here to help
> | people who had questions or problems with their code; not to degrade
> | them because they are a teacher or student. I'm not a "silver-spoon,
> | lackadaisical (check your spelling next time!) midget of academia; just
> | a mom trying to go back to school and get a degree to help better herself!
> |
> | BTW, I did get the problem fixed, but no thanks to you and your smart
> | a** remarks!
>
>
Again, no thanks to you!
DrNoose [ Di, 10 April 2007 23:49 ] [ ID #1683492 ]

Re: Having a problem with connection

"DrNoose" <drnoose [at] Idontthinkso.com> wrote in message
news:461c066f$0$4851$4c368faf [at] roadrunner.com...
| Steve wrote:
| > ahhh...anger is a good motivator, no?
| >
| > wasn't so hard, was it.

| Again, no thanks to you!

i wasn't offering help other than to say your problem was with iis
configuration. other than that, there are a billion examples of config for
millions of server setups...google, was my point. php.net isn't a bad place
to start either.
Steve [ Mi, 11 April 2007 05:02 ] [ ID #1684564 ]

Re: Having a problem with connection

"-Lost" <missed-spam [at] comcast.net> wrote in message
news:p62dnbTn3bDxmIHbnZ2dnUVZ_gmdnZ2d [at] comcast.com...
| "Steve" <no.one [at] example.com> wrote in message
news:UFOSh.17$yM5.5 [at] newsfe02.lga...
| > so, i suppose we can expect to see more posts from you where the
questions
| > posed could be resolved by yourself were you not a silver-spoon,
| > lacsidaisical midget of academia?
|
| Lackadaisical. : P
|
| What is weirdest to me is the fact that I have seen this word twice in two
(maybe three)
| days.
|
| You following me?

surely not *all* penned by me.

:)
Steve [ Mi, 11 April 2007 05:03 ] [ ID #1684565 ]

Re: Having a problem with connection

"Steve" <no.one [at] example.com> wrote in message news:hcYSh.84$Ob5.19 [at] newsfe04.lga...
>
> "-Lost" <missed-spam [at] comcast.net> wrote in message
> news:p62dnbTn3bDxmIHbnZ2dnUVZ_gmdnZ2d [at] comcast.com...
> | "Steve" <no.one [at] example.com> wrote in message
> news:UFOSh.17$yM5.5 [at] newsfe02.lga...
> | > so, i suppose we can expect to see more posts from you where the
> questions
> | > posed could be resolved by yourself were you not a silver-spoon,
> | > lacsidaisical midget of academia?
> |
> | Lackadaisical. : P
> |
> | What is weirdest to me is the fact that I have seen this word twice in two
> (maybe three)
> | days.
> |
> | You following me?
>
> surely not *all* penned by me.
>
> :)

No, no... not all by you.

Then again, you could go by some covert name whilst not perusing the depths of alt.php.

Funny thing is, in the IMDB thread where it was posted in response to me, the
Administrator (or one of them) deleted the post. So I have no clue who it was.

If I remember correctly I was called "lackadaisical" for my want of an English dubbing of
"Pan's Labyrinth" also known as "El Laberinto del fauno."

-Lost
-Lost [ Mi, 11 April 2007 13:54 ] [ ID #1684572 ]

Re: Having a problem with connection

"-Lost" <missed-spam [at] comcast.net> wrote in message
news:4vCdnSYXqYb0UYHbnZ2dnUVZ_tOmnZ2d [at] comcast.com...
| "Steve" <no.one [at] example.com> wrote in message
news:hcYSh.84$Ob5.19 [at] newsfe04.lga...
| >
| > "-Lost" <missed-spam [at] comcast.net> wrote in message
| > news:p62dnbTn3bDxmIHbnZ2dnUVZ_gmdnZ2d [at] comcast.com...
| > | "Steve" <no.one [at] example.com> wrote in message
| > news:UFOSh.17$yM5.5 [at] newsfe02.lga...
| > | > so, i suppose we can expect to see more posts from you where the
| > questions
| > | > posed could be resolved by yourself were you not a silver-spoon,
| > | > lacsidaisical midget of academia?
| > |
| > | Lackadaisical. : P
| > |
| > | What is weirdest to me is the fact that I have seen this word twice in
two
| > (maybe three)
| > | days.
| > |
| > | You following me?
| >
| > surely not *all* penned by me.
| >
| > :)
|
| No, no... not all by you.
|
| Then again, you could go by some covert name whilst not perusing the
depths of alt.php.

no...i'm always me - extremely helpful tempered only by my extreme
intolerance of thoughtlessness.

| Funny thing is, in the IMDB thread where it was posted in response to me,
the
| Administrator (or one of them) deleted the post. So I have no clue who it
was.
|
| If I remember correctly I was called "lackadaisical" for my want of an
English dubbing of
| "Pan's Labyrinth" also known as "El Laberinto del fauno."

first, i can't even spell it so that's a good hint. ;^)
second, i've yet to read it...i enjoy non-fiction best and only endulge
fiction with classics or others that come highly recommended.

some think i may be a bit harsh or even bipolar since i'm an ass one minute
but bending over backward the next to help. i'm just reactionary. if you
look like you're being lazy, i should be offended that you want to take my
time...else, i'm glad to help.

anyway, i can't recall our paths crossing over the former. :)
Steve [ Mi, 11 April 2007 15:30 ] [ ID #1684576 ]

Re: Having a problem with connection

Post removed (X-No-Archive: yes)
Notifier Deamon [ Mi, 11 April 2007 19:55 ] [ ID #1684579 ]
PHP » alt.php » Having a problem with connection

Vorheriges Thema: Max Connections Per Hour?
Nächstes Thema: Help Needed: OOP