Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / March 2006



Tip: Looking for answers? Try searching our database.

looking to send data to php only

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ck1mark - 22 Mar 2006 23:32 GMT
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;
?>
Motion Maker - 23 Mar 2006 18:00 GMT
>>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;
?>
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.