"; elseif(strlen($firstname) > 16) $errorstring .= "First Name must be a maximum of 16 characters long
"; else { $allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\' "; if(!allowedChars($firstname, $allowed)) $errorstring .= "First Name contains illegal characters!
"; } $lastname = formatField($lastname); if(strlen($lastname) < 1) $errorstring .= "You must enter your Last Name
"; elseif(strlen($lastname) > 20) $errorstring .= "Last Name must be a maximum of 20 characters long
"; else { $allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\' "; if(!allowedChars($lastname, $allowed)) $errorstring .= "Last Name contains illegal characters!
"; } $email1 = strtolower(formatField($email1)); $email2 = strtolower(formatField($email2)); if($email1 != $email2) $errorstring .= "The Email Addresses you entered do not match
"; elseif(strlen($email1) < 1) $errorstring .= "You must enter your email address
"; elseif(!isValidEmail($email1)) $errorstring .= "Email Address is not valid!
"; $test = mysql_query("SELECT * FROM accounts WHERE email = \"$email1\""); if(mysql_numrows($test) != 0) $errorstring .= "The Email Address you entered is already registered!
"; $pass1 = formatField($pass1); $pass2 = formatField($pass2); if($pass1 != $pass2) $errorstring .= "Passwords do not match!
"; elseif(strlen($pass1) == 0) $errorstring .= "You have not entered a password!
"; else { $charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; if((strlen($pass1) < 6) || (strlen($pass1) > 24)) $errorstring .= "Passwords must be between 6 and 24 characters long
"; elseif(!allowedChars($pass1, $charset)) $errorstring .= "Passwords can only contain letters and numbers
"; } $address1 = formatField($address1); if(strlen($address1) == 0) $errorstring .= "You have not entered your address
"; elseif(strlen($address1) > 64) $errorstring .= "Address Line 1 must be a maximum of 64 characters long
"; $address2 = formatField($address2); $locality = formatField($locality); $city = formatField($city); if(strlen($city) == 0) $errorstring .= "You have not entered your City
"; elseif(strlen($city) > 32) $errorstring .= "City must be a maximum of 32 characters long
"; $county = formatField($county); if(strlen($county) == 0) $errorstring .= "You have not entered your County
"; elseif(strlen($county) > 32) $errorstring .= "County must be a maximum of 32 characters long
"; if(strlen($pcode) > 10) $errorstring .= "Your postcode must be a maximum of 10 characters long
"; if($country == 0) $errorstring .= "Please select your Country
"; if((strlen($hometel) == 0) AND (strlen($mobtel) == 0)) $errorstring .= "Please enter either a home or mobile phone number
"; else { $allowed = "01234567890() +-"; if(!allowedChars($hometel, $allowed)) $errorstring .= "Home phone number contains illegal characters
"; if(!allowedChars($mobtel, $allowed)) $errorstring .= "Mobile phone number contains illegal characters
"; } $artistname = formatField($artistname); $allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ()@#-_*\'\"£$+:!? "; if(strlen($artistname) < 1) $errorstring .= "Please enter your artist/band name
"; elseif(strlen($artistname) > 64) $errorstring .= "Artist/band name must be a maximum of 64 characters long
"; elseif(!allowedChars($artistname, $allowed)) $errorstring .= "Artist/band name contains illegal characters
"; if($genre == 0) $errorstring .= "Please select a genre
"; $payable = formatField($payable); if(strlen($payable) < 1) $errorstring .= "Please let us know who you want cheques made payable to!
"; elseif(strlen($payable) > 64) $errorstring .= "\"Cheques Payable To\" name too long! (Max 64 Characters)
"; $vatnum = formatField($vatnum); if(strlen($vatnum) > 128) $errorstring .= "VAT Number too long!
"; $business = formatField($business); if(strlen($business) > 128) $errorstring .= "Your business name must be a maximum of 128 characters long
"; if($termsread != 1) $termsread = 0; if($tvuse != 1) $tvuse = 0; if($radiouse != 1) $radiouse = 0; if($termsread != 1) $errorstring .= "You must agree to our terms and conditions!
"; /* Purge old records in the temp DB table */ $adayold = mktime(date("G"),date("i"),date("s"),date("n"),date("j")-1,date("Y")); $purgedate = date("YmdHis", $adayold); $testresult = mysql_query("DELETE FROM signuptemp WHERE datetime < $purgedate"); /* If no errors found insert into DB */ if(strlen($errorstring) == 0) { $refstring = md5(mktime().$artistname); $datetime = date("YmdHis"); $result = mysql_query("INSERT INTO signuptemp (ref, forename, surname, email, password, address1, address2, locality, city, county, country, pcode, hometel, mobtel, optin, artistname, genre, payable, vatnum, business, tvuse, radiouse, datetime) VALUES (\"$refstring\", \"$firstname\", \"$lastname\", \"$email1\", \"$pass1\", \"$address1\", \"$address2\", \"$locality\", \"$city\", \"$county\", $country, \"$pcode\", \"$hometel\", \"$mobtel\", $optin, \"$artistname\", $genre, \"$payable\", \"$vatnum\", \"$business\", $tvuse, $radiouse, $datetime)"); $testresult = mysql_query("SELECT * FROM signuptemp WHERE ref = \"$refstring\""); $forename = mysql_result($testresult, 0, forename); $surname = mysql_result($testresult, 0, surname); $email = mysql_result($testresult, 0, email); $password = mysql_result($testresult, 0, password); $address1 = mysql_result($testresult, 0, address1); $address2 = mysql_result($testresult, 0, address2); $locality = mysql_result($testresult, 0, locality); $city = mysql_result($testresult, 0, city); $country = mysql_result($testresult, 0, country); $pcode = mysql_result($testresult, 0, pcode); $hometel = mysql_result($testresult, 0, hometel); $mobtel = mysql_result($testresult, 0, mobtel); $optin = mysql_result($testresult, 0, optin); $artistname = mysql_result($testresult, 0, artistname); $genre = mysql_result($testresult, 0, genre); $payable = mysql_result($testresult, 0, payable); $vatnum = mysql_result($testresult, 0, vatnum); $business = mysql_result($testresult, 0, business); $tvuse = mysql_result($testresult, 0, tvuse); $radiouse = mysql_result($testresult, 0, radiouse); $result = mysql_query("INSERT INTO accounts (password, email, hometel, mobtel, type, forename, address1, address2, locality, city, pcode, currency, payable, country, vatnum, county, business, surname, optin) VALUES (\"$password\", \"$email\", \"$hometel\", \"$mobtel\", 2, \"$forename\", \"$address1\", \"$address2\", \"$locality\", \"$city\", \"$pcode\", 1, \"$payable\", $country, \"$vatnum\", \"$county\", \"$business\", \"$surname\", $optin)"); $result = mysql_query("SELECT * FROM accounts WHERE email = \"$email\""); $accountid = mysql_result($result, 0, id); $timestampnow = date("YmdHis"); $result = mysql_query("INSERT INTO artists (name, genreID, signUpTimestamp, accountID, ringtonecredits, tvuse, radiouse) VALUES (\"$artistname\", $genre, $timestampnow, $accountid, 0, $tvuse, $radiouse)"); $thetitle = "Transaction Complete"; $thetext = "Thank you, your account has been activated.

