Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #911 > unrolled thread

PHP Runs In WinXP Command Window But Not In Browser

Started byPeter Lauren <peterdlauren@gmail.com>
First post2011-04-03 04:54 -0700
Last post2011-04-28 08:12 -0700
Articles 20 on this page of 133 — 14 participants

Back to article view | Back to comp.lang.php


Contents

  PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-03 04:54 -0700
    Re: PHP Runs In WinXP Command Window But Not In Browser Luuk <Luuk@invalid.lan> - 2011-04-03 14:03 +0200
      Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-03 18:36 -0700
        Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-03 21:54 -0400
          Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-04 03:41 -0600
            Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 13:36 -0700
              Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-06 22:14 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:54 -0700
                  Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-07 09:08 +0100
              Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-06 16:21 -0500
                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 21:00 -0700
                  Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-07 03:28 -0600
                    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-07 19:53 -0700
                      Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-08 07:04 -0500
                        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:45 -0700
                          Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 14:01 -0400
                            Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 16:45 -0700
                            Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 16:55 -0700
                              Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 20:02 -0400
                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:07 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-13 05:23 -0400
                                    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-13 10:59 -0700
                                      Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 19:33 +0100
                                        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 11:29 -0700
                                      Re: PHP Runs In WinXP Command Window But Not In Browser Michael Fesser <netizen@gmx.de> - 2011-04-13 20:36 +0200
                                        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:08 -0700
                                          Re: PHP Runs In WinXP Command Window But Not In Browser "P E Schoen" <paul@pstech-inc.com> - 2011-04-19 01:31 -0400
                                            Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 08:17 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 04:46 -0600
                                    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 09:05 -0700
                                      Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-18 17:22 +0000
                                        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:35 -0700
                                          Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-19 03:15 -0600
                                            Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 11:05 -0700
                              Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-08 19:57 -0500
                                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 22:49 -0400
                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:31 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 04:58 -0600
                                  Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:23 +0100
                                  Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-13 07:29 -0500
                                    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 09:44 -0700
                                      Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-18 17:25 +0000
                                        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:37 -0700
                                          Re: PHP Runs In WinXP Command Window But Not In Browser "James Carlock" <jcarlock1@somemail.com> - 2011-04-18 19:07 -0400
                                            Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-18 20:14 -0400
                                              Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-18 22:05 -0500
                                                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 06:03 -0400
                                                  Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 06:50 -0500
                                                    Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 19:52 -0400
                                                      Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 21:00 -0500
                                                        Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 22:12 -0400
                                                          Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 21:27 -0500
                                                            Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 22:58 -0400
                                                              Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 22:56 -0500
                                                              Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-19 23:11 -0500
                                                                Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-20 05:20 -0400
                                                                  Re: PHP Runs In WinXP Command Window But Not In Browser "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2011-04-20 07:27 -0500
                                                                    Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-20 16:44 +0100
                                                                      Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-20 17:16 +0100
                                                                Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-20 11:30 +0100
                                            Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-19 18:59 -0700
                                              Re: PHP Runs In WinXP Command Window But Not In Browser "James Carlock" <jcarlock1@somemail.com> - 2011-04-24 09:23 -0400
                                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-29 12:46 -0700
                                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-29 12:45 -0700
                              Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-09 02:29 -0600
                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:33 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-13 05:25 -0400
                                    Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 05:00 -0600
                                      Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:43 +0100
                                        Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 08:17 -0600
                                    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-13 11:16 -0700
                                      Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-13 15:12 -0400
                                        Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-14 04:37 -0600
                                          Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-14 08:53 -0400
                                            Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-14 12:47 -0600
                                        Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:10 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-13 20:57 +0000
                                    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 14:22 -0700
                                      Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-19 03:42 -0600
                              Re: PHP Runs In WinXP Command Window But Not In Browser Michael Fesser <netizen@gmx.de> - 2011-04-09 12:26 +0200
                                Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-09 12:10 +0100
                                  Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-09 17:09 +0100
                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:43 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 05:08 -0600
                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:43 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 15:13 -0400
                                    Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 20:21 +0100
                                      Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 19:22 -0400
                                        Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-14 10:10 +0100
                                Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:57 -0700
                                  Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:20 +0100
                                    Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 09:19 -0700
                                      Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-19 03:42 -0600
                                        Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-19 10:36 -0400
                                          Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-19 18:46 +0100
                                            Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-19 20:32 +0000
                                              Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-19 21:35 +0100
                                              Re: PHP Runs In WinXP Command Window But Not In Browser The Natural Philosopher <tnp@invalid.invalid> - 2011-04-19 22:19 +0100
                                            Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-19 19:52 -0400
                                            Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-19 22:15 -0400
                                              Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 12:18 -0700
              Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-07 03:19 -0600
        Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-04 09:53 +0100
    Re: PHP runs in WinXP command window but not in browser Tim Streater <timstreater@waitrose.com> - 2011-04-03 13:39 +0100
      Re: PHP runs in WinXP command window but not in browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-03 18:42 -0700
        Re: PHP runs in WinXP command window but not in browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-03 21:55 -0400
        Re: PHP runs in WinXP command window but not in browser crankypuss <no@email.thanks> - 2011-04-04 03:48 -0600
          Re: PHP runs in WinXP command window but not in browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 13:43 -0700
        Re: PHP runs in WinXP command window but not in browser "Peter H. Coffin" <hellsop@ninehells.com> - 2011-04-04 17:31 -0500
          Re: PHP runs in WinXP command window but not in browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:40 -0700
    Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-04 17:19 +0000
      Re: PHP Runs In WinXP Command Window But Not In Browser Jim Higgins <invalid@invalid.invalid> - 2011-04-05 18:36 +0000
        Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-05 16:07 -0400
        Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-05 23:01 +0100
        Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-05 23:27 +0000
        Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 12:14 -0400
      Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:18 -0700
      Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-06 20:19 -0700
        Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-07 13:16 +0000
        Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-07 14:09 +0000
          Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:33 -0700
            Re: PHP Runs In WinXP Command Window But Not In Browser Jerry Stuckle <jstucklex@attglobal.net> - 2011-04-08 14:00 -0400
          Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:34 -0700
            Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-08 18:17 +0000
          Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-08 10:53 -0700
            Re: PHP Runs In WinXP Command Window But Not In Browser Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-04-08 18:30 +0000
              Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-12 20:06 -0700
                Re: PHP Runs In WinXP Command Window But Not In Browser crankypuss <no@email.thanks> - 2011-04-13 05:11 -0600
                Re: PHP Runs In WinXP Command Window But Not In Browser Tim Streater <timstreater@waitrose.com> - 2011-04-13 13:25 +0100
                Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-13 13:46 -0400
                  Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-18 11:27 -0700
                    Re: PHP Runs In WinXP Command Window But Not In Browser William Gill <nospam@domain.invalid> - 2011-04-18 19:15 -0400
                      Re: PHP Runs In WinXP Command Window But Not In Browser Peter Lauren <peterdlauren@gmail.com> - 2011-04-28 08:12 -0700

