# Php-loadVars problem

**URL:** <https://forum.kirupa.com/t/php-loadvars-problem/169340>\
**Category:** Uncategorized\
**Created:** [November 15, 2005, 3:41pm UTC](https://forum.kirupa.com/t/php-loadvars-problem/169340 "2005-11-15T15:41:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beenetto](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@beenetto](https://forum.kirupa.com/u/beenetto)\
**Post date:** [November 15, 2005, 3:41pm UTC](https://forum.kirupa.com/t/php-loadvars-problem/169340/1 "2005-11-15T15:41:15Z")

</div>

my AS doesnt want to triger the php script I have no idea why . I tried on the domain and localy.  
but nothing happens.  
here is the script I’m using:

var highScore\_lv:LoadVars = new LoadVars();  
highScore\_lv.filename = “pontok”;  
highScore\_lv.scoresize = 5;  
highScore\_lv.action = “INSERT”;  
highScore\_lv.viewtype = “HTML”;  
highScore\_lv.winname = pName;  
highScore\_lv.winscore = score;  
highScore\_lv.onData = function(src:String) {  
if (src == undefined) {  
content\_txt.text = “Error loading content.”;  
return;  
}  
content\_txt.text = highScore\_lv;  
};  
function setSubmit() {  
highScore\_lv.winname = inName.text;  
highScore\_lv.winscore = inScore.text;  
trace(highScore\_lv);  
}  
function submit() {  
highScore\_lv.sendAndLoad(“[http://127.0.0.1/scores.php](http://127.0.0.1/scores.php)”, highScore\_lv, “POST”);  
}