"; $result = mysql_query("DELETE FROM signuptemp WHERE ref = \"$refstring\""); $test = mysql_query("SELECT * FROM countries WHERE id = $country"); $acceptCreditCards = mysql_result($test, 0, acceptCreditCards); $done = 1; } } /* Load Country List */ $countries = mysql_query("SELECT * FROM countries ORDER BY country"); /* Load Genres List */ $genres = mysql_query("SELECT * FROM genres WHERE id != 1 ORDER BY name"); include("header.php"); if(!isset($optin)) $optin = 0; ?>

Welcome and thanks for signing up to stayaround.com!

Your login details you signed up with, are as follows:

Artists Name: $artistname
Login Email: $email
Login Password: $password

Stayaround gives you a chance to distribute your sound and promote yourself in a way never possible before for unsigned artists! As well as allowing you to create your own customised homepage, it gives you the opportunity to upload your material and start earning cash from your talent instantly. It also gives you a chance to have as much of your material as you want converted into multiple ringtone formats, so the rest of the world can listen to your sounds no matter where they are, or what they’re doing.

Your Homepage
If you haven’t done so already, you need to start compiling your homepage! The most important part of getting yourself heard is promoting yourself via your stayaround profile, making it look the part will ensure music fans come back to see your latest gig into, preview your mp3’s and make that all important purchase decision, making you some profit!