Page 4 of 7 — ← Prev page 1 2 3 [4] 5 6 7  Next page →


#1211

FromPeter Lauren <peterdlauren@gmail.com>
Date2011-04-19 18:59 -0700
Message-ID<ae232c00-aba7-4e6e-8ebf-95994b39994c@hd10g2000vbb.googlegroups.com>
In reply to#1181
On Apr 18, 7:07 pm, "James Carlock" <jcarlo...@somemail.com> 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.
>

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?  One concern that I do
have is storage since I will need to store and process several very
large files.

> 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.

Currently 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?

Thanks,
Peter.

[toc] | [prev] | [next] | [standalone]


#1281

From"James Carlock" <jcarlock1@somemail.com>
Date2011-04-24 09:23 -0400
Message-ID<ip187p$fmf$1@speranza.aioe.org>
In reply to#1211
: 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


[toc] | [prev] | [next] | [standalone]


#1332

FromPeter Lauren <peterdlauren@gmail.com>
Date2011-04-29 12:46 -0700
Message-ID<df95c0fd-f99a-4e54-b368-475e06cae0a8@q32g2000yqn.googlegroups.com>
In reply to#1281
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.

[toc] | [prev] | [next] | [standalone]


#1333

FromPeter Lauren <peterdlauren@gmail.com>
Date2011-04-29 12:45 -0700
Message-ID<e7281d7e-9054-4a12-9c67-00396005fa00@k11g2000yqc.googlegroups.com>
In reply to#1281
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.

[toc] | [prev] | [next] | [standalone]


#1024

Fromcrankypuss <no@email.thanks>
Date2011-04-09 02:29 -0600
Message-ID<qq50q6hfh6e867nchbegs1r2ocgsnf4bd9@4ax.com>
In reply to#1017
Peter Lauren <peterdlauren@gmail.com> wrote:

>On Apr 8, 2:01 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>>
>>
>>
>> > On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>  wrote:
>> >> Peter Lauren cried from the depths of the abyss...
>>
>> >>> I just noticed that I do have the Wampserver icon on the quick launch
>> >>> part of the task bar.  I do actually get one menu, with the function
>> >>> you mention, with a a single click of the left button and a smaller
>> >>> menu, with the Exit function, with a single click of the right.  So it
>> >>> looks like I'm in business.
>>
>> >> Fantastic.
>>
>> > Thanks.  But I'm still having a problem.  I left-click on the task bar
>> > icon, click on Apache:httpd.conf, and a file opens in notepad.  In
>> > admin. mode, I can edit the file and set
>> > DocumentRoot "f:/SomeOther/Directory"
>> > It still uses the .php file in c:\wamp\www
>>
>> > Thanks,
>> > Peter.
>>
>> Did you stop and restart Apache after making the changes?  The
>> configuration file is only run when Apache starts up, not on every request.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
>I fixed the Forbidden problem.  There was a part in the httpd.conf
>file that said
># This should be changed to whatever you set DocumentRoot to.
>
>I fixed that and now it works.
>
>Still haven't figured out how to get it to work w/o the /localhost/
>part though

Depends on what you really want to do.  The browser needs a domain to
send your request to, there's no way I know of to avoid giving it
*something*.

Since you're on windows, you can modify your "hosts" file to point
additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
to update "httpd.conf" for those domains too.  It gets a bit complex
for me (at least) to attempt to explain here.

If you can be more explicit about what you really want to do, you're
more likely to get an answer you can use.

-- 
no aluminum siding offers today

[toc] | [prev] | [next] | [standalone]


#1044

FromPeter Lauren <peterdlauren@gmail.com>
Date2011-04-12 20:33 -0700
Message-ID<b856ad0f-91a7-466b-84c0-2eb3ded048dc@d12g2000vbz.googlegroups.com>
In reply to#1024
On Apr 9, 4:29 am, crankypuss <n...@email.thanks> wrote:
> Peter Lauren <peterdlau...@gmail.com> wrote:
> >On Apr 8, 2:01 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>
> >> > On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com> wrote:
> >> >> Peter Lauren cried from the depths of the abyss...
>
> >> >>> I just noticed that I do have the Wampserver icon on the quick launch
> >> >>> part of the task bar. I do actually get one menu, with the function
> >> >>> you mention, with a a single click of the left button and a smaller
> >> >>> menu, with the Exit function, with a single click of the right. So it
> >> >>> looks like I'm in business.
>
> >> >> Fantastic.
>
> >> > Thanks. But I'm still having a problem. I left-click on the task bar
> >> > icon, click on Apache:httpd.conf, and a file opens in notepad. In
> >> > admin. mode, I can edit the file and set
> >> > DocumentRoot "f:/SomeOther/Directory"
> >> > It still uses the .php file in c:\wamp\www
>
> >> > Thanks,
> >> > Peter.
>
> >> Did you stop and restart Apache after making the changes? The
> >> configuration file is only run when Apache starts up, not on every request.
>
> >> --
> >> ==================
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> ==================
>
> >I fixed the Forbidden problem.  There was a part in the httpd.conf
> >file that said
> ># This should be changed to whatever you set DocumentRoot to.
>
> >I fixed that and now it works.
>
> >Still haven't figured out how to get it to work w/o the /localhost/
> >part though
>
> Depends on what you really want to do.  The browser needs a domain to
> send your request to, there's no way I know of to avoid giving it
> *something*.
>
> Since you're on windows, you can modify your "hosts" file to point
> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
> to update "httpd.conf" for those domains too.  It gets a bit complex
> for me (at least) to attempt to explain here.
>
> If you can be more explicit about what you really want to do, you're
> more likely to get an answer you can use.
>
> --
> no aluminum siding offers today

