# Error opening URL

**URL:** <https://forum.kirupa.com/t/error-opening-url/253541>\
**Category:** Uncategorized\
**Created:** [March 2, 2008, 8:34pm UTC](https://forum.kirupa.com/t/error-opening-url/253541 "2008-03-02T20:34:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beerme](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@beerme](https://forum.kirupa.com/u/beerme)\
**Post date:** [March 2, 2008, 8:34pm UTC](https://forum.kirupa.com/t/error-opening-url/253541/1 "2008-03-02T20:34:09Z")

</div>

Flash CS3 Actionscript 2.0

```auto
var senderLoad:LoadVars = new LoadVars();
var recieveLoad:LoadVars = new LoadVars();
Sender.onRelease = function() {
 senderLoad.theName = theName.text;
 senderLoad.theGladiatusName = theGladiatusName.text;
 senderLoad.theEmail = theEmail.text;
 senderLoad.theSubject = theSubject.text;
 senderLoad.theMessage = theMessage.text;
 senderLoad.sendAndLoad("http://ultimate-signatures.com/form.php", recieveLoad);
}
recieveLoad.onLoad = function(){
 if(this.$sentOK) {
  _root.gotoAndStop(300);
 }
 else{
  _root.gotoAndStop(305);
 }
}

```

Response - Error opening URL ‘[http://ultimate-signatures.com/form.php](http://ultimate-signatures.com/form.php)’

PHP

```auto
<?PHP 
$sendto = "[EMAIL="thelegion@ultimate-signatures.com"]thelegion@ultimate-signatures.com[/EMAIL]";
$subject = "The Legion Contact Forum";
$message = "Name: " . $theName; 
$message .= "
GladiatusName: " . $theGladiatusName;
$message .= "
Email: " . $theEmail;
$message .= "

Subject: " . $theSubject;
$message .= "
Message: " . $theMessage;
$headers = "From: $theEmail";
$headers .= "
Reply-To: $theEmail";
sentOK = mail($to,$subject,$message,$headers);
echo "sentOK=" . $sentOK;
?>

```

Please can someone let me know where im going wrong…

Thanks in advance  
Andy
