Hi jbv,

> Am 06.07.2025 um 17:24 schrieb jbv via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hi Klaus,
> 
> This should work :
> 
> put "ben=USER&password=PWD&sprach=de" into tData
> post urlencode(tData) to URL "http://XXX/XXXXX.php";

ah, yes the &, that was it, thank you, will try that! :-)

> 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
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to