I would like to run PHP and Java code on my own browser and over the
Internet.   It will be called from an hyml file that is on my local
PC.

Thanks,
Peter.

[toc] | [prev] | [next] | [standalone]


#1050

FromJerry Stuckle <jstucklex@attglobal.net>
Date2011-04-13 05:25 -0400
Message-ID<io3q73$hdt$3@dont-email.me>
In reply to#1044
On 4/12/2011 11:33 PM, Peter Lauren wrote:
> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>  wrote:
>> Peter Lauren<peterdlau...@gmail.com>  wrote:
>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
>>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>>
>>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>  wrote:
>>>>>> Peter Lauren cried from the depths of the abyss...
>>
>>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
>>>>>>> part of the task bar. I do actually get one menu, with the function
>>>>>>> you mention, with a a single click of the left button and a smaller
>>>>>>> menu, with the Exit function, with a single click of the right. So it
>>>>>>> looks like I'm in business.
>>
>>>>>> Fantastic.
>>
>>>>> Thanks. But I'm still having a problem. I left-click on the task bar
>>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
>>>>> admin. mode, I can edit the file and set
>>>>> DocumentRoot "f:/SomeOther/Directory"
>>>>> It still uses the .php file in c:\wamp\www
>>
>>>>> Thanks,
>>>>> Peter.
>>
>>>> Did you stop and restart Apache after making the changes? The
>>>> configuration file is only run when Apache starts up, not on every request.
>>
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>
>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
>>> file that said
>>> # This should be changed to whatever you set DocumentRoot to.
>>
>>> I fixed that and now it works.
>>
>>> Still haven't figured out how to get it to work w/o the /localhost/
>>> part though
>>
>> Depends on what you really want to do.  The browser needs a domain to
>> send your request to, there's no way I know of to avoid giving it
>> *something*.
>>
>> Since you're on windows, you can modify your "hosts" file to point
>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
>> to update "httpd.conf" for those domains too.  It gets a bit complex
>> for me (at least) to attempt to explain here.
>>
>> If you can be more explicit about what you really want to do, you're
>> more likely to get an answer you can use.
>>
>> --
>> no aluminum siding offers today
>
> I would like to run PHP and Java code on my own browser and over the
> Internet.   It will be called from an hyml file that is on my local
> PC.
>
> Thanks,
> Peter.

Browsers don't run PHP or Java code (they can, however, run Javascript 
code, which is an entirely different animal).

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#1054

Fromcrankypuss <no@email.thanks>
Date2011-04-13 05:00 -0600
Message-ID<tf0bq656k78ct2k9r5ohhd565ka6btsujt@4ax.com>
In reply to#1050
Jerry Stuckle <jstucklex@attglobal.net> wrote:

>On 4/12/2011 11:33 PM, Peter Lauren wrote:
>> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>  wrote:
>>> Peter Lauren<peterdlau...@gmail.com>  wrote:
>>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
>>>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>>>
>>>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>  wrote:
>>>>>>> Peter Lauren cried from the depths of the abyss...
>>>
>>>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
>>>>>>>> part of the task bar. I do actually get one menu, with the function
>>>>>>>> you mention, with a a single click of the left button and a smaller
>>>>>>>> menu, with the Exit function, with a single click of the right. So it
>>>>>>>> looks like I'm in business.
>>>
>>>>>>> Fantastic.
>>>
>>>>>> Thanks. But I'm still having a problem. I left-click on the task bar
>>>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
>>>>>> admin. mode, I can edit the file and set
>>>>>> DocumentRoot "f:/SomeOther/Directory"
>>>>>> It still uses the .php file in c:\wamp\www
>>>
>>>>>> Thanks,
>>>>>> Peter.
>>>
>>>>> Did you stop and restart Apache after making the changes? The
>>>>> configuration file is only run when Apache starts up, not on every request.
>>>
>>>>> --
>>>>> ==================
>>>>> Remove the "x" from my email address
>>>>> Jerry Stuckle
>>>>> JDS Computer Training Corp.
>>>>> jstuck...@attglobal.net
>>>>> ==================
>>>
>>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
>>>> file that said
>>>> # This should be changed to whatever you set DocumentRoot to.
>>>
>>>> I fixed that and now it works.
>>>
>>>> Still haven't figured out how to get it to work w/o the /localhost/
>>>> part though
>>>
>>> Depends on what you really want to do.  The browser needs a domain to
>>> send your request to, there's no way I know of to avoid giving it
>>> *something*.
>>>
>>> Since you're on windows, you can modify your "hosts" file to point
>>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
>>> to update "httpd.conf" for those domains too.  It gets a bit complex
>>> for me (at least) to attempt to explain here.
>>>
>>> If you can be more explicit about what you really want to do, you're
>>> more likely to get an answer you can use.
>>>
>>> --
>>> no aluminum siding offers today
>>
>> I would like to run PHP and Java code on my own browser and over the
>> Internet.   It will be called from an hyml file that is on my local
>> PC.
>>
>> Thanks,
>> Peter.
>
>Browsers don't run PHP or Java code (they can, however, run Javascript 
>code, which is an entirely different animal).

Seems like Peter is missing a bit of context.  Maybe someone knows of
a site that has a good diagram of the client/server relationship.

-- 
no aluminum siding offers today

[toc] | [prev] | [next] | [standalone]


#1062

FromTim Streater <timstreater@waitrose.com>
Date2011-04-13 13:43 +0100
Message-ID<timstreater-E0AC96.13432113042011@news.individual.net>
In reply to#1054
In article <tf0bq656k78ct2k9r5ohhd565ka6btsujt@4ax.com>,
 crankypuss <no@email.thanks> wrote:

