Unable to connect to the database server at this time.

" ); } else { // Select the jokes database if (! @mysql_select_db("bikerpla_dwh") ) { echo( "

Unable to locate the dwh database at this time.

" ); } else { if($submit==1) { if ($_POST["name"] && $_POST["description"] && $_POST["year_from"]!="zzzz" && $_POST["month_from"]!="zzzz" && $_POST["day_from"]!="zzzz" && $_POST["year_to"]!="zzzz" && $_POST["month_to"]!="zzzz" && $_POST["day_to"]!="zzzz" && $_POST["city"] && $_POST["state"]!="zzzz" && $_POST["event_type"]!="zzzz" && $_POST["zip"] && $_POST["time_from"]!="zzzz" && $_POST["time_to"]!="zzzz" && //spam filters //substr_count(strtolower($_POST["description"]),"http")<4 && substr_count(strtolower($_POST["description"]),"index1.findvic.com")<1 && substr_count(strtolower($_POST["description"]),"index1.blinklist.com")<1 && substr_count(strtolower($_POST["description"]),"index1.lookcity.com")<1 && substr_count(strtolower($_POST["description"]),"index1.amyhunt.com")<1 && substr_count(strtolower($_POST["description"]),"index1.nthfind.com")<1 && substr_count(strtolower($_POST["description"]),"index1.alledasar.com")<1 && substr_count(strtolower($_POST["description"]),"index1.allearjah.com")<1 && substr_count(strtolower($_POST["description"]),"index1.meindies.com")<1 && substr_count(strtolower($_POST["description"]),"index1.lm4nmu.com")<1 && substr_count(strtolower($_POST["description"]),"blinklist.com")<1 && substr_count(strtolower($_POST["description"]),"index1.gefaka.com")<1 && substr_count(strtolower($_POST["description"]),"index1.porasa.com")<1 && substr_count(strtolower($_POST["description"]),"index1.noojol.com")<1 && substr_count(strtolower($_POST["description"]),"rollyo.com")<1 && substr_count(strtolower($_POST["description"]),"index1.volasa.com")<1 && substr_count(strtolower($_POST["description"]),"index1.yoptit.com")<1 && substr_count(strtolower($_POST["description"]),"index1.wiffaw.com")<1 && substr_count(strtolower($_POST["description"]),"index1.erinag.com")<1 && substr_count(strtolower($_POST["description"]),"pillstrade.com")<1 && substr_count(strtolower($_POST["description"]),"xtvtdzoahr.com")<1 && substr_count(strtolower($_POST["description"]),"[url")<1 && substr_count(strtolower($_POST["description"]),"$seq) { $v_event_id = $ccount + 1; } else { $v_event_id = $seq + 1; } //$v_event_id = $ccount+$seq; //$v_event_id++; //echo("sequence " . $v_event_id); $v_date_from = $_POST["year_from"] . "-" . $_POST["month_from"] . "-". $_POST["day_from"]; $v_date_to = $_POST["year_to"] . "-" . $_POST["month_to"] . "-". $_POST["day_to"]; $mime = $_FILES['imagefile']["type"]; if($mime=="image/jpeg" || $mime=="image/pjpeg") { clearstatcache; $image_name = "image/banner/" . $v_event_id . ".jpg"; move_uploaded_file($_FILES['imagefile']['tmp_name'], $image_name); clearstatcache; } //if(file_exists($image_name)) // { // echo("exists"); // } // else {echo("do not exists");} //'" . preg_replace('.*?(\d{3}).*?(\d{3}).*?(\d{4}).*?|[^0-9]', '$1-$2-$3', urlencode($_POST["phone"])) . "', $insert = mysql_query("INSERT INTO EVENT_PROC(EVENT_ID, NAME, DESCRIPTION, URL, EMAIL, PHONE, CONTACT, DATE_FROM, DATE_TO, TIME_FROM, TIME_TO, ADDRESS, CITY, STATE, ZIP, EVENT_TYPE, HEAR_ABOUT_US, PAYMENT_EMAIL, IP) VALUES('" . $v_event_id . "', '" . urlencode(ucwords(strtolower(str_replace("''", "~~~" , $_POST["name"])))) . "', '" . urlencode(str_replace("'", "''", str_replace("''", "~~~" , $_POST["description"]))) . "', '" . urlencode($_POST["url"]) . "', '" . urlencode($_POST["email"]) . "', '" . urlencode($_POST["phone"]) . "', '" . urlencode(ucwords(strtolower($_POST["contact"]))) . "', '" . $v_date_from . "', '" . $v_date_to . "', '" . $_POST["time_from"] . "', '" . $_POST["time_to"] . "', '" . urlencode(ucwords(strtolower($_POST["address"]))) . "', '" . urlencode(ucwords(strtolower($_POST["city"]))) . "', '" . $_POST["state"] . "', '" . urlencode($_POST["zip"]) . "', '" . $_POST["event_type"] . "', '" . $_POST["hear_about_us"] . "', '" . urlencode($_POST["payment_email"]) . "', '" . $REMOTE_ADDR . "')"); //echo($insert); } else { $v_refill = 1; $err = 1; } } } } mysql_close($dbcnx); ?> BikerPlaza.com - Official Motorcycle Event Submission

