'; continue; } if ($_FILES[$file]['size'] > 3145728) { $msg .= '∗ '. $_FILES[$file]['name'] .' was too large. It was not sent. Files should not be larger than 3 MB each.
'; continue; } move_uploaded_file($_FILES[$file]['tmp_name'], $folder ."/". $_FILES[$file]['name']); $files .= "http://". $_SERVER['HTTP_HOST'] ."/". str_replace($_SERVER['DOCUMENT_ROOT'] ."/", "", $folder) ."/".$_FILES[$file]['name'] ."\n"; $e->addAttachment($folder ."/". $_FILES[$file]['name'], "application/octet-stream"); } } return $files; } function sendThankYou($email) { $body = "Thank you very much for your interest in our gallery! We will keep your information on file and get in touch with you if we are interested in showing your work. Please feel free to email Angela if you have any further questions: angela@efgbooks.com."; mail($email, "Thank You from EFG Books!", $body, "From: dont_reply@efgbooks.com\r\nReply-to: dont_reply@efgbooks.com\r\n"); } /****************** * Fin functions. * ******************/ /********************* * Begin processing. * *********************/ set_time_limit(900); error_reporting(E_ALL ^ E_NOTICE); $folder = $_SERVER['DOCUMENT_ROOT'] ."/gallery-form-submissions/". get_rand_str(32); if (isset($_REQUEST['Submit_Button']) && $_REQUEST['DoWhat'] == "Submit") { if (file_exists($folder) == false || file_exists($folder) && is_dir($folder)) { mkdir($folder, 0777); $msg = 'Thank you! Your submission was received!

'; $e = new Mail_mime("\n"); $submission = get_submission(); $files = save_files($folder); $e->setTXTBody("The following submission was received on the gallery form: \n\n". $submission ."\n\n". $files); $e->setHTMLBody('The following submission was received on the gallery form:

'. preg_replace("/\n/", "
", $submission) ."

". preg_replace("/\n/", "
", $files) .''); $body = $e->get(); $headers = array( "From" => "dont_reply@efgbooks.com", "Reply-to" => "dont_reply@efgbooks.com", "Subject" => "Gallery Submission Received on EFGBooks.com", ); $headers = $e->headers($headers); $m =& Mail::factory('mail'); $m->send("jim@yellahoose.com, gordon@slickfishstudios.com, geoff@efgbooks.com, angela@efgbooks.com", $headers, $body); sendThankYou($_REQUEST['Email']); } } /******************* * Fin processing. * *******************/ ?> EFG Books & Art Gallery | Bridgton, Maine | 207.647.9339

The EFG Gallery

'. $msg .'

' : ''); ?>

The red asterisk () means the field is mandatory.

Name
Address
Phone 207.555.1212 format
Email yourname@mywebsite.com format
Website
Medium
Education (if any)
Past Exhibits (if any)
Influences (if any)
Artist Statement (if any)
Size of work    
Submit three examples
∗ Files should not be larger than 3 MB each. Send JPEG, PNG or PDF formats.
∗ If you don't have digital representation of your work, submit the form and we will contact you.




Gallery Statement

Exhibiting in our gallery is by invitation; we will keep your information on file and will get in touch with you if we are interested in showing your work. Our gallery supports modern, contemporary work — hopefully you have had a chance to see several of our past exhibits as examples of the direction we are taking. We are not necessarily looking for artists with experience, but we are looking for artists with something new to say.

Other Gallery Information

As of this time, the gallery does not take any commission on work sold; this may be subject to change in the future. Artists are obviously welcome to show NFS work as well. Exhibits run between 4 and 8 weeks, depending on the season.

Thank you very much for your interest in our gallery!

186 Main Street - Bridgton, ME 04009 | (207) 647-9339 | info@efgbooks.com | OPEN Tuesday - Saturday 10-5 PM