> Jerry Stuckle <jstucklex@attglobal.net> wrote:
> 
> >On 12/4/2011 11:33 PM, Peter Lauren wrote:

> >> I would like to run PHP and Java code on my own browser and over the
> >> Internet.   It will be called from an hyml file that is on my local
> >> PC.
> >>
> >> Thanks,
> >> Peter.
> >
> >Browsers don't run PHP or Java code (they can, however, run Javascript 
> >code, which is an entirely different animal).
> 
> Seems like Peter is missing a bit of context.  Maybe someone knows of
> a site that has a good diagram of the client/server relationship.

I did an ascii-art diagram of two machines showing which bit of software 
sits on which machine, way upthread. The OP has not, to my knowledge 
said whether he saw it or whether it helped or not, and if not why not.

In this business, as in any other, you have to learn how to ask 
questions intelligently. This can be hard if you're thoroughly confused.

-- 
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

[toc] | [prev] | [next] | [standalone]


#1063

Fromcrankypuss <no@email.thanks>
Date2011-04-13 08:17 -0600
Message-ID<5vbbq6ta4r9sv4c70meotujsr55jnicrr8@4ax.com>
In reply to#1062
Tim Streater <timstreater@waitrose.com> wrote:

>In article <tf0bq656k78ct2k9r5ohhd565ka6btsujt@4ax.com>,
> crankypuss <no@email.thanks> wrote:
>
>> Jerry Stuckle <jstucklex@attglobal.net> wrote:
>> 
>> >On 12/4/2011 11:33 PM, Peter Lauren wrote:
>
>> >> I would like to run PHP and Java code on my own browser and over the
>> >> Internet.   It will be called from an hyml file that is on my local
>> >> PC.
>> >>
>> >> Thanks,
>> >> Peter.
>> >
>> >Browsers don't run PHP or Java code (they can, however, run Javascript 
>> >code, which is an entirely different animal).
>> 
>> Seems like Peter is missing a bit of context.  Maybe someone knows of
>> a site that has a good diagram of the client/server relationship.
>
>I did an ascii-art diagram of two machines showing which bit of software 
>sits on which machine, way upthread. The OP has not, to my knowledge 
>said whether he saw it or whether it helped or not, and if not why not.

I noticed it, whether he did or not, but there ought to be something
on the web that shows a similar diagram with more details.

>In this business, as in any other, you have to learn how to ask 
>questions intelligently. This can be hard if you're thoroughly confused.

No kidding.  Sometimes it's better to ask questions stupidly rather
than intelligently though, that at least seems to prevent asking the
wrong questions. <g>

-- 
no aluminum siding offers today

[toc] | [prev] | [next] | [standalone]


#1067

FromPeter Lauren <peterdlauren@gmail.com>
Date2011-04-13 11:16 -0700
Message-ID<96f7d118-8e77-46a1-b2b0-075729d0901b@17g2000prr.googlegroups.com>
In reply to#1050
On Apr 13, 5:25 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 4/12/2011 11:33 PM, Peter Lauren wrote:
>
>
>
> > On Apr 9, 4:29 am, crankypuss<n...@email.thanks>  wrote:
> >> Peter Lauren<peterdlau...@gmail.com>  wrote:
> >>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
> >>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>
> >>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>  wrote:
> >>>>>> Peter Lauren cried from the depths of the abyss...
>
> >>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
> >>>>>>> part of the task bar. I do actually get one menu, with the function
> >>>>>>> you mention, with a a single click of the left button and a smaller
> >>>>>>> menu, with the Exit function, with a single click of the right. So it
> >>>>>>> looks like I'm in business.
>
> >>>>>> Fantastic.
>
> >>>>> Thanks. But I'm still having a problem. I left-click on the task bar
> >>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
> >>>>> admin. mode, I can edit the file and set
> >>>>> DocumentRoot "f:/SomeOther/Directory"
> >>>>> It still uses the .php file in c:\wamp\www
>
> >>>>> Thanks,
> >>>>> Peter.
>
> >>>> Did you stop and restart Apache after making the changes? The
> >>>> configuration file is only run when Apache starts up, not on every request.
>
> >>>> --
> >>>> ==================
> >>>> Remove the "x" from my email address
> >>>> Jerry Stuckle
> >>>> JDS Computer Training Corp.
> >>>> jstuck...@attglobal.net
> >>>> ==================
>
> >>> I fixed the Forbidden problem.  There was a part in the httpd.conf
> >>> file that said
> >>> # This should be changed to whatever you set DocumentRoot to.
>
> >>> I fixed that and now it works.
>
> >>> Still haven't figured out how to get it to work w/o the /localhost/
> >>> part though
>
> >> Depends on what you really want to do.  The browser needs a domain to
> >> send your request to, there's no way I know of to avoid giving it
> >> *something*.
>
> >> Since you're on windows, you can modify your "hosts" file to point
> >> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
> >> to update "httpd.conf" for those domains too.  It gets a bit complex
> >> for me (at least) to attempt to explain here.
>
> >> If you can be more explicit about what you really want to do, you're
> >> more likely to get an answer you can use.
>
> >> --
> >> no aluminum siding offers today
>
> > I would like to run PHP and Java code on my own browser and over the
> > Internet.   It will be called from an hyml file that is on my local
> > PC.
>
> > Thanks,
> > Peter.
>
> Browsers don't run PHP or Java code (they can, however, run Javascript
> code, which is an entirely different animal).
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

I learned JavaScript before this and did not need a browser as you
point out.  It was when I started using PHP that I found I could not
see the output on my browser until I installed WAMP and started it
running.  Now I can see the output when WAMP is running so the browser
would appear to be accessing the server.  The server is currently
offline but I still get the output on my browser.

Thanks,
Peter.

[toc] | [prev] | [next] | [standalone]


#1072

