?php //require realpath($_SERVER['DOCUMENT_ROOT'] . '/../').'/include/config.inc.php'; require 'include/config.inc.php'; $error = array(); $notice = array(); if (isset($_POST['action']) && $_POST['action'] == 'send') { // Validate $_POST = array_map('trim',$_POST); if (empty($_POST['name'])) $error[] = "Please enter your name!"; if (empty($_POST['email'])) $error[] = "Please enter your email address!"; else if (!preg_match('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i', $_POST['email'])) $error[] = "Please enter a valid email address!"; if (empty($_POST['message'])) $error[] = "Please enter your message!"; // Send if (empty($error)) { $emailMessage .= "PPBP Contact Form Submission ". NL; $emailMessage .= "Time: ". date('m-d-Y h:m:s') . NL; $emailMessage .= "From: ".$_POST['name']; $emailMessage .= "Message: ".$_POST['message']; $emailSubject = 'PPBP Contact Form Submission'; $emailFrom = $_POST['email']; $emailTo = 'natanvolkovich@gmail.com'; $emailHeaders = 'From: noreply@example.com' . "\r\n" . 'Reply-To: noreply@example.com' . "\r\n"; $emailSent = @mail($emailTo, $emailSubject, $emailMessage, $emailHeaders); if ($emailSent) $notice[] = "Message Sent!"; else $notice[] = "Failed to send message!"; } } $pageTitle = 'Contact'; $openNavSection = 3; require 'include/header.inc.php' ?>
|
||
City of Philadelphia - Philadelphia City Planning Commission Debby Schaaf – City Planner IV (215) 683-4643 debby.schaaf@phila.gov
Toole Design Group Carol Kachadoorian – Senior Planner (301) 927-1900 Ext. 104 ckachadoorian@tooledesign.com
Please submit any questions or comments to us regarding the Philadelphia Pedestrian and Bicycle Plan in the space provided below. We welcome your submissions and we will review all comments.
Check out a summary of the Community Meetings held in April and May!
>> Click here for details
The questionnaire is now closed. Thank you to everyone who responded ! If you have any questions please send them to us via our Contact Page. Please click here for more information........