Re: passing variables to php script
| From: | Ellis Antaya | Date: | Tue, 10 Jan 2012 22:46:30 +0000 |
| Subject: | Re: passing variables to php script | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316253@lists.php.net to get a copy of this message | ||
"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@behnke.biz> 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@behnke.biz
>
> Softwaretechnik Behnke
> Heinrich-Heine-Str. 7D
> 21218 Seevetal
>
> http://www.behnke.biz