I really hope someone can help me, I'm going mad trying to work out why this wont work;
I am trying to use loadvars to 'post' multiple variables to a remote php script. But no matter what i try it only seems to be going though as a GET, rather then a POST!
I have tried to cut everything down to the bare minimum to see if it would help, but alas no.
Here is my Flash Mx 2004 pro code: (just an empty file with this code)
"
senddata_lv = new LoadVars();
senddata_lv.test = "cmon, please post this.";
senddata_lv.send(""
I've changed publish settings to Player 6, AS v.1 but that hasnt made a difference.
PHP script:
<?php
echo "post = " . $HTTP_POST_VARS["test"];
echo "<br>get = " . $HTTP_GET_VARS["test"];
?>
The output is always for the 'get' variable.. I'd appreciate any help that you can offer.
Regards
Jubal
I am trying to use loadvars to 'post' multiple variables to a remote php script. But no matter what i try it only seems to be going though as a GET, rather then a POST!
I have tried to cut everything down to the bare minimum to see if it would help, but alas no.
Here is my Flash Mx 2004 pro code: (just an empty file with this code)
"
senddata_lv = new LoadVars();
senddata_lv.test = "cmon, please post this.";
senddata_lv.send(""
I've changed publish settings to Player 6, AS v.1 but that hasnt made a difference.
PHP script:
<?php
echo "post = " . $HTTP_POST_VARS["test"];
echo "<br>get = " . $HTTP_GET_VARS["test"];
?>
The output is always for the 'get' variable.. I'd appreciate any help that you can offer.
Regards
Jubal