RE: passing variables to php script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.  
 
Thanks to all of you who posted comments for this problem !  I believe it will eventually come together.
David
 
________________________________

From: Ellis Antaya [mailto:ellis.antaya@xxxxxxxxx]
Sent: Tue 1/10/2012 4:46 PM
To: Marco Behnke
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  passing variables to php script



"it can't work as long as long as there is Q:\ ins his form action"
+1

David, which web server are you running (apache, iis, ...)?
What is your document_root?
And last question, where are your html file and your php file(the full file path)?


---
Ellis
(Sent from my iPod)

On 2012-01-10, at 16:25, Marco Behnke <marco@xxxxxxxxxx> wrote:

> Am 10.01.12 21:57, schrieb Ashley Sheridan:
>>
>>
>>> o simply "callrecs.php" and see if that works.
>>> > Q: would be referencing a filesystem path, rather a web address interpreted by a  PHP processor. Make sure your .php target is within a PHP supported web space.
>>> If a default application is set within windows for php, the script
>>> submitting to Q will be executed.
>>>
>>>
>>
>> But wouldn't Windows attempt to execute the PHP script as if it were a CLI script, not as if it were within a web server context? That would make posting a form pretty pointless.
> Indeed. But isn't that the point? We are trying to figure out why his posting the form does not work. I say, it can't work as long as long as there is Q:\ ins his form action, no way it will do, because you leave your webserver context anyways.
>
> He must change it to a valid web url.
>
> --
> Marco Behnke
> Dipl. Informatiker (FH), SAE Audio Engineer Diploma
> Zend Certified Engineer PHP 5.3
>
> Tel.: 0174 / 9722336
> e-Mail: marco@xxxxxxxxxx
>
> Softwaretechnik Behnke
> Heinrich-Heine-Str. 7D
> 21218 Seevetal
>
> http://www.behnke.biz <http://www.behnke.biz/> 



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux