FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Runs In WinXP Command Window But Not In Browser
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173597 is a reply to message #173595] Wed, 20 April 2011 04:11 Go to previous messageGo to next message
Mr. B-o-B is currently offline  Mr. B-o-B
Messages: 42
Registered: April 2011
Karma: 0
Member
On 4/19/2011 9:58 PM, Jerry Stuckle cried from the depths of the abyss:
> On 4/19/2011 10:27 PM, Mr. B-o-B wrote:
>> On 4/19/2011 9:12 PM, Jerry Stuckle cried from the depths of the abyss:
>>> On 4/19/2011 10:00 PM, Mr. B-o-B wrote:
>>>> On 4/19/2011 6:52 PM, Jerry Stuckle cried from the depths of the abyss:
>>>> > On 4/19/2011 7:50 AM, Mr. B-o-B wrote:
>>>> >> On 4/19/2011 5:03 AM, Jerry Stuckle wrote:
>>>> >>> On 4/18/2011 11:05 PM, Mr. B-o-B wrote:
>>>> >>>> On 4/18/2011 7:14 PM, Jerry Stuckle wrote:
>>>> >>>>> On 4/18/2011 7:07 PM, James Carlock wrote:
>>>> >>>>>> "Peter Lauren"<peterdlauren at gmail.com> wrote...
>>>> >>>>>>> On Mon, 18 Apr 2011 09:44:31 -0700, Peter Lauren
>>>> >>>>>>> wrote:
>>>> >>>>>>>
>>>> >>>>>>> I've registered a domain name. Would I set up a
>>>> >>>>>>> DNS server though a web host like GoDaddy or would
>>>> >>>>>>> I be jsut as well using a free DNS server?
>>>> >>>>>>
>>>> >>>>>> GoDaddy provides the DNS servers when you buy hosting
>>>> >>>>>> through them. They provide a webpage to configure the
>>>> >>>>>> DNS servers. NOTE: Every change you make to the DNS
>>>> >>>>>> there may take up to 24 hours (or longer) to get
>>>> >>>>>> processed. Also, once you make a change to ANY DNS
>>>> >>>>>> the server, based on how they (the hosting company)
>>>> >>>>>> set up the server and the times they place in the
>>>> >>>>>> server, pushes the domain names out to some master
>>>> >>>>>> servers.
>>>> >>>>>>
>>>> >>>>>> GoDaddy provides webpages describing how to set up
>>>> >>>>>> their DNS (which basically configures a set of IP
>>>> >>>>>> their IP addresses to point to your domain name(s)
>>>> >>>>>> and vice versa).
>>>> >>>>>>
>>>> >>>>>> Configure Apache on your XP machine to run PHP and
>>>> >>>>>> then use your IP address as a SERVERNAME for the
>>>> >>>>>> very first parameter. You can use the hosts file
>>>> >>>>>> to configure the IP address to the host name as
>>>> >>>>>> well for a quick and easy way to configure DNS
>>>> >>>>>> for self-testing on XP.
>>>> >>>>>>
>>>> >>>>>> Find the "hosts" file in:
>>>> >>>>>>
>>>> >>>>>> %SystemRoot%\system32\drivers\etc
>>>> >>>>>>
>>>> >>>>>> It might take a day or two to get to know how it
>>>> >>>>>> all operates but the experience lasts forever.
>>>> >>>>>>
>>>> >>>>>
>>>> >>>>> Which only works if he has a static IP. Almost all home IP's are
>>>> >>>>> dynamic. As soon as his IP changes, he's out of luck
>>>> >>>>>
>>>> >>>>> That's why he needs to be in an appropriate newsgroup for these
>>>> >>>>> questions - he'll get good answers.
>>>> >>>>>
>>>> >>>>
>>>> >>>> Not entirely true. One can use a service like DynDNS with a
>>>> >>>> dynamic IP
>>>> >>>> to handle the DNS. There are many clients available (for all
>>>> >>>> flavors of
>>>> >>>> OS's) that will update the DNS if the IP changes. A lot of cheap
>>>> >>>> soho
>>>> >>>> routers now come with a dynamic dns client for various dyndns like
>>>> >>>> services. I have done this at my house for over a decade without
>>>> >>>> any
>>>> >>>> trouble.
>>>> >>>>
>>>> >>>> All the OP needs to do is setup an account with anyone of the
>>>> >>>> dyndns
>>>> >>>> like services, point the godaddy domain name to the dyndns like dns
>>>> >>>> servers. Easy.
>>>> >>>
>>>> >>> But GoDaddy isn't DynDNS, is it? Try reading the questions.
>>>> >>
>>>> >> No it's not. It's a domain register. As I said, point the godaddy
>>>> >> dormain
>>>> >> to DynDns.... Try reading the answer next time.
>>>> >>
>>>> >
>>>> > Oh, I read your post. It's as full of crap as most of the rest of them
>>>> > are. First of all, you assume he's using godaddy. There are much
>>>> > better
>>>> > registrars out there.
>>>> >
>>>> > And you didn't even bother to respond to the rest of my points -
>>>> > because
>>>> > you know I'm right.
>>>> >
>>>> > But that's pretty normal for you.
>>>>
>>>> Yawn...
>>>>
>>>
>>> Most intelligent thing you've said in this newsgroup yet.
>>>
>>
>> Dance Jerry Dance...LOL
>
> ROFLMAO! Look who's doing the dance! Not I, mister "I don't want anyone
> to know who I am because I don't want them to know just how stoopid I
> am" troll.
>
> M
>

For the record I never vouched for godaddy or claimed they are great.
The method I mentioned is universal. Your points are irrelevant.
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173601 is a reply to message #173597] Wed, 20 April 2011 09:20 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 4/20/2011 12:11 AM, Mr. B-o-B wrote:
> On 4/19/2011 9:58 PM, Jerry Stuckle cried from the depths of the abyss:
>> On 4/19/2011 10:27 PM, Mr. B-o-B wrote:
>>> On 4/19/2011 9:12 PM, Jerry Stuckle cried from the depths of the abyss:
>>>> On 4/19/2011 10:00 PM, Mr. B-o-B wrote:
>>>> > On 4/19/2011 6:52 PM, Jerry Stuckle cried from the depths of the
>>>> > abyss:
>>>> >> On 4/19/2011 7:50 AM, Mr. B-o-B wrote:
>>>> >>> On 4/19/2011 5:03 AM, Jerry Stuckle wrote:
>>>> >>>> On 4/18/2011 11:05 PM, Mr. B-o-B wrote:
>>>> >>>>> On 4/18/2011 7:14 PM, Jerry Stuckle wrote:
>>>> >>>>>> On 4/18/2011 7:07 PM, James Carlock wrote:
>>>> >>>>>>> "Peter Lauren"<peterdlauren at gmail.com> wrote...
>>>> >>>>>>>> On Mon, 18 Apr 2011 09:44:31 -0700, Peter Lauren
>>>> >>>>>>>> wrote:
>>>> >>>>>>>>
>>>> >>>>>>>> I've registered a domain name. Would I set up a
>>>> >>>>>>>> DNS server though a web host like GoDaddy or would
>>>> >>>>>>>> I be jsut as well using a free DNS server?
>>>> >>>>>>>
>>>> >>>>>>> GoDaddy provides the DNS servers when you buy hosting
>>>> >>>>>>> through them. They provide a webpage to configure the
>>>> >>>>>>> DNS servers. NOTE: Every change you make to the DNS
>>>> >>>>>>> there may take up to 24 hours (or longer) to get
>>>> >>>>>>> processed. Also, once you make a change to ANY DNS
>>>> >>>>>>> the server, based on how they (the hosting company)
>>>> >>>>>>> set up the server and the times they place in the
>>>> >>>>>>> server, pushes the domain names out to some master
>>>> >>>>>>> servers.
>>>> >>>>>>>
>>>> >>>>>>> GoDaddy provides webpages describing how to set up
>>>> >>>>>>> their DNS (which basically configures a set of IP
>>>> >>>>>>> their IP addresses to point to your domain name(s)
>>>> >>>>>>> and vice versa).
>>>> >>>>>>>
>>>> >>>>>>> Configure Apache on your XP machine to run PHP and
>>>> >>>>>>> then use your IP address as a SERVERNAME for the
>>>> >>>>>>> very first parameter. You can use the hosts file
>>>> >>>>>>> to configure the IP address to the host name as
>>>> >>>>>>> well for a quick and easy way to configure DNS
>>>> >>>>>>> for self-testing on XP.
>>>> >>>>>>>
>>>> >>>>>>> Find the "hosts" file in:
>>>> >>>>>>>
>>>> >>>>>>> %SystemRoot%\system32\drivers\etc
>>>> >>>>>>>
>>>> >>>>>>> It might take a day or two to get to know how it
>>>> >>>>>>> all operates but the experience lasts forever.
>>>> >>>>>>>
>>>> >>>>>>
>>>> >>>>>> Which only works if he has a static IP. Almost all home IP's are
>>>> >>>>>> dynamic. As soon as his IP changes, he's out of luck
>>>> >>>>>>
>>>> >>>>>> That's why he needs to be in an appropriate newsgroup for these
>>>> >>>>>> questions - he'll get good answers.
>>>> >>>>>>
>>>> >>>>>
>>>> >>>>> Not entirely true. One can use a service like DynDNS with a
>>>> >>>>> dynamic IP
>>>> >>>>> to handle the DNS. There are many clients available (for all
>>>> >>>>> flavors of
>>>> >>>>> OS's) that will update the DNS if the IP changes. A lot of cheap
>>>> >>>>> soho
>>>> >>>>> routers now come with a dynamic dns client for various dyndns like
>>>> >>>>> services. I have done this at my house for over a decade without
>>>> >>>>> any
>>>> >>>>> trouble.
>>>> >>>>>
>>>> >>>>> All the OP needs to do is setup an account with anyone of the
>>>> >>>>> dyndns
>>>> >>>>> like services, point the godaddy domain name to the dyndns like
>>>> >>>>> dns
>>>> >>>>> servers. Easy.
>>>> >>>>
>>>> >>>> But GoDaddy isn't DynDNS, is it? Try reading the questions.
>>>> >>>
>>>> >>> No it's not. It's a domain register. As I said, point the godaddy
>>>> >>> dormain
>>>> >>> to DynDns.... Try reading the answer next time.
>>>> >>>
>>>> >>
>>>> >> Oh, I read your post. It's as full of crap as most of the rest of
>>>> >> them
>>>> >> are. First of all, you assume he's using godaddy. There are much
>>>> >> better
>>>> >> registrars out there.
>>>> >>
>>>> >> And you didn't even bother to respond to the rest of my points -
>>>> >> because
>>>> >> you know I'm right.
>>>> >>
>>>> >> But that's pretty normal for you.
>>>> >
>>>> > Yawn...
>>>> >
>>>>
>>>> Most intelligent thing you've said in this newsgroup yet.
>>>>
>>>
>>> Dance Jerry Dance...LOL
>>
>> ROFLMAO! Look who's doing the dance! Not I, mister "I don't want anyone
>> to know who I am because I don't want them to know just how stoopid I
>> am" troll.
>>
>> M
>>
>
> For the record I never vouched for godaddy or claimed they are great.
> The method I mentioned is universal. Your points are irrelevant.

LOL, trying to weasel your way out of you incorrect assumptions again?
And still ignoring your incorrect statements.

Go back to the "Yawn", troll - it was much more intelligent than your "I
want to remain anonymous so people don't know how stoopid I am".

Now, roll over, boy!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173604 is a reply to message #173597] Wed, 20 April 2011 10:30 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Mr. B-o-B wrote:
> On 4/19/2011 9:58 PM, Jerry Stuckle cried from the depths of the abyss:
>> On 4/19/2011 10:27 PM, Mr. B-o-B wrote:
>>> On 4/19/2011 9:12 PM, Jerry Stuckle cried from the depths of the abyss:
>>>> On 4/19/2011 10:00 PM, Mr. B-o-B wrote:
>>>> > On 4/19/2011 6:52 PM, Jerry Stuckle cried from the depths of the
>>>> > abyss:
>>>> >> On 4/19/2011 7:50 AM, Mr. B-o-B wrote:
>>>> >>> On 4/19/2011 5:03 AM, Jerry Stuckle wrote:
>>>> >>>> On 4/18/2011 11:05 PM, Mr. B-o-B wrote:
>>>> >>>>> On 4/18/2011 7:14 PM, Jerry Stuckle wrote:
>>>> >>>>>> On 4/18/2011 7:07 PM, James Carlock wrote:
>>>> >>>>>>> "Peter Lauren"<peterdlauren at gmail.com> wrote...
>>>> >>>>>>>> On Mon, 18 Apr 2011 09:44:31 -0700, Peter Lauren
>>>> >>>>>>>> wrote:
>>>> >>>>>>>>
>>>> >>>>>>>> I've registered a domain name. Would I set up a
>>>> >>>>>>>> DNS server though a web host like GoDaddy or would
>>>> >>>>>>>> I be jsut as well using a free DNS server?
>>>> >>>>>>>
>>>> >>>>>>> GoDaddy provides the DNS servers when you buy hosting
>>>> >>>>>>> through them. They provide a webpage to configure the
>>>> >>>>>>> DNS servers. NOTE: Every change you make to the DNS
>>>> >>>>>>> there may take up to 24 hours (or longer) to get
>>>> >>>>>>> processed. Also, once you make a change to ANY DNS
>>>> >>>>>>> the server, based on how they (the hosting company)
>>>> >>>>>>> set up the server and the times they place in the
>>>> >>>>>>> server, pushes the domain names out to some master
>>>> >>>>>>> servers.
>>>> >>>>>>>
>>>> >>>>>>> GoDaddy provides webpages describing how to set up
>>>> >>>>>>> their DNS (which basically configures a set of IP
>>>> >>>>>>> their IP addresses to point to your domain name(s)
>>>> >>>>>>> and vice versa).
>>>> >>>>>>>
>>>> >>>>>>> Configure Apache on your XP machine to run PHP and
>>>> >>>>>>> then use your IP address as a SERVERNAME for the
>>>> >>>>>>> very first parameter. You can use the hosts file
>>>> >>>>>>> to configure the IP address to the host name as
>>>> >>>>>>> well for a quick and easy way to configure DNS
>>>> >>>>>>> for self-testing on XP.
>>>> >>>>>>>
>>>> >>>>>>> Find the "hosts" file in:
>>>> >>>>>>>
>>>> >>>>>>> %SystemRoot%\system32\drivers\etc
>>>> >>>>>>>
>>>> >>>>>>> It might take a day or two to get to know how it
>>>> >>>>>>> all operates but the experience lasts forever.
>>>> >>>>>>>
>>>> >>>>>>
>>>> >>>>>> Which only works if he has a static IP. Almost all home IP's are
>>>> >>>>>> dynamic. As soon as his IP changes, he's out of luck
>>>> >>>>>>
>>>> >>>>>> That's why he needs to be in an appropriate newsgroup for these
>>>> >>>>>> questions - he'll get good answers.
>>>> >>>>>>
>>>> >>>>>
>>>> >>>>> Not entirely true. One can use a service like DynDNS with a
>>>> >>>>> dynamic IP
>>>> >>>>> to handle the DNS. There are many clients available (for all
>>>> >>>>> flavors of
>>>> >>>>> OS's) that will update the DNS if the IP changes. A lot of cheap
>>>> >>>>> soho
>>>> >>>>> routers now come with a dynamic dns client for various dyndns like
>>>> >>>>> services. I have done this at my house for over a decade without
>>>> >>>>> any
>>>> >>>>> trouble.
>>>> >>>>>
>>>> >>>>> All the OP needs to do is setup an account with anyone of the
>>>> >>>>> dyndns
>>>> >>>>> like services, point the godaddy domain name to the dyndns like
>>>> >>>>> dns
>>>> >>>>> servers. Easy.
>>>> >>>>
>>>> >>>> But GoDaddy isn't DynDNS, is it? Try reading the questions.
>>>> >>>
>>>> >>> No it's not. It's a domain register. As I said, point the godaddy
>>>> >>> dormain
>>>> >>> to DynDns.... Try reading the answer next time.
>>>> >>>
>>>> >>
>>>> >> Oh, I read your post. It's as full of crap as most of the rest of
>>>> >> them
>>>> >> are. First of all, you assume he's using godaddy. There are much
>>>> >> better
>>>> >> registrars out there.
>>>> >>
>>>> >> And you didn't even bother to respond to the rest of my points -
>>>> >> because
>>>> >> you know I'm right.
>>>> >>
>>>> >> But that's pretty normal for you.
>>>> >
>>>> > Yawn...
>>>> >
>>>>
>>>> Most intelligent thing you've said in this newsgroup yet.
>>>>
>>>
>>> Dance Jerry Dance...LOL
>>
>> ROFLMAO! Look who's doing the dance! Not I, mister "I don't want anyone
>> to know who I am because I don't want them to know just how stoopid I
>> am" troll.
>>
>> M
>>
>
> For the record I never vouched for godaddy or claimed they are great.
> The method I mentioned is universal. Your points are irrelevant.

They usually are,.
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173608 is a reply to message #173601] Wed, 20 April 2011 12:27 Go to previous messageGo to next message
Mr. B-o-B is currently offline  Mr. B-o-B
Messages: 42
Registered: April 2011
Karma: 0
Member
On 4/20/2011 4:20 AM, Jerry Stuckle wrote:
> On 4/20/2011 12:11 AM, Mr. B-o-B wrote:
>> On 4/19/2011 9:58 PM, Jerry Stuckle cried from the depths of the abyss:
>>> On 4/19/2011 10:27 PM, Mr. B-o-B wrote:
>>>> On 4/19/2011 9:12 PM, Jerry Stuckle cried from the depths of the abyss:
>>>> > On 4/19/2011 10:00 PM, Mr. B-o-B wrote:
>>>> >> On 4/19/2011 6:52 PM, Jerry Stuckle cried from the depths of the
>>>> >> abyss:
>>>> >>> On 4/19/2011 7:50 AM, Mr. B-o-B wrote:
>>>> >>>> On 4/19/2011 5:03 AM, Jerry Stuckle wrote:
>>>> >>>>> On 4/18/2011 11:05 PM, Mr. B-o-B wrote:
>>>> >>>>>> On 4/18/2011 7:14 PM, Jerry Stuckle wrote:
>>>> >>>>>>> On 4/18/2011 7:07 PM, James Carlock wrote:
>>>> >>>>>>>> "Peter Lauren"<peterdlauren at gmail.com> wrote...
>>>> >>>>>>>>> On Mon, 18 Apr 2011 09:44:31 -0700, Peter Lauren
>>>> >>>>>>>>> wrote:
>>>> >>>>>>>>>
>>>> >>>>>>>>> I've registered a domain name. Would I set up a
>>>> >>>>>>>>> DNS server though a web host like GoDaddy or would
>>>> >>>>>>>>> I be jsut as well using a free DNS server?
>>>> >>>>>>>>
>>>> >>>>>>>> GoDaddy provides the DNS servers when you buy hosting
>>>> >>>>>>>> through them. They provide a webpage to configure the
>>>> >>>>>>>> DNS servers. NOTE: Every change you make to the DNS
>>>> >>>>>>>> there may take up to 24 hours (or longer) to get
>>>> >>>>>>>> processed. Also, once you make a change to ANY DNS
>>>> >>>>>>>> the server, based on how they (the hosting company)
>>>> >>>>>>>> set up the server and the times they place in the
>>>> >>>>>>>> server, pushes the domain names out to some master
>>>> >>>>>>>> servers.
>>>> >>>>>>>>
>>>> >>>>>>>> GoDaddy provides webpages describing how to set up
>>>> >>>>>>>> their DNS (which basically configures a set of IP
>>>> >>>>>>>> their IP addresses to point to your domain name(s)
>>>> >>>>>>>> and vice versa).
>>>> >>>>>>>>
>>>> >>>>>>>> Configure Apache on your XP machine to run PHP and
>>>> >>>>>>>> then use your IP address as a SERVERNAME for the
>>>> >>>>>>>> very first parameter. You can use the hosts file
>>>> >>>>>>>> to configure the IP address to the host name as
>>>> >>>>>>>> well for a quick and easy way to configure DNS
>>>> >>>>>>>> for self-testing on XP.
>>>> >>>>>>>>
>>>> >>>>>>>> Find the "hosts" file in:
>>>> >>>>>>>>
>>>> >>>>>>>> %SystemRoot%\system32\drivers\etc
>>>> >>>>>>>>
>>>> >>>>>>>> It might take a day or two to get to know how it
>>>> >>>>>>>> all operates but the experience lasts forever.
>>>> >>>>>>>>
>>>> >>>>>>>
>>>> >>>>>>> Which only works if he has a static IP. Almost all home IP's are
>>>> >>>>>>> dynamic. As soon as his IP changes, he's out of luck
>>>> >>>>>>>
>>>> >>>>>>> That's why he needs to be in an appropriate newsgroup for these
>>>> >>>>>>> questions - he'll get good answers.
>>>> >>>>>>>
>>>> >>>>>>
>>>> >>>>>> Not entirely true. One can use a service like DynDNS with a
>>>> >>>>>> dynamic IP
>>>> >>>>>> to handle the DNS. There are many clients available (for all
>>>> >>>>>> flavors of
>>>> >>>>>> OS's) that will update the DNS if the IP changes. A lot of cheap
>>>> >>>>>> soho
>>>> >>>>>> routers now come with a dynamic dns client for various dyndns
>>>> >>>>>> like
>>>> >>>>>> services. I have done this at my house for over a decade without
>>>> >>>>>> any
>>>> >>>>>> trouble.
>>>> >>>>>>
>>>> >>>>>> All the OP needs to do is setup an account with anyone of the
>>>> >>>>>> dyndns
>>>> >>>>>> like services, point the godaddy domain name to the dyndns like
>>>> >>>>>> dns
>>>> >>>>>> servers. Easy.
>>>> >>>>>
>>>> >>>>> But GoDaddy isn't DynDNS, is it? Try reading the questions.
>>>> >>>>
>>>> >>>> No it's not. It's a domain register. As I said, point the godaddy
>>>> >>>> dormain
>>>> >>>> to DynDns.... Try reading the answer next time.
>>>> >>>>
>>>> >>>
>>>> >>> Oh, I read your post. It's as full of crap as most of the rest of
>>>> >>> them
>>>> >>> are. First of all, you assume he's using godaddy. There are much
>>>> >>> better
>>>> >>> registrars out there.
>>>> >>>
>>>> >>> And you didn't even bother to respond to the rest of my points -
>>>> >>> because
>>>> >>> you know I'm right.
>>>> >>>
>>>> >>> But that's pretty normal for you.
>>>> >>
>>>> >> Yawn...
>>>> >>
>>>> >
>>>> > Most intelligent thing you've said in this newsgroup yet.
>>>> >
>>>>
>>>> Dance Jerry Dance...LOL
>>>
>>> ROFLMAO! Look who's doing the dance! Not I, mister "I don't want anyone
>>> to know who I am because I don't want them to know just how stoopid I
>>> am" troll.
>>>
>>> M
>>>
>>
>> For the record I never vouched for godaddy or claimed they are great.
>> The method I mentioned is universal. Your points are irrelevant.
>
> LOL, trying to weasel your way out of you incorrect assumptions again?
> And still ignoring your incorrect statements.

There was nothing incorrect.

>
> Go back to the "Yawn", troll - it was much more intelligent than your "I
> want to remain anonymous so people don't know how stoopid I am".
>
> Now, roll over, boy!
>
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173615 is a reply to message #173608] Wed, 20 April 2011 15:44 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <%iArp.31907$Ay5(dot)10915(at)newsfe07(dot)iad>,
"Mr. B-o-B" <mr(dot)chew(dot)baka(at)gmail(dot)com> wrote:

> On 4/20/2011 4:20 AM, Jerry Stuckle wrote:
>> On 4/20/2011 12:11 AM, Mr. B-o-B wrote:
>>> On 4/19/2011 9:58 PM, Jerry Stuckle cried from the depths of the abyss:
>>>> On 4/19/2011 10:27 PM, Mr. B-o-B wrote:
>>>> > On 4/19/2011 9:12 PM, Jerry Stuckle cried from the depths of the abyss:
>>>> >> On 4/19/2011 10:00 PM, Mr. B-o-B wrote:
>>>> >>> On 4/19/2011 6:52 PM, Jerry Stuckle cried from the depths of the
>>>> >>> abyss:
>>>> >>>> On 4/19/2011 7:50 AM, Mr. B-o-B wrote:
>>>> >>>>> On 4/19/2011 5:03 AM, Jerry Stuckle wrote:
>>>> >>>>>> On 4/18/2011 11:05 PM, Mr. B-o-B wrote:
>>>> >>>>>>> On 4/18/2011 7:14 PM, Jerry Stuckle wrote:
>>>> >>>>>>>> On 4/18/2011 7:07 PM, James Carlock wrote:
>>>> >>>>>>>>> "Peter Lauren"<peterdlauren at gmail.com> wrote...
>>>> >>>>>>>>>> On Mon, 18 Apr 2011 09:44:31 -0700, Peter Lauren
>>>> >>>>>>>>>> wrote:

How about you fuckers learn to snip, eh?

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173617 is a reply to message #173615] Wed, 20 April 2011 16:16 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Tim Streater wrote:
> In article <%iArp.31907$Ay5(dot)10915(at)newsfe07(dot)iad>,
> "Mr. B-o-B" <mr(dot)chew(dot)baka(at)gmail(dot)com> wrote:
>
>> On 4/20/2011 4:20 AM, Jerry Stuckle wrote:
>>> On 4/20/2011 12:11 AM, Mr. B-o-B wrote:
>>>> On 4/19/2011 9:58 PM, Jerry Stuckle cried from the depths of the
>> abyss:
>>>> > On 4/19/2011 10:27 PM, Mr. B-o-B wrote:
>>>> >> On 4/19/2011 9:12 PM, Jerry Stuckle cried from the depths of the
>> abyss:
>>>> >>> On 4/19/2011 10:00 PM, Mr. B-o-B wrote:
>>>> >>>> On 4/19/2011 6:52 PM, Jerry Stuckle cried from the depths of the
>>>> >>>> abyss:
>>>> >>>>> On 4/19/2011 7:50 AM, Mr. B-o-B wrote:
>>>> >>>>>> On 4/19/2011 5:03 AM, Jerry Stuckle wrote:
>>>> >>>>>>> On 4/18/2011 11:05 PM, Mr. B-o-B wrote:
>>>> >>>>>>>> On 4/18/2011 7:14 PM, Jerry Stuckle wrote:
>>>> >>>>>>>>> On 4/18/2011 7:07 PM, James Carlock wrote:
>>>> >>>>>>>>>> "Peter Lauren"<peterdlauren at gmail.com> wrote...
>>>> >>>>>>>>>>> On Mon, 18 Apr 2011 09:44:31 -0700, Peter Lauren
>>>> >>>>>>>>>>> wrote:
>
> How about you fuckers learn to snip, eh?
>
how else is Jerry going to remain the top poster in the stats?

he never contributes anything original.
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173656 is a reply to message #173590] Sun, 24 April 2011 13:23 Go to previous messageGo to next message
James Carlock is currently offline  James Carlock
Messages: 3
Registered: April 2011
Karma: 0
Junior Member
: Hi Jim,
:
: I'm new to this and do not see why I would want
: to change the DNS once it is assigned. I thought
: that the DNS just translates user friendly host
: names into IP addresses. Would I need to change
: the DNS if the host name and IP address remained
: the same?

No, if your IP does not change, you do not need to
worry about it, except when you change to a another
HOST (or possibly other situations).

: One concern that I do have is storage since I will
: need to store and process several very large files.

> Configure Apache on your XP machine to run PHP and
> then use your IP address as a SERVERNAME for the
> very first parameter. You can use the hosts file
> to configure the IP address to the host name as
> well for a quick and easy way to configure DNS
> for self-testing on XP.

: ServerName, in httpd.conf, is localhost:80.
: Should I change that to the IP address I get from
: ipconfig? When you say I can use the hosts file
: to configure the IP address to the host name, do
: you mean to do the same mapping on my machine that
: the DNS does on the web host?

The HOSTS file on a machine provides a quick way to
tell Apache (if you wanted to test things before
uploading them to your HOST) where to reach a domain
name configured for testing.

You can find the hosts file in the following space:
%systemroot%\system32\drivers\etc\

It might be located in another space if you run an
x64 version of Windows.

The "hosts" file is a plain text file which reads
something like:

# Start of entries inserted by
# Spybot - Search & Destroy
# Copyright 2000-2008 Safer Networking Limited
127.0.0.1 yyour_ssample_ddomain_nname.com

SpyBot Search & Destroy uses it to prevent visiting
remote sites and which helps prevent your machine
from visiting viral/SPAM/unorthodox sites. You can
use it to tell Apache where to reach an example
domain. It provides the same information that DNS
provides, but gets read before the software goes to
an outside DNS to find the information. Once found
in the HOSTS, most software uses that and does not
go out to an outside source (server). Above, I did
change the unorthodox domain name that SpyBot placed
in there to something that will not upset anyone
here and is unlikely to get used anywhere/anytime.

I do not use LOCALHOST for much of anything. However,
I read that using LOCALHOST inside of Apache might
create some problems. I can not confirm that without
making a lot of changes and I do not have the time to
test such things.

SpyBot Search & Destroy uses the "hosts" to store the
domain names of perhaps 1000 or more domains that
they found as lude, crude, porn or what ever and it
prevents the machine from going to an outside DNS to
look up those domain names and visiting those.

I have not followed the thread here, as I've been a
tad busy with other things. Forgive me for being a
tad slow on my reply.

The details that follow apply to running/hosting an
Apache server on your own machine.

httpd.conf
Listen = 80
ServerName = your_ip_address

Hope this helps. Good luck.

--
Jim Carlock
http://www.facebook.com/jim.carlock
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173679 is a reply to message #173563] Thu, 28 April 2011 15:12 Go to previous messageGo to next message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma: 0
Member
On Apr 18, 7:15 pm, William Gill <nos...@domain.invalid> wrote:
> On 4/18/2011 2:27 PM, Peter Lauren wrote:
>
>> Hi William,
>
>> Thank you very much for your help.  I noticed that
>> $_SERVER['REMOTE_ADDR'];
>> gives the IP address as 127.0.0.1.  Would this be the IP address of
>> the server and would it give my computer's real IP address if someone
>> was accessing my server and running this IP script remotely?
>
>> Thanks,
>> Peter.
>
> No it's the IP of the machine originating the request (think where the
> web browser is, not where the resource is).  However, in the case of
> "localhost" they are the same machine.

That clarifies it. Thanks.
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173680 is a reply to message #173572] Thu, 28 April 2011 15:17 Go to previous messageGo to next message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma: 0
Member
On Apr 19, 1:31 am, "P E Schoen" <p...@pstech-inc.com> wrote:
> "Peter Lauren"  wrote in message
>
> news:9d5ea431-1d49-46fc-8db5-137e517e388c(at)j9g2000prj(dot)googlegroups(dot)com...
>
>> Thank you for your very interesting post.  My goal is to run
>> programs over the Internet as a home business.  So it seems
>> I should get a hosting package.  Is there one you would recommend?
>
> For a long time I usedwww.smartnet.comfor my ISP as well as a host for my
> website. In fact I still have a limited account which has about 100M web
> space and incoming email to pstech at smart dot net. I've had Verizon FIOS
> for almost two years now and they offer free 10M web space, but no CGI so I
> had my SmartNet tech set up the server so I could do that. It was OK for
> $99/year, but about a year ago I took a free trial ofwww.dreamhost.comand
> it is a good deal for $9/month. They have an active user forum and also very
> responsive technical help. They also have specials and other web services.. I
> get my domains fromwww.mydomain.com.
>
> What do you mean by "run programs over the Internet as a home business"?
> Assuming you want to make money, you will have to offer a service that is
> unique and not available elsewhere for free or dirt cheap. Trying to think
> of a "program" that people would pay me for the privilege of running, I can
> only come up with something like a PCB design program, where someone may
> submit a netlist (or schematic), and an outline drawing with parts placement
> information. Then you could have an autorouter on your machine that would
> accept the customer's information and produce the complete package of gerber
> files and other fabrication documents. It could also offer services such as
> BOM generation and parts procurement.
>
> But much of that process usually requires human intervention, although it
> may be a lucrative business. Otherwise I don't know of many programs that
> people would pay to run. If it is something like a specialized calculator,
> it would probably be a candidate for JavaScript, but that is server-side and
> the user will have a copy of the code. To avoid that, you could use PHP, but
> I don't know what would be unique and valuable enough to pay for. Maybe I'm
> missing something...
>
> Paul

Thanks for info. on web hosts. Some programs sell for hundreds of
thousands if they are what a particular customer is looking for. Even
at the low end, MS has its groupies who will rush out and buy the new
version of some program they already have just because it's the latest
version.
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173685 is a reply to message #173575] Thu, 28 April 2011 18:05 Go to previous messageGo to next message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma: 0
Member
On Apr 19, 5:15 am, crankypuss <n...@email.thanks> wrote:
> Peter Lauren <peterdlau...@gmail.com> wrote:
>> On Apr 18, 1:22 pm, Denis McMahon <denis.m.f.mcma...@gmail.com> wrote:
>>> On Mon, 18 Apr 2011 09:05:08 -0700, Peter Lauren wrote:
>>>> Thank you very much for your replies.  I read through your posts, and
>>>> the ensuing posts, very carefully and my interpretation is as follows.
>>>> The PHP code is running on a server.  My PHP code is running on my
>>>> server.  The server is identified by an IP address which is
>>>> "http:/localhost/" for the machine on which the call is made. Therefore
>>>> if someone types "http:/localhost/" on some other machine, they will
>>>> access the server on their machine if they have one running.  To access
>>>> the server on my machine, they would need to use my IP address instead.
>>>> This is looked up through the Domain Name System ( DNS). If I was using
>>>> a web host, like GoDaddy, would it assign a logical name name to the IP
>>>> address likewww.PetersWebSite.cominsteadof 123.456.7.8?  Since html
>>>> is client side, I guess if I had <a
>>>> href="http://localhost/PHPTest.php">PHP Test</a> in my html code it
>>>> would try to access PHPTest.php on the client's computer instead of
>>>> mine.  Does that seem right?
>
>>> Yes. I think you now understand this part of it.
>
>>> This is why you can not use 'localhost' as the host name inside your web
>>> pages if you want other people to be able to access them, but you can use
>>> 'localhost' in the address bar of your browser to tell it to connect to
>>> the server on your machine.
>
>>> Rgds
>
>>> Denis McMahon
>
>> Hi Denis,
>
>> Thanks for confirming that.  From what Michael said, I may just use
>> wampserver on my PC to test my applications before deploying them and
>> get a hosting package for deployment.
>
> Using wampserver for development and initial testing seems to be
> fairly workable.
>
> Don't be in too much of a hurry to go "live" though.  There is a good
> deal you can learn about apache and so forth while using wampserver.
>
> When you decide it's time for a public site, be careful about choosing
> your web host.  Different people need different levels of support from
> their hosting provider, different hosting providers offer different
> levels of hardware and automatic backup support, different amounts of
> bandwidth, and so forth and so on nearly forever.  If you expect your
> site to become huge you need a hosting provider that can handle
> hugeness, but then everybody expects to become rich overnight and it
> seldom happens.  And of course every hosting company offers different
> packages at different prices.
>
> Before you even register a domain name, I would suggest that you learn
> what you can about the whole webmastering subject.  The
> alt.www.webmasterusenet group is a reasonable place to ask about
> choosing a domain registrar, hosting company, handling search-engine
> optimization, and so forth. There are some people participating there
> who are knowledgable on the issues you need to learn about.  There are
> doubtless websites where you could go to read a tutorial about that
> subject but offhand I can't suggest one.
>
> As far as starting a business goes, there are a zillion issues that
> should be considered before taking the first step.  I think nobody
> ever starts out knowing half of the gotchas they will have to deal
> with.  Remember that the idea of a business is for the money to move
> in your direction, not the other way, because everybody will have
> their hand out for this and for that.
>
> --
> no aluminum siding offers today

I've already registered my domain name with 1and1. Thank you for
recommending alt.www.webmaster. I have book marked it and will check
it out.

As for a web host, I anticipate that the users' files, and my own,
would require several GB of storage. Also I will be running libraries
from C++ and calling them with either Java or Ruby-on-Rails. Someone
suggested a hardware / network firewall if I'm using a networked
server environment. I wonder if I would need that if I am running off
a single PC. Maybe I will need a network if the business takes off.

Thanks,
Peter.


Thanks again,
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173687 is a reply to message #173593] Thu, 28 April 2011 19:18 Go to previous messageGo to next message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma: 0
Member
On Apr 19, 10:15 pm, William Gill <nos...@domain.invalid> wrote:
> On 4/19/2011 1:46 PM, The Natural Philosopher wrote:
>
>
>
>> William Gill wrote:
>
>>> When a user types peter.example.com into his browser, the browser says
>>> "???" ; then asks one of the root servers (who maintain a list of all
>>> the building directories for the ".com" part of peter.example.com
>>> "where do I begin?"; the root server says "Ask Peter's hosting company
>>> at xxx.xxx.xxx.xxx"
>
>> No. The browser does NOT do that. The browser sends a request to
>> whatever DNS server its configured to look up and the DNS server does
>> all that, and relays the answer back
>
>> And peter, remember that people who assure you they knwo what they are
>> talking about may in fact not know any more than you do..:-)
>
> You are correct, the browser doesn't communicate directly with the root
> servers, but as Tim mentions, it is done on the browser's behalf until
> ultimately the browser gets its answer.
>
> My question then is this: Does splitting that particular hair of the
> name resolution mechanics do more to clarify things for Peter, who had
> some initial difficulty grasping localhost, registrar, and hosting
> company, or does it serve more as an opportunity to show how smart you
> think you are?

Actually I understood the difference between a registrar and a hosting
company. I registered my name with 1and1 some time back and am
gathering info. about a hosting company.
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173699 is a reply to message #173656] Fri, 29 April 2011 19:45 Go to previous messageGo to next message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma: 0
Member
On Apr 24, 9:23 am, "James Carlock" <jcarlo...@somemail.com> wrote:
> : Hi Jim,
> :
> : I'm new to this and do not see why I would want
> : to change the DNS once it is assigned. I thought
> : that the DNS just translates user friendly host
> : names into IP addresses. Would I need to change
> : the DNS if the host name and IP address remained
> : the same?
>
> No, if your IP does not change, you do not need to
> worry about it, except when you change to a another
> HOST (or possibly other situations).
>
> : One concern that I do have is storage since I will
> : need to store and process several very large files.
>
>> Configure Apache on your XP machine to run PHP and
>> then use your IP address as a SERVERNAME for the
>> very first parameter. You can use the hosts file
>> to configure the IP address to the host name as
>> well for a quick and easy way to configure DNS
>> for self-testing on XP.
>
> : ServerName, in httpd.conf, is localhost:80.
> : Should I change that to the IP address I get from
> : ipconfig? When you say I can use the hosts file
> : to configure the IP address to the host name, do
> : you mean to do the same mapping on my machine that
> : the DNS does on the web host?
>
> The HOSTS file on a machine provides a quick way to
> tell Apache (if you wanted to test things before
> uploading them to your HOST) where to reach a domain
> name configured for testing.
>
> You can find the hosts file in the following space:
> %systemroot%\system32\drivers\etc\
>
> It might be located in another space if you run an
> x64 version of Windows.
>
> The "hosts" file is a plain text file which reads
> something like:
>
> # Start of entries inserted by
> # Spybot - Search & Destroy
> # Copyright 2000-2008 Safer Networking Limited
> 127.0.0.1 yyour_ssample_ddomain_nname.com
>
> SpyBot Search & Destroy uses it to prevent visiting
> remote sites and which helps prevent your machine
> from visiting viral/SPAM/unorthodox sites. You can
> use it to tell Apache where to reach an example
> domain. It provides the same information that DNS
> provides, but gets read before the software goes to
> an outside DNS to find the information. Once found
> in the HOSTS, most software uses that and does not
> go out to an outside source (server). Above, I did
> change the unorthodox domain name that SpyBot placed
> in there to something that will not upset anyone
> here and is unlikely to get used anywhere/anytime.
>
> I do not use LOCALHOST for much of anything. However,
> I read that using LOCALHOST inside of Apache might
> create some problems. I can not confirm that without
> making a lot of changes and I do not have the time to
> test such things.
>
> SpyBot Search & Destroy uses the "hosts" to store the
> domain names of perhaps 1000 or more domains that
> they found as lude, crude, porn or what ever and it
> prevents the machine from going to an outside DNS to
> look up those domain names and visiting those.
>
> I have not followed the thread here, as I've been a
> tad busy with other things. Forgive me for being a
> tad slow on my reply.
>
> The details that follow apply to running/hosting an
> Apache server on your own machine.
>
> httpd.conf
> Listen = 80
> ServerName = your_ip_address
>
> Hope this helps. Good luck.
>
> --
> Jim Carlockhttp://www.facebook.com/jim.carlock

Thank you for your very informative post. When my kids were
teenagers, I used the "hosts" file to block known undesirable sites by
setting their urls to the IP address of a mathematics learning site.
If anyone tried to access an off-color site they would get some
mathematics instead.
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173700 is a reply to message #173656] Fri, 29 April 2011 19:46 Go to previous message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma: 0
Member
On Apr 24, 9:23 am, "James Carlock" <jcarlo...@somemail.com> wrote:
> : Hi Jim,
> :
> : I'm new to this and do not see why I would want
> : to change the DNS once it is assigned. I thought
> : that the DNS just translates user friendly host
> : names into IP addresses. Would I need to change
> : the DNS if the host name and IP address remained
> : the same?
>
> No, if your IP does not change, you do not need to
> worry about it, except when you change to a another
> HOST (or possibly other situations).
>
> : One concern that I do have is storage since I will
> : need to store and process several very large files.
>
>> Configure Apache on your XP machine to run PHP and
>> then use your IP address as a SERVERNAME for the
>> very first parameter. You can use the hosts file
>> to configure the IP address to the host name as
>> well for a quick and easy way to configure DNS
>> for self-testing on XP.
>
> : ServerName, in httpd.conf, is localhost:80.
> : Should I change that to the IP address I get from
> : ipconfig? When you say I can use the hosts file
> : to configure the IP address to the host name, do
> : you mean to do the same mapping on my machine that
> : the DNS does on the web host?
>
> The HOSTS file on a machine provides a quick way to
> tell Apache (if you wanted to test things before
> uploading them to your HOST) where to reach a domain
> name configured for testing.
>
> You can find the hosts file in the following space:
> %systemroot%\system32\drivers\etc\
>
> It might be located in another space if you run an
> x64 version of Windows.
>
> The "hosts" file is a plain text file which reads
> something like:
>
> # Start of entries inserted by
> # Spybot - Search & Destroy
> # Copyright 2000-2008 Safer Networking Limited
> 127.0.0.1 yyour_ssample_ddomain_nname.com
>
> SpyBot Search & Destroy uses it to prevent visiting
> remote sites and which helps prevent your machine
> from visiting viral/SPAM/unorthodox sites. You can
> use it to tell Apache where to reach an example
> domain. It provides the same information that DNS
> provides, but gets read before the software goes to
> an outside DNS to find the information. Once found
> in the HOSTS, most software uses that and does not
> go out to an outside source (server). Above, I did
> change the unorthodox domain name that SpyBot placed
> in there to something that will not upset anyone
> here and is unlikely to get used anywhere/anytime.
>
> I do not use LOCALHOST for much of anything. However,
> I read that using LOCALHOST inside of Apache might
> create some problems. I can not confirm that without
> making a lot of changes and I do not have the time to
> test such things.
>
> SpyBot Search & Destroy uses the "hosts" to store the
> domain names of perhaps 1000 or more domains that
> they found as lude, crude, porn or what ever and it
> prevents the machine from going to an outside DNS to
> look up those domain names and visiting those.
>
> I have not followed the thread here, as I've been a
> tad busy with other things. Forgive me for being a
> tad slow on my reply.
>
> The details that follow apply to running/hosting an
> Apache server on your own machine.
>
> httpd.conf
> Listen = 80
> ServerName = your_ip_address
>
> Hope this helps. Good luck.
>
> --
> Jim Carlockhttp://www.facebook.com/jim.carlock

Thank you for your very informative post. When my kids were
teenagers, I used the "hosts" file to block known undesirable sites by
setting their urls to the IP address of a mathematics learning site.
If anyone tried to access an off-color site they would get some
mathematics instead.
Pages (4): [ «    1  2  3  4]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: neither var_dump() nor die() displays anything
Next Topic: Spaces in filenames
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 22:28:06 GMT 2024

Total time taken to generate the page: 0.04167 seconds