Sign up/newsletter problem

Hello,

I hope anyone can help me fix the following problem. I downloaded a newsletter, but it doesn’t work when I upload it on my server. I’m using a php server and everything is placed in the same directory. What I understood is that I need to make an adjustment in the php file.

my php code:

<?php  

if (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $_GET["email"])) 
    { 
    print "error=invalid email"; 
    die(); 
    } 

$fp = fopen("emails.txt",  "r");  
$content = fread($fp, filesize("emails.txt"));  
fclose($fp); 

if (eregi($_GET["email"],  $content)) 
    { 
    print "error=duplicate email"; 
    die(); 
    } 

$fp = fopen("emails.txt",  "a+");  
if (fwrite($fp, $_GET["email"]."
")) 
    print "status=ok";  
fclose($fp); 
?>

On my button i use this action script

on (release) {     
error = "";     loadVariablesNum("http://www.mydomainname.com/subscribe.php?email="+_root.email, 0, "GET"); }

I added the fla file I’m using so maybe you can see where things go wrong.
I hope you can help me.

anyone… is it that difficult?