Email form action for Yahoo Small Business

Yahoo Small Business Hosting (not the free version) requires that users use the URL for the form posting action:

I need the form posting action to be:
[php]<?php echo $_SERVER['PHP_SELF']; ?>[/php]

Can I have two from actions? How do I bypass the yahoo URL?
The form will not post with [php]<?php echo $_SERVER['PHP_SELF']; ?>[/php] only.

Here is the whole form:

$name = $_POST[‘Name’];
$last = $_POST[‘Last’];
$email = $_POST[‘Email’];
$phone = $_POST[‘Phone’];
$subject = $_POST[‘Subject’];
$comment = $_POST[‘Comment’];

$to = '[email protected]';
$from = $email;
$subject = $subject;

$message .= "PLAIN TEXT EMAIL\n";
$message .= "Name: $name, $last\n";
$message .= "Phone Number: $phone\n";
$message .= "Copy: $comment\n";

$mail_sent = mail($to, $subject, $message, 'From: ' . $from);



<?php require('templates/header.html'); ?> <?php function show_form($Name="",$Last="",$Email="",$Phone="",$Subject="",$Comment=""){ ?>
First Name *
Last Name
Email Address
Telephone Number
Message *
<?php } if($HTTP_SERVER_VARS['REQUEST_METHOD']!='POST') { show_form(); } else { if ((empty($HTTP_POST_VARS['Name'])) || (empty($HTTP_POST_VARS['Comment']))) { echo "

You did not fill in all the fields, please try again!

\n"; show_form($HTTP_POST_VARS['Name'],$HTTP_POST_VARS['Last'],$HTTP_POST_VARS['Email'],$HTTP_POST_VARS['Phone'],$HTTP_POST_VARS['Subject'],$HTTP_POST_VARS['Comment']); } else { if($mail_sent == true){ print "Your email was sent."; } echo "

Thank you for your taking the time to contact us $HTTP_POST_VARS[Name].

"; } } ?> <?php require('templates/footer.html'); ?>[/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service