# Need some help with sending text by post

**URL:** <https://forum.kirupa.com/t/need-some-help-with-sending-text-by-post/307446>\
**Category:** Uncategorized\
**Created:** [April 3, 2010, 1:21pm UTC](https://forum.kirupa.com/t/need-some-help-with-sending-text-by-post/307446 "2010-04-03T13:21:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roycegracie](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@roycegracie](https://forum.kirupa.com/u/roycegracie)\
**Post date:** [April 3, 2010, 1:21pm UTC](https://forum.kirupa.com/t/need-some-help-with-sending-text-by-post/307446/1 "2010-04-03T13:21:37Z")

</div>

hi.

i made a small game. the player needs to press as past as he can on the mouse before time runsout.

well, i want to send the score of the player by post (php)

i have read alot of guids but i didn’t mannaged to do thise, so i came here.

please help me.

you can see my code here:

stop();  
var counter\_num:Number=0;  
var allow\_start=true;  
var first\_time=true;

function start\_play(){  
this.onEnterFrame = function() {  
timeIt+=1  
if(timeIt\<121){  
second\_hand.\_rotation = timeIt\*3;  
counter\_txt.text=counter\_num;  
}else{  
delete this.onEnterFrame;  
counter\_txt.text = counter\_num+"- your score";

setTimeout(function():Void{allow\_start=true,first\_ time=true}, 1000);  
}}}

clickIt.onRelease = function() {  
if((allow\_start==true)&&(first\_time==true)){  
first\_time=false  
allow\_start=false;  
start\_play();  
timeIt=0;  
counter\_num=0;  
}if((allow\_start==false)&&(first\_time==false)){  
counter\_num+=1;  
}}

sorry for my bad english,  
thank you.
