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
yvesco...@skynet.be
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution