0){ $texttovalid = htmlspecialchars(stripslashes($texttovalid)); } return $texttovalid;}if(isset($_POST['submit'])){ $name = removeHTML($_POST['name']); $email = removeHTML($_POST['email']); $subject = removeHTML($_POST['subject']); $message = removeHTML($_POST['message']); $msg =''; if($name==''){ $msg = '
  • Name is a required field.
  • '; } if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email)){ $msg .= '
  • Invalid Email Address
  • '; } if($subject==''){ $msg .= '
  • Subject is a required field.
  • '; } if($message==''){ $msg .= '
  • Message is a required field.
  • '; } if($msg!=''){ $msg = '

    张艺兴 个人工作室

    '; } else{ /*Change this email to your email address*/ $to = "joefrey.mahusay@gmail.com"; $headers = "From: $email"; $subject = $subject." - A message from The Freelancer"; $body = "Name: $name\n\n" . "Email: $email\n\n" . "Subject: $subject\n\n" . "Message: $message" ; $ok = (mail($to, $subject, $body, $headers)); if($ok){ $msg = '

    开一家个人工作室需要什么条件

    Thank you for contacting us. We will get back to you shortly!

    '; }else{ $msg = '

    成立个人工作室

    Please try again.

    '; } }}?> The Freelancer - A premium grunge portfolio template for freelancers out there

    黄景瑜个人工作室

    黄景瑜个人工作室 senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper.

    <?php echo $message;?>