[FX.php List] Anyone know how to escape characters?
Derek Bastille
bastille at arsc.edu
Mon May 16 17:13:04 MDT 2005
One thing you can try (that I find myself using quite a bit) is to add
the following snippet just after the FMFind() query:
<pre><?php echo 'FM URL' . $returnedData['URL'] . "\n"; ?></pre>
This snippet prints the actual URL used by FXphp to talk to the FM
server. You can then cut and paste this in to a browser to see if FM
will take it or if it has been truncated.
Regards,
Derek
On May 16, 2005, at 2:42 PM, Kevin Futter wrote:
> On 17/5/05 5:45 AM, "Dave Strickler" <dstrickler at mailwise.com> wrote:
>
>> I am having trouble inserting data into a FM database, and I'm 90%
>> sure its the data as when I try with test data it works just fine.
>>
>> The data that won't import has chars like "[" and "]" as well as
>> "@", "%", "http://". One of the fields is text, and is about 1.5k
>> long. While I don't get an error from FX, the record never appears in
>> FM.
>>
>> Any clues on this? Perhaps I need to escape the data ?
>>
>> Thanks,
>>
>> Dave Strickler
>> MailWise LLC
>> 617 267-0044 x810
>> www.mailwise.com <http://www.mailwise.com>
>
> Your large text field may in fact exceed the allowable limit on GET
> requests. Correct me if I’m wrong, but I understood that FX always
> uses GET when sending data to FM, no matter what method you specify in
> your form.
> --
> Kevin Futter
> Webmaster, St. Bernard's College
> http://www.sbc.melb.catholic.edu.au/
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list