Please enter the name of your act"; else if($bandsite == "" && $Submit) echo "Please enter your website"; else if($myspace == "" && $Submit) echo "Please enter your MySpace address"; else if($contactname == "" && $Submit) echo "Please enter a contact name"; else if($contactemail == "" && $Submit) echo "Please enter your contact email address"; else if($contactphone == "" && $Submit) echo "Please enter your phone number"; //else if($mp3_source == "" && $Submit)//if an image was sent //echo "Please add an mp3 for upload"; //else if($bandpic_source == "" && $Submit)//if an image was sent //echo "Please add a band photo for upload"; //else if($bandbio_source == "" && $pastebio == "" && $Submit)//if an image was sent //echo "Please add a band bio for upload or paste it below"; else if($Submit) { if($bandbio_source != '') { $bandbio_uploader = new hft_uploader("bandbio", "banduploads", "application/msword text/html", 10000000000000000, 1); $destination_bandbio_name = $bandbio_uploader->original_name; $bandbio_uploader->store_upload($destination_bandbio_name); } //$mp3_uploader = new hft_uploader("mp3", "banduploads", "audio/mpeg3 audio/mp3 audio/mpeg", 10000000000000000, 1); //$destination_mp3_name = $mp3_uploader->original_name; //if($mp3_uploader->store_upload($destination_mp3_name)) //echo "hoorray"; $uploader = new hft_uploader("myupload", "banduploads", "audio/mpeg3 audio/mp3 audio/mpeg", 10000000000000000, 1); $destination_file_name_mp3 = $uploader->original_name; if($uploader->store_upload($destination_file_name_mp3)) $x = 3; //$uploader = new hft_uploader("myupload2", "banduploads", "image/jpeg image/pjpeg image/gif", 10000000000000000, 1); // $destination_file_name_pic = $uploader->original_name; // if($uploader->store_upload($destination_file_name_pic)) //$x = 3; //$bandpic_uploader = new hft_uploader("bandpic", "../banduploads", "audio/mpeg3 audio/mp3 audio/mpeg", 10000000000000000, 1); //$destination_bandpic_name = $bandpic_uploader->original_name; //$bandpic_uploader->store_upload($destination_bandpic_name); $to = 'mike@pancomics.com'; $subject = 'New Popcore Band App'; if($pastebio != "") $biostuff = $pastebio; else $biostuff = "Download"; $message = "Band Name: $bandname
Website: $bandsite
Myspace Page: $myspace
Contact Name: $contactname
Email: $contactemail
Phone: $contactphone
AIM Name: $contactaol
Mp3: Download

Band Photo: Download
Bio: $biostuff"; $headers = 'From: auto@popcore.net' . "\r\n" . 'Reply-To: auto@popcore.org' . "\r\n" . $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; mail($to, $subject, $message, $headers); echo "

Thanks for submitting your info. We'll contact you soon.
"; exit(); } ?>

site design by rockwebZ