I am using this code which is wrong but i havent found how..
var url:String = "http://www.milliondollarring.com/updateClicked.php";
var dataToSend:String = "&clicks=" + obj;
var sender:LoadVars = new LoadVars();
sender.send(url, dataToSend, "POST");
<?php
$recieve = $_POST;
?>
>>I am using this code which is wrong but i havent found how..
1. What is the error?????
2. A send only action leaves your debugging to the server side such as a
dump of variables to a text file or other means to see if the script worked.
The send method does not return anything to Flash for you to debug. Rarely
does send meet client server needs as often the client side needs some
confirmation of the server side performance.
3. I cannot see where you are using the variable clicks in the PHP. The PHP
is only assigning the superglobal $_POST to another variable but not
addressing the elements as perhaps like this:
$_POST['clicks']
or
$recieve['clicks']

Signature
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
I am using this code which is wrong but i havent found how..
var url:String = "http://www.milliondollarring.com/updateClicked.php";
var dataToSend:String = "&clicks=" + obj;
var sender:LoadVars = new LoadVars();
sender.send(url, dataToSend, "POST");
<?php
$recieve = $_POST;
?>