post command

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Aug 9 17:12:47 EDT 2009


Yves,

First of all, you need to define a variable. Without variables, php  
isn't even aware that you tried to send something. Second, you need to  
urlEncode your data. For example:

put "myVar=" & urlEncode(fld "myFld") into myString
post myString to url "http://www.mondomaine.be/dossierscripts/test.php"

If you have multiples variables, myString should be of the following  
format:

"myVar1=" & myData1 & "&myVar2=" & myData2

where myDataX is urlEncoded.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com

Submit your software products to http://www.quickestpublisher.com and  
get found!

On 9 aug 2009, at 22:56, Yves COPPE wrote:
>
> re,
>
> text fld
>
> text tab text tab text
> text tab text tab text
> text tab text tab text
> ....
> about 10 lines
>
>
> Greetings.
>
> Yves COPPE
> yvescoppe at skynet.be




More information about the Use-livecode mailing list