Subject: | |
From: | |
Reply To: | |
Date: | Fri, 21 Oct 2011 16:16:02 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Other than in his HTML:
[code]
> <input type="hidden" value="2" name=”id” />
> <input type="hidden" value="DDD" name=”company” />
> <input type="hidden" value="EEE" name=”state” />
[/code]
Dan is not asking for anything out of the ordinary. Check the php.ini
Beverly
On 21 Oct 2011, at 4:00 PM, Stephen Wonfor wrote:
> Dan
>
> Smart Quotes on?
>
> Stephen
>
> ----------
>
> "It is the eye of ignorance that assigns a fixed and unchangeable color to every object; beware of this stumbling block." --- Paul Gauguin
>
> On Oct 21, 2011, at 1:41 PM, Don Wieland wrote:
>
>> Hey gang,
>>
>> I have a web viewer with this calc defined:
>>
>> "data:text/html,"& test_web::html
>>
>> ----------------
>>
>> Then in the "test_web::html" field I have this html code:
>>
>> <html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
>> </head>
>> <body>
>>
>> <form id="contact" method="post" action="http://www.dwdataconcepts.com/web_test.php">
>>
>> <input type="hidden" value="2" name=”id” />
>> <input type="hidden" value="DDD" name=”company” />
>> <input type="hidden" value="EEE" name=”state” />
>>
>> </form>
>>
>> <script type="text/javascript">
>> function myfunc () {
>> var frm = document.getElementById("contact");
>> frm.submit();
>> }
>> window.onload = myfunc;
>> </script>
>>
>> </body>
>> </html>
>>
>> ----------------
>>
>> Then the code of my "web_test.php" page is:
>>
>> echo "<pre>";
>> print_r($_POST);
>> echo "</pre>";
>>
>> ----------------
>>
>> The WebViewer returns a result of this:
>>
>> Array ( [â€idâ€] => 2 [â€companyâ€] => DDD [â€stateâ€] => EEE )
>> ----------------
>> Seems like an issue with the quotes. Does anyone know of a way to resolve this issues so FMP does not send strange characters to web page.
>>
>> Just experimenting to see if FMP could do a simple POST in the WebViewer. I appreciate any feedback.
>>
>> Don Wieland
>> D W D a t a C o n c e p t s
>> ~~~~~~~~~~~~~~~~~~~~~~~~~
>> [log in to unmask]
>> Direct Line - (949) 336-4828
>>
>> Integrated data solutions to fit your business needs.
>>
>> Need assistance in dialing in your FileMaker solution? Check out our Developer Support Plan at:
>> http://www.dwdataconcepts.com/DevSup.php
>>
>> Appointment 1.0v9 - Powerful Appointment Scheduling for FileMaker Pro 9 or higher
>> http://www.appointment10.com
>>
>> For a quick overview -
>> http://www.appointment10.com/Appt10_Promo/Overview.html
>>
|
|
|