To do this, you need to click here to login and go to the Homepage Designer, from here you can upload your logo, add profile and contact information.

Once you submit your homepage, it will need to be authorised by the team here at stayaround, this will happen 24 hours, from that point on music lovers around the world will be able to view your homepage and buy your tracks. Additionally you will be listed automatically in the stayaround A to Z of artists available to view on the stayaround homepage. Its really that simple!

Your Tracks
Next you will want to upload your music! Click here and login if your not already done so, and once logged in with your username and password go to Tracks Management from the main menu. Here you can add a track, upload as much of your material as you desire, just follow the simple instructions on the site.

You may decide now, or in the near future you want to have one or more of your tracks converted into a ringtone. To do this you need to buy ringtone credits from the Tracks Management menu, you can then select one of your tracks to be converted! The conversion will take up to 5 working days, and will be professionally converted by the stayaround studio, once its done we will send you confirmation and your ringtone will appear on your own homepage, and who knows, within the stayaround download charts!

Artists with tracks as mp3’s and ringtones on stayaround, will generally generate more income for the artist. So remember, its important to keep checking back and submitting some exclusive material on the site. More music… more people… more downloads…

Your Gigs
Got any gigs coming up? Get them listed on stayaround! Stayaround is a great way to promote your upcoming gigs, your gig will be automatically listed in our Gig Guide once you’ve submitted the information, music fans can then view your upcoming gigs and come along to hear your sound. Login to stayaround and hit the gigs management link to add a gig!

Your stayaround mailing list is also a great way to keep your fans up to date with your current gigs, news and information on your music. Fans from all over the planet will be able sign up to your mailing list, here’s the clever part, you can then send out a mailshot to those fans when ever you want! Do this by hitting the Compose a Newsletter link on your menu and you are ready to go.

Thanks from all everyone at stayaround.com. We hope this new and exciting music platform will launch you to stardom. If you have any questions or comments please do not hesitate to contact us at info@stayaround.com.

The Stayaround Team"; $mailto = $email1; $subject = "Confirmation of your stayaround.com details."; $result = siteMail($mailto, $subject, $msg); ?>

Welcome to Stayaround, !

Thanks for signing up. You now have all the registered artist features available to you and the signup fee waved. Please check your email account for confirmation of your account details.

0) outputErrors($errorstring); ?>
Personal Details:

to register as a LABEL click here
First Name:
Last Name:
your Email Address:
Repeat your Email Address:
Choose a Password:
Repeat your Password:

Address Line 1:
Address Line 2:

Home Telephone:
Mobile Telephone:

Receive Stayaround Email Updates?> Yes   > No

Artist/Band Details:

Artist/Band Name:
Main Genre:
Royalty Cheques Payable to:
VAT Number: (optional)
Business Name: (optional)
>  I Agree, have read and understood the terms and conditions
>  I/we approve Stayaround to use our content on TV (optional)
>  I/we approve Stayaround to use our content on radio (optional)