Re: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread Tim Streater
On 13 Jan 2012 at 15:05, David Savage dsav...@cytelcom.com wrote: 

 I open the html file up from a windows explorer window (Q:\asterisk\), and so
 IE opens it up, but the problem lies in the fact that I cannot find apache
 service running in the background...haven't figured out why yet.  The test
 configuration start menu option (under configure apache server) just
 displays a console window for a brief moment, then immediately disappears. 
 The icon I see near my time says Running none of 1 Apache servicesSo I
 have to get that straightened out first...I believe that's been my problem all
 along.

Well, that's going to be part of it, but it's never going to work if you open 
it via Explorer. If you do that, apache won't be involved whether it's running 
or not. This will only work if you have IE (or other browser) open and put 
http://localhost/your-webpage.html into the browser's address bar. Further, 
both the webpage and PHP file need to be in your document-root. Look in your 
apache config file for that).

--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread Curtis Maurand



Make sure IIS is not running. That'll cause all kinds of trouble.

Tim Streater wrote:
 On 13 Jan 2012 at 15:05, David
Savage dsav...@cytelcom.com wrote:
 
 I open
the html file up from a windows explorer window (Q:\asterisk\),
 and so
 IE opens it up, but the problem lies in
the fact that I cannot find
 apache
 service
running in the background...haven't figured out why yet.  The
 test
 configuration start menu option
(under configure apache server) just
 displays a
console window for a brief moment, then immediately

disappears.
 The icon I see near my time says Running
none of 1 Apache
 servicesSo I
 have
to get that straightened out first...I believe that's been my
 problem all
 along.
 
 Well,
that's going to be part of it, but it's never going to work if you
 open it via Explorer. If you do that, apache won't be involved
whether
 it's running or not. This will only work if you have IE
(or other browser)
 open and put
http://localhost/your-webpage.html into the browser's address

bar. Further, both the webpage and PHP file need to be in your

document-root. Look in your apache config file for that).
 
 --
 Cheers  --  Tim
 
 --
 PHP
General Mailing List (http://www.php.net/)
 To unsubscribe,
visit: http://www.php.net/unsub.php


Re: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread Curtis Maurand


Tim Streater wrote:
 On 13 Jan 2012 at 15:05, David Savage
dsav...@cytelcom.com wrote:
 
 I open the
html file up from a windows explorer window (Q:\asterisk\),

and so
 IE opens it up, but the problem lies in the fact that
I cannot find
 apache
 service running in the
background...haven't figured out why yet.  The
 test
 configuration start menu option (under configure
apache server) just
 displays a console window for a
brief moment, then immediately
 disappears.
 The
icon I see near my time says Running none of 1 Apache

servicesSo I
 have to get that straightened out
first...I believe that's been my
 problem all

along.
 
 Well, that's going to be part of it, but it's
never going to work if you
 open it via Explorer. If you do that,
apache won't be involved whether
 it's running or not. This will
only work if you have IE (or other browser)
 open and put
http://localhost/your-webpage.html into the browser's address

bar. Further, both the webpage and PHP file need to be in your

document-root. Look in your apache config file for that).

Sorry
for the top post.

Make sure IIS is not running.  It'll
cause all kinds of trouble.


RE: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread David Savage
thanks for your assistance.



From: Tim Streater [mailto:t...@clothears.org.uk]
Sent: Fri 1/13/2012 9:37 AM
To: David Savage
Cc: PHP General List
Subject: Re: RE: RE: [PHP] passing variables to php script



On 13 Jan 2012 at 15:05, David Savage dsav...@cytelcom.com wrote:

 I open the html file up from a windows explorer window (Q:\asterisk\), and so
 IE opens it up, but the problem lies in the fact that I cannot find apache
 service running in the background...haven't figured out why yet.  The test
 configuration start menu option (under configure apache server) just
 displays a console window for a brief moment, then immediately disappears.
 The icon I see near my time says Running none of 1 Apache servicesSo I
 have to get that straightened out first...I believe that's been my problem all
 along.

Well, that's going to be part of it, but it's never going to work if you open 
it via Explorer. If you do that, apache won't be involved whether it's running 
or not. This will only work if you have IE (or other browser) open and put 
http://localhost/your-webpage.html into the browser's address bar. Further, 
both the webpage and PHP file need to be in your document-root. Look in your 
apache config file for that).

--
Cheers  --  Tim




Re: RE: [PHP] passing variables to php script

2012-01-12 Thread Tim Streater
On 12 Jan 2012 at 18:51, David Savage dsav...@cytelcom.com wrote: 

 Installed apache onto a win2K server, and have the html file  php file in the
 same folder (Q:\ASTERISK\) on the Q: drive (which is just another drive in
 this same server).  I opened the html file using IE 6.0.   What I'm thinking
 is there may be an issue with some setting on the web server.  The php
 statements I posted were the first few statements in the script, so apparently
 the script didn't see the variables, so I'll have to review the httpd.conf and
 php.ini files to find whatever settings is preventing the acctnum, year, and
 month from being passed to the php script.  

You say:

   I opened the html file using IE 6.0

I don't like the sound of that. Do you mean you double-clicked the file and it 
opened in IE or do you mean you put Q:\... into the IE address bar or what?

What you should be doing is putting http://localhost/your-file.html in the IE 
address bar.

What is your document-root? Is the Q:\thingy part of it?

--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php