revlet saves txt file

Yves COPPE yvescoppe at skynet.be
Sat Aug 8 04:59:31 EDT 2009


Le 08-août-09 à 10:11, Brian Yennie a écrit :

> Hi Yves,
>
> You can POST the data *to* a PHP script. PUT command is designed for  
> uploading a file (and many hosts do not support it). POST command as  
> far as I know is supported by every host -- but you must have a  
> script to receive the data. You cannot POST to just any URL.
>
> So for example you would do something like:
>
> post myData to "http://myserver.com/myscript.php"
>
> And then you would have a PHP script which receives the data and  
> writes it to the appropriate file:
>
> (note: brackets used here so email doesn't turn this snippet into an  
> HTML tag)
>
> [?php
>
> $pref1 = $_POST["pref1"];
> $pref2 = $_POST["pref2"];
>
> ...
>
> // write the prefs data to a file
>
> ?]
>
> Hope that gets you a bit closer.






Re Brian,


Yes, it is exactly what I want to do
Thanks


Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list