FromJerry Stuckle <jstucklex@attglobal.net>
Date2011-04-13 15:12 -0400
Message-ID<io4sii$3mf$1@dont-email.me>
In reply to#1067
On 4/13/2011 2:16 PM, Peter Lauren wrote:
> On Apr 13, 5:25 am, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
>> On 4/12/2011 11:33 PM, Peter Lauren wrote:
>>
>>
>>
>>> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>    wrote:
>>>> Peter Lauren<peterdlau...@gmail.com>    wrote:
>>>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>    wrote:
>>>>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>>
>>>>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>    wrote:
>>>>>>>> Peter Lauren cried from the depths of the abyss...
>>
>>>>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
>>>>>>>>> part of the task bar. I do actually get one menu, with the function
>>>>>>>>> you mention, with a a single click of the left button and a smaller
>>>>>>>>> menu, with the Exit function, with a single click of the right. So it
>>>>>>>>> looks like I'm in business.
>>
>>>>>>>> Fantastic.
>>
>>>>>>> Thanks. But I'm still having a problem. I left-click on the task bar
>>>>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
>>>>>>> admin. mode, I can edit the file and set
>>>>>>> DocumentRoot "f:/SomeOther/Directory"
>>>>>>> It still uses the .php file in c:\wamp\www
>>
>>>>>>> Thanks,
>>>>>>> Peter.
>>
>>>>>> Did you stop and restart Apache after making the changes? The
>>>>>> configuration file is only run when Apache starts up, not on every request.
>>
>>>>>> --
>>>>>> ==================
>>>>>> Remove the "x" from my email address
>>>>>> Jerry Stuckle
>>>>>> JDS Computer Training Corp.
>>>>>> jstuck...@attglobal.net
>>>>>> ==================
>>
>>>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
>>>>> file that said
>>>>> # This should be changed to whatever you set DocumentRoot to.
>>
>>>>> I fixed that and now it works.
>>
>>>>> Still haven't figured out how to get it to work w/o the /localhost/
>>>>> part though
>>
>>>> Depends on what you really want to do.  The browser needs a domain to
>>>> send your request to, there's no way I know of to avoid giving it
>>>> *something*.
>>
>>>> Since you're on windows, you can modify your "hosts" file to point
>>>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
>>>> to update "httpd.conf" for those domains too.  It gets a bit complex
>>>> for me (at least) to attempt to explain here.
>>
>>>> If you can be more explicit about what you really want to do, you're
>>>> more likely to get an answer you can use.
>>
>>>> --
>>>> no aluminum siding offers today
>>
>>> I would like to run PHP and Java code on my own browser and over the
>>> Internet.   It will be called from an hyml file that is on my local
>>> PC.
>>
>>> Thanks,
>>> Peter.
>>
>> Browsers don't run PHP or Java code (they can, however, run Javascript
>> code, which is an entirely different animal).
>>
>
> I learned JavaScript before this and did not need a browser as you
> point out.  It was when I started using PHP that I found I could not
> see the output on my browser until I installed WAMP and started it
> running.  Now I can see the output when WAMP is running so the browser
> would appear to be accessing the server.  The server is currently
> offline but I still get the output on my browser.
>
> Thanks,
> Peter.

The server is not offline.  It is running, or your browser would get a 
connection error message.

It may not be available to the internet (and should NOT be as others 
have pointed out), but it is running.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#1083

Fromcrankypuss <no@email.thanks>
Date2011-04-14 04:37 -0600
Message-ID<38idq6lndaet1grknontuuu1tt51g92eim@4ax.com>
In reply to#1072
Jerry Stuckle <jstucklex@attglobal.net> wrote:

>On 4/13/2011 2:16 PM, Peter Lauren wrote:
>> On Apr 13, 5:25 am, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
>>> On 4/12/2011 11:33 PM, Peter Lauren wrote:
>>>
>>>
>>>
>>>> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>    wrote:
>>>>> Peter Lauren<peterdlau...@gmail.com>    wrote:
>>>>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>    wrote:
>>>>>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>>>
>>>>>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>    wrote:
>>>>>>>>> Peter Lauren cried from the depths of the abyss...
>>>
>>>>>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
>>>>>>>>>> part of the task bar. I do actually get one menu, with the function
>>>>>>>>>> you mention, with a a single click of the left button and a smaller
>>>>>>>>>> menu, with the Exit function, with a single click of the right. So it
>>>>>>>>>> looks like I'm in business.
>>>
>>>>>>>>> Fantastic.
>>>
>>>>>>>> Thanks. But I'm still having a problem. I left-click on the task bar
>>>>>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
>>>>>>>> admin. mode, I can edit the file and set
>>>>>>>> DocumentRoot "f:/SomeOther/Directory"
>>>>>>>> It still uses the .php file in c:\wamp\www
>>>
>>>>>>>> Thanks,
>>>>>>>> Peter.
>>>
>>>>>>> Did you stop and restart Apache after making the changes? The
>>>>>>> configuration file is only run when Apache starts up, not on every request.
>>>
>>>>>>> --
>>>>>>> ==================
>>>>>>> Remove the "x" from my email address
>>>>>>> Jerry Stuckle
>>>>>>> JDS Computer Training Corp.
>>>>>>> jstuck...@attglobal.net
>>>>>>> ==================
>>>
>>>>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
>>>>>> file that said
>>>>>> # This should be changed to whatever you set DocumentRoot to.
>>>
>>>>>> I fixed that and now it works.
>>>
>>>>>> Still haven't figured out how to get it to work w/o the /localhost/
>>>>>> part though
>>>
>>>>> Depends on what you really want to do.  The browser needs a domain to
>>>>> send your request to, there's no way I know of to avoid giving it
>>>>> *something*.
>>>
>>>>> Since you're on windows, you can modify your "hosts" file to point
>>>>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
>>>>> to update "httpd.conf" for those domains too.  It gets a bit complex
>>>>> for me (at least) to attempt to explain here.
>>>
>>>>> If you can be more explicit about what you really want to do, you're
>>>>> more likely to get an answer you can use.
>>>
>>>>> --
>>>>> no aluminum siding offers today
>>>
>>>> I would like to run PHP and Java code on my own browser and over the
>>>> Internet.   It will be called from an hyml file that is on my local
>>>> PC.
>>>
>>>> Thanks,
>>>> Peter.
>>>
>>> Browsers don't run PHP or Java code (they can, however, run Javascript
>>> code, which is an entirely different animal).
>>>
>>
>> I learned JavaScript before this and did not need a browser as you
>> point out.  It was when I started using PHP that I found I could not
>> see the output on my browser until I installed WAMP and started it
>> running.  Now I can see the output when WAMP is running so the browser
>> would appear to be accessing the server.  The server is currently
>> offline but I still get the output on my browser.
>>
>> Thanks,
>> Peter.
>
>The server is not offline.  