Post your Motorcycle Event, Motorcycle Rally, Poker Run to our Motorcycle Event Calendar.
Thousands of Bikers from all over the US are visiting BikerPlaza.com daily

Motorcycle Resource Directory
 

Your submission failed, please check the following:
1. Make sure that all the fields in Red are populated correctly.
2. Make sure that there are no HTML tags in the description.
3. Make sure that the format of the fileds is correct.
4. Remove any none-alphanumeric characters from the event name("&', etc).
5. Remove any & and ' from the event description.

 

 

"); $headers = 'From: BikerPlaza.com - Event Submission Failure ' . "\r\n" . 'Reply-To: support@bikerplaza.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $to = "support@bikerplaza.com"; $subject = "Event Submission Failure"; $message = "Name: " . $_POST["name"] . "\r\n" . "Description: " . $_POST["description"] . "\r\n" . "URL: " . $_POST["url"] . "\r\n" . "Email: " . $_POST["email"] . "\r\n" . "Phone: " . $_POST["phone"] . "\r\n" . "Contact: " . $_POST["contact"] . "\r\n" . "Year From: " . $_POST["year_from"] . "\r\n" . "Month From: " . $_POST["month_from"] . "\r\n" . "Day From: " . $_POST["day_from"] . "\r\n" . "Year To: " . $_POST["year_to"] . "\r\n" . "Month To: " . $_POST["month_to"] . "\r\n" . "Day To: " . $_POST["day_to"] . "\r\n" . "Time From: " . $_POST["time_from"] . "\r\n" . "Time To: " . $_POST["time_to"] . "\r\n" . "Address: " . $_POST["address"] . "\r\n" . "City: " . $_POST["city"] . "\r\n" . "State: " . $_POST["state"] . "\r\n" . "Zip: " . $_POST["zip"] . "\r\n" . "Event Type: " . $_POST["event_type"] . "\r\n" . "Hear About Us: " . $_POST["hear_about_us"] . "\r\n" . "Payment Email: " . $_POST["payment_email"] . "\r\n" . "IP: " . $REMOTE_ADDR; $v_date_from = $_POST["year_from"] . "-" . $_POST["month_from"] . "-". $_POST["day_from"]; $v_date_to = $_POST["year_to"] . "-" . $_POST["month_to"] . "-". $_POST["day_to"]; //mail($to, $subject, $message, $headers); echo(mysql_error()); $err = 1; } else { if ($submit==1) { echo(""); /* echo("

 

Thank you for your event submission
Your event will be approved and listed within 24 hours.

Upgrade your event listing to Premium Listing.
Click here to learn more.
 

"); echo("

 

Thank you for your event submission

To see a list of Motorcycle Event Vendors in your area click here
 

 

"); echo(""); */ exit; } } ?>

Please enter the event information below, it will be approved and posted within few hours.
Fields in Red must be populated !!!

"); } else { echo(""); } ?>
Event Name Alphanumeric characters only! no punctuations what so ever(No: -, ', :, etc)

Start Date/Time     
End Date/Time     

Web Site "); } else { echo("http://"); } ?>
Logo   jpg format ONLY
Click here for instructions to add flyers and photos.

Event Street Address
Street address ONLY, no intersection, no location name, nothing but street name and number.
For example: 123 Main St, or 123 Hwy 17.




"); } else { echo(""); } ?>
Event City "); } else { echo(""); } ?>
Event State
Event Zip "); } else { echo(""); } ?> (Click here to find a zipcode)

   

Event Description:

Warning!!!

Do not enter information into the Description box that already exist in any of the other boxes
(name, dates, address, city, state, contact info, email, website, etc).
Doing so, will cause your event to be rejected.

" . $_POST["description"] . ""); } else { echo(""); } ?>
No HTML tags allowed!!!
   

Event Type

   
Event Contact information
 
Contact Name Person name only! (no club name, store name, organization name, etc) "); } else { echo(""); } ?>
Phone "); } else { echo(" "); } ?> xxx-xxx-xxxx
Email "); } else { echo(""); } ?>
Your email address will be hidden from email harvesters and automated spammers but visible to users/visitors.
   

How did you hear about us


By clicking this button you agree for the above information to be posted on BikerPlaza.com, and to receive periodic email confirmations and reminders.