sendAndLoad works locally but not on site

Anyone have any idea on this?

My sendAndLoad

temp.onPress = function() {
		if (this._parent.ratingsEnabled) {
			trace("going to update current subtitle rating");
			// show loading
			this.loadingScore._visible = true;
			// diable all rating once again...
			disableRating();
			var result_lv:LoadVars = new LoadVars();
			result_lv.onLoad = function(success:Boolean) {
				if (success) {
					trace("success " + result_lv.newScore);
					//wait for new score
					_root.ratingScore = result_lv.newScore;
					trace(_root.ratingScore);
					//update txt and update star
					updateMask();
					// removing loading
					loadingScore._visible = false;
				} else {
					trace("fail");
					//result_ta.text = "Error connecting to server.";
				}
			};
			var send_lv:LoadVars = new LoadVars();
			send_lv.score2 = this.tempNum;
			send_lv.id = 0;
			trace(send_lv.toString());
			send_lv.sendAndLoad("http://www.xxx.com/xx/xx/addRating.php", result_lv);
		}
	};

my php


echo "&newScore=" . $newAvgScore;