how to format data in LC for posting them to a PHP script?
jbv at souslelogo.com
jbv at souslelogo.com
Sun Jul 6 11:24:18 EDT 2025
Hi Klaus,
This should work :
put "ben=USER&password=PWD&sprach=de" into tData
post urlencode(tData) to URL "http://XXX/XXXXX.php"
jbv
Le 2025-07-06 10:17, Klaus major-k via use-livecode a écrit :
> Hi friends,
>
> quick question, how to format the data in LC for posting them to a PHP
> script like this?
> This is the html code from the webpage:
> ...
> <form action = "XXXXX.php" method = "post">
> <p><input name="ben" maxlength="15" /> Benutzer</p>
> <p><input type="password" name="pw" maxlength="15" /> Password</p>
> <input type='hidden' name='sprach' value='de'
> ...
>
> Like this?
> ...
> put "ben=USER;password=PWD;sprach=de" into tData
> ## ?
> post tData to "http://XXX/XXXXX.php"
> put the result
> ...
> ?
>
> Thank you!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list