Terminology issue, see below.

>It is running, or your browser would get a 
>connection error message.
>
>It may not be available to the internet (and should NOT be as others 
>have pointed out), but it is running.

Wampserver uses the term "offline" to mean "not available to the
internet".  The term "local" might have been more descriptive, but
"offline" is the term they chose.

-- 
no aluminum siding offers today

[toc] | [prev] | [next] | [standalone]


#1084

FromJerry Stuckle <jstucklex@attglobal.net>
Date2011-04-14 08:53 -0400
Message-ID<io6qou$cmc$1@dont-email.me>
In reply to#1083
On 4/14/2011 6:37 AM, crankypuss wrote:
> Jerry Stuckle<jstucklex@attglobal.net>  wrote:
>
>> On 4/13/2011 2:16 PM, Peter Lauren wrote:
>>> On Apr 13, 5:25 am, Jerry Stuckle<jstuck...@attglobal.net>   wrote:
>>>> On 4/12/2011 11:33 PM, Peter Lauren wrote:
>>>>
>>>>
>>>>
>>>>> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>     wrote:
>>>>>> Peter Lauren<peterdlau...@gmail.com>     wrote:
>>>>>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>     wrote:
>>>>>>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>>>>
>>>>>>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>     wrote:
>>>>>>>>>> Peter Lauren cried from the depths of the abyss...
>>>>
>>>>>>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
>>>>>>>>>>> part of the task bar. I do actually get one menu, with the function
>>>>>>>>>>> you mention, with a a single click of the left button and a smaller
>>>>>>>>>>> menu, with the Exit function, with a single click of the right. So it
>>>>>>>>>>> looks like I'm in business.
>>>>
>>>>>>>>>> Fantastic.
>>>>
>>>>>>>>> Thanks. But I'm still having a problem. I left-click on the task bar
>>>>>>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
>>>>>>>>> admin. mode, I can edit the file and set
>>>>>>>>> DocumentRoot "f:/SomeOther/Directory"
>>>>>>>>> It still uses the .php file in c:\wamp\www
>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Peter.
>>>>
>>>>>>>> Did you stop and restart Apache after making the changes? The
>>>>>>>> configuration file is only run when Apache starts up, not on every request.
>>>>
>>>>>>>> --
>>>>>>>> ==================
>>>>>>>> Remove the "x" from my email address
>>>>>>>> Jerry Stuckle
>>>>>>>> JDS Computer Training Corp.
>>>>>>>> jstuck...@attglobal.net
>>>>>>>> ==================
>>>>
>>>>>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
>>>>>>> file that said
>>>>>>> # This should be changed to whatever you set DocumentRoot to.
>>>>
>>>>>>> I fixed that and now it works.
>>>>
>>>>>>> Still haven't figured out how to get it to work w/o the /localhost/
>>>>>>> part though
>>>>
>>>>>> Depends on what you really want to do.  The browser needs a domain to
>>>>>> send your request to, there's no way I know of to avoid giving it
>>>>>> *something*.
>>>>
>>>>>> Since you're on windows, you can modify your "hosts" file to point
>>>>>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
>>>>>> to update "httpd.conf" for those domains too.  It gets a bit complex
>>>>>> for me (at least) to attempt to explain here.
>>>>
>>>>>> If you can be more explicit about what you really want to do, you're
>>>>>> more likely to get an answer you can use.
>>>>
>>>>>> --
>>>>>> no aluminum siding offers today
>>>>
>>>>> I would like to run PHP and Java code on my own browser and over the
>>>>> Internet.   It will be called from an hyml file that is on my local
>>>>> PC.
>>>>
>>>>> Thanks,
>>>>> Peter.
>>>>
>>>> Browsers don't run PHP or Java code (they can, however, run Javascript
>>>> code, which is an entirely different animal).
>>>>
>>>
>>> I learned JavaScript before this and did not need a browser as you
>>> point out.  It was when I started using PHP that I found I could not
>>> see the output on my browser until I installed WAMP and started it
>>> running.  Now I can see the output when WAMP is running so the browser
>>> would appear to be accessing the server.  The server is currently
>>> offline but I still get the output on my browser.
>>>
>>> Thanks,
>>> Peter.
>>
>> The server is not offline.
>
> Terminology issue, see below.
>
>> It is running, or your browser would get a
>> connection error message.
>>
>> It may not be available to the internet (and should NOT be as others
>> have pointed out), but it is running.
>
> Wampserver uses the term "offline" to mean "not available to the
> internet".  The term "local" might have been more descriptive, but
> "offline" is the term they chose.
>

A very poor choice of terminology, IMHO.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#1086

Fromcrankypuss <no@email.thanks>
Date2011-04-14 12:47 -0600
Message-ID<j5geq61j6q5oor6onmd8fr5qe4j33r85ak@4ax.com>
In reply to#1084
Jerry Stuckle <jstucklex@attglobal.net> wrote:

>On 4/14/2011 6:37 AM, crankypuss wrote:
>> Jerry Stuckle<jstucklex@attglobal.net>  wrote:
>>
>>> On 4/13/2011 2:16 PM, Peter Lauren wrote:
>>>> On Apr 13, 5:25 am, Jerry Stuckle<jstuck...@attglobal.net>   wrote:
>>>>> On 4/12/2011 11:33 PM, Peter Lauren wrote:
>>>>>
>>>>>
>>>>>
>>>>>> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>     wrote:
>>>>>>> Peter Lauren<peterdlau...@gmail.com>     wrote:
>>>>>>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>     wrote:
>>>>>>>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>>>>>
>>>>>>>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>     wrote:
>>>>>>>>>>> Peter Lauren cried from the depths of the abyss...
>>>>>
>>>>>>>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
>>>>>>>>>>>> part of the task bar. I do actually get one menu, with the function
>>>>>>>>>>>> you mention, with a a single click of the left button and a smaller
>>>>>>>>>>>> menu, with the Exit function, with a single click of the right. So it
>>>>>>>>>>>> looks like I'm in business.
>>>>>
>>>>>>>>>>> Fantastic.
>>>>>
>>>>>>>>>> Thanks. But I'm still having a problem. I left-click on the task bar
>>>>>>>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
>>>>>>>>>> admin. mode, I can edit the file and set
>>>>>>>>>> DocumentRoot "f:/SomeOther/Directory"
>>>>>>>>>> It still uses the .php file in c:\wamp\www
>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Peter.
>>>>>
>>>>>>>>> Did you stop and restart Apache after making the changes? The
>>>>>>>>> configuration file is only run when Apache starts up, not on every request.
>>>>>
>>>>>>>>> --
>>>>>>>>> ==================
>>>>>>>>> Remove the "x" from my email address
>>>>>>>>> Jerry Stuckle
>>>>>>>>> JDS Computer Training Corp.
>>>>>>>>> jstuck...@attglobal.net
>>>>>>>>> ==================
>>>>>
>>>>>>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
>>>>>>>> file that said
>>>>>>>> # This should be changed to whatever you set DocumentRoot to.
>>>>>
>>>>>>>> I fixed that and now it works.
>>>>>
>>>>>>>> Still haven't figured out how to get it to work w/o the /localhost/
>>>>>>>> part though
>>>>>
>>>>>>> Depends on what you really want to do.  The browser needs a domain to
>>>>>>> send your request to, there's no way I know of to avoid giving it
>>>>>>> *something*.
>>>>>
>>>>>>> Since you're on windows, you can modify your "hosts" file to point
>>>>>>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
>>>>>>> to update "httpd.conf" for those domains too.  It gets a bit complex
>>>>>>> for me (at least) to attempt to explain here.
>>>>>
>>>>>>> If you can be more explicit about what you really want to do, you're
>>>>>>> more likely to get an answer you can use.
>>>>>
>>>>>>> --
>>>>>>> no aluminum siding offers today
>>>>>
>>>>>> I would like to run PHP and Java code on my own browser and over the
>>>>>> Internet.   It will be called from an hyml file that is on my local
>>>>>> PC.
>>>>>
>>>>>> Thanks,
>>>>>> Peter.
>>>>>
>>>>> Browsers don't run PHP or Java code (they can, however, run Javascript
>>>>> code, which is an entirely different animal).
>>>>>
>>>>
>>>> I learned JavaScript before this and did not need a browser as you
>>>> point out.  It was when I started using PHP that I found I could not
>>>> see the output on my browser until I installed WAMP and started it
>>>> running.  Now I can see the output when WAMP is running so the browser
>>>> would appear to be accessing the server.  The server is currently
>>>> offline but I still get the output on my browser.
>>>>
>>>> Thanks,
>>>> Peter.
>>>
>>> The server is not offline.
>>
>> Terminology issue, see below.
>>
>>> It is running, or your browser would get a
>>> connection error message.
>>>
>>> It may not be available to the internet (and should NOT be as others
>>> have pointed out), but it is running.
>>
>> Wampserver uses the term "offline" to mean "not available to the
>> internet".  The term "local" might have been more descriptive, but
>> "offline" is the term they chose.
>>
>
>A very poor choice of terminology, IMHO.

Dunno whether I'd agree or not... "not running", "local only",
"internet connected"... could've been lots of terms chosen but they
seem to have picked what they picked.  Having found it necessary to
chose a bunch of terms for naming menu-items and the like, my opinion
is that *good* choices are hard to come by.  Anyway in
wampserver-speek what "offline" means seems to be "local only".

-- 
no aluminum siding offers today

[toc] | [prev] | [next] | [standalone]


#1177

FromPeter Lauren <peterdlauren@gmail.com>
Date2011-04-18 14:10 -0700
Message-ID<0966dcf8-580d-4b59-b6c3-70bf4426624a@17g2000prr.googlegroups.com>
In reply to#1072
On Apr 13, 3:12 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 4/13/2011 2:16 PM, Peter Lauren wrote:
>
>
>
> > On Apr 13, 5:25 am, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
> >> On 4/12/2011 11:33 PM, Peter Lauren wrote:
>
> >>> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>    wrote:
> >>>> Peter Lauren<peterdlau...@gmail.com>    wrote:
> >>>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>    wrote:
> >>>>>> On 4/8/2011 1:45 PM, Peter Lauren wrote:
>
> >>>>>>> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>    wrote:
> >>>>>>>> Peter Lauren cried from the depths of the abyss...
>
> >>>>>>>>> I just noticed that I do have the Wampserver icon on the quick launch
> >>>>>>>>> part of the task bar. I do actually get one menu, with the function
> >>>>>>>>> you mention, with a a single click of the left button and a smaller
> >>>>>>>>> menu, with the Exit function, with a single click of the right. So it
> >>>>>>>>> looks like I'm in business.
>
> >>>>>>>> Fantastic.
>
> >>>>>>> Thanks. But I'm still having a problem. I left-click on the task bar
> >>>>>>> icon, click on Apache:httpd.conf, and a file opens in notepad. In
> >>>>>>> admin. mode, I can edit the file and set
> >>>>>>> DocumentRoot "f:/SomeOther/Directory"
> >>>>>>> It still uses the .php file in c:\wamp\www
>
> >>>>>>> Thanks,
> >>>>>>> Peter.
>
> >>>>>> Did you stop and restart Apache after making the changes? The
> >>>>>> configuration file is only run when Apache starts up, not on every request.
>
> >>>>>> --
> >>>>>> ==================
> >>>>>> Remove the "x" from my email address
> >>>>>> Jerry Stuckle
> >>>>>> JDS Computer Training Corp.
> >>>>>> jstuck...@attglobal.net
> >>>>>> ==================
>
> >>>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
> >>>>> file that said
> >>>>> # This should be changed to whatever you set DocumentRoot to.
>
> >>>>> I fixed that and now it works.
>
> >>>>> Still haven't figured out how to get it to work w/o the /localhost/
> >>>>> part though
>
> >>>> Depends on what you really want to do.  The browser needs a domain to
> >>>> send your request to, there's no way I know of to avoid giving it
> >>>> *something*.
>
> >>>> Since you're on windows, you can modify your "hosts" file to point
> >>>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
> >>>> to update "httpd.conf" for those domains too.  It gets a bit complex
> >>>> for me (at least) to attempt to explain here.
>
> >>>> If you can be more explicit about what you really want to do, you're
> >>>> more likely to get an answer you can use.
>
> >>>> --
> >>>> no aluminum siding offers today
>
> >>> I would like to run PHP and Java code on my own browser and over the
> >>> Internet.   It will be called from an hyml file that is on my local
> >>> PC.
>
> >>> Thanks,
> >>> Peter.
>
> >> Browsers don't run PHP or Java code (they can, however, run Javascript
> >> code, which is an entirely different animal).
>
> > I learned JavaScript before this and did not need a browser as you
> > point out.  It was when I started using PHP that I found I could not
> > see the output on my browser until I installed WAMP and started it
> > running.  Now I can see the output when WAMP is running so the browser
> > would appear to be accessing the server.  The server is currently
> > offline but I still get the output on my browser.
>
> > Thanks,
> > Peter.
>
> The server is not offline.  It is running, or your browser would get a
> connection error message.
>
> It may not be available to the internet (and should NOT be as others
> have pointed out), but it is running.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

I meant it's not connected to the Internet.  The wampserver icon says
"server Offline but I guess that just means it's not connected to the
Internet.

Thanks,
Peter.

[toc] | [prev] | [next] | [standalone]


#1076

FromDenis McMahon <denis.m.f.mcmahon@gmail.com>
Date2011-04-13 20:57 +0000
Message-ID<4da60e3a$0$12063$bed64819@gradwell.net>
In reply to#1044
On Tue, 12 Apr 2011 20:33:54 -0700, Peter Lauren wrote:

> I would like to run PHP and Java code on my own browser and over the
> Internet.   It will be called from an hyml file that is on my local PC.

You can not run php code on your browser.

php code as you understand it runs in a script processor that operates 
within a web server environment and generates output that that web server 
then delivers to a web browser across an internet connection.

Rgds

Denis McMahon

[toc] | [prev] | [next] | [standalone]


#1178

FromPeter Lauren <peterdlauren@gmail.com>
Date2011-04-18 14:22 -0700
Message-ID<65c3e022-9fbe-47b5-a46f-9d0757472034@w36g2000vbi.googlegroups.com>
In reply to#1076
On Apr 13, 4:57 pm, Denis McMahon <denis.m.f.mcma...@gmail.com> wrote:
> On Tue, 12 Apr 2011 20:33:54 -0700, Peter Lauren wrote:
> > I would like to run PHP and Java code on my own browser and over the
> > Internet.   It will be called from an hyml file that is on my local PC.
>
> You can not run php code on your browser.
>
> php code as you understand it runs in a script processor that operates
> within a web server environment and generates output that that web server
> then delivers to a web browser across an internet connection.
>
> Rgds
>
> Denis McMahon

I understand that now.  What I meant was that I would like my code to
run on my machine and on a remote machine and have the output rendered
on my browser and on a remote user's browser.  I think I can see why I
cannot use /localhost/ when it is being accessed by a remote user.
Seems I need to provide my IP address through the DNS.

Thanks,
Peter.

[toc] | [prev] | [next] | [standalone]


#1196

Fromcrankypuss <no@email.thanks>
Date2011-04-19 03:42 -0600
Message-ID<6qkqq658hm095t6vgjagmamug6jnmik2rb@4ax.com>
In reply to#1178
Peter Lauren <peterdlauren@gmail.com> wrote:

>On Apr 13, 4:57 pm, Denis McMahon <denis.m.f.mcma...@gmail.com> wrote:
>> On Tue, 12 Apr 2011 20:33:54 -0700, Peter Lauren wrote:
>> > I would like to run PHP and Java code on my own browser and over the
>> > Internet.   It will be called from an hyml file that is on my local PC.
>>
>> You can not run php code on your browser.
>>
>> php code as you understand it runs in a script processor that operates
>> within a web server environment and generates output that that web server
>> then delivers to a web browser across an internet connection.
>>
>> Rgds
>>
>> Denis McMahon
>
>I understand that now.  What I meant was that I would like my code to
>run on my machine and on a remote machine and have the output rendered
>on my browser and on a remote user's browser.

I suspect that you mean "run on my machine OR on a remote machine". 

Since http is a point-to-point protocol, having the output for a given
request rendered on two browsers ("on my browser and on a remote
user's browser") is fairly difficult and requires a good bit of custom
server coding.

-- 
no aluminum siding offers today

[toc] | [prev] | [next] | [standalone]


#1025

FromMichael Fesser <netizen@gmx.de>
Date2011-04-09 12:26 +0200
Message-ID<9oc0q6l15jqoterfgr6j55mcvlkor0g3h7@mfesser.de>
In reply to#1017
.oO(Peter Lauren)

>Still haven't figured out how to get it to work w/o the /localhost/
>part though

Not possible. In order to access your websites via HTTP you have to use
a URL, which has to include a hostname. If you don't like 'localhost',
you can add another one, but it has to be at least one char long. So
even then you would have to use a URL like http://x/ to access your
pages. No HTTP request without a hostname.

Micha

[toc] | [prev] | [next] | [standalone]


Page 4 of 7 — ← Prev page 1 2 3 [4] 5 6 7  Next page →

Back to top | Article view | comp.lang.php


csiph-web