Re: passing variables to php script
| From: | Marco Behnke | Date: | Tue, 10 Jan 2012 20:43:08 +0000 |
| Subject: | Re: passing variables to php script | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316248@lists.php.net to get a copy of this message | ||
Am 10.01.12 21:28, schrieb Mike Mackintosh:
>
> On Jan 10, 2012, at 15:12, Marco Behnke <marco@behnke.biz> wrote:
>
>> Am 10.01.12 21:07, schrieb Donovan Brooke:
>>> David Savage wrote:
>>>> OK...I admit I'm new at this....I have this html file:
>>>> <html>
>>>> <head>
>>>> <title>Generate pdf file of LD, Toll Free, and Directory Assistance
>>>> calls</titl
>>>> </head>
>>>> <body>
>>>> <form action="Q:\ASTERISK\callrecs.php" method="post">
>> Stupid question ..... where have you copied your script? Is it lying on
>> a webserver? Then I would guess that you are submitting the form on your
>> webserver which hits the PHP script on your Desktop PC which in tunr
>> invokes the PHP command line interpreter who has no idea what you mean
>> by $_POST.
>>
>> Try changing the form action to 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.
--
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
Attachment: [application/pkcs7-signature] S/MIME Kryptografische Unterschrift smime.p7s
Attachment: [application/pkcs7-signature] S/MIME Kryptografische Unterschrift smime.p7s