Re: passing variables to php script
| From: | Matijn Woudt | Date: | Thu, 12 Jan 2012 18:47:57 +0000 |
| Subject: | Re: passing variables to php script | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316275@lists.php.net to get a copy of this message | ||
On Thu, Jan 12, 2012 at 7:51 PM, David Savage <dsavage@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.
No, Don't open the html file from the drive! If you have installed
apache, you can open IE and go to http://localhost, this will show
your web site running. If you put the files from Q:\ASTERISK in the
folder where the website is, or you set this correctly in httpd.conf
then it will show up fine. Now, if you update the form, and replace
Q:\ASTERISK\callrecs.php with /callrecs.php, then it'll probably work
fine.
Matijn