Help with a simple contact form.
Hi there..
I am having trouble making a contact form with a servlet. I have a Fedora Core Linux Box running ddns..
My internet account is sympatico.. which a username and password is required to send out with smtp..
I need help creating a servlet and I have java mail also..
This is what I have so far...
I have more info below
<form class="formContactus1" name="formContactus1" method="post" action="/SendMail" onsubmit="validerForm();">
<table id="tblContactus">
<tbody><tr>
<td class="tdLeft">
<label><fmt:message key="Form_firstname" /></label>
</td>
<td class="tdRight">
<input class="contactTextName" id="last_name" name="last_name" maxlength="100" type="text">
</td>
</tr>
<tr>
<td class="tdLeft">
<label><fmt:message key="Form_lastname" /></label>
</td>
<td class="tdRight">
<input class="contactTextName" id="first_name" name="first_name" maxlength="75" type="text">
</td>
</tr>
<tr>
<td class="tdLeft">
<label><fmt:message key="Form_email" /></label>
</td>
<td class="tdRight">
<input class="contactTextName" id="email" name="email" maxlength="75" type="text">
</td>
</tr>
<tr>
<td class="tdLeft" valign="top">
<label><fmt:message key="Form_message" /></label>
</td>
<td>
<textarea class="contactTextMessage" id="message" cols="" rows="" name="message"></textarea>
</td>
</tr>
</tbody></table>
<!-- This is the anti-spam validation images... -->
<table id="tblCaptcha">
<tbody><tr>
<td class="right" id="tdImgCaptcha"><img style="height: 35px;" src="/captcha/img"></td>
<td class="right" id="tdInputCaptcha"><input name="captchaAnswer" type="text"></td>
</tr>
<tr>
<td class="right" colspan="2" valign="bottom">
<input id="contactSubmit" name="send" value="<fmt:message key="Form_submit" />" type="submit">
</td>
</tr>
</tbody></table>
</form>
You forgot to tell the details about the trouble. Please elaborate. What happens? What happens not?
Please also read this how to ask questions the smart way: [http://www.catb.org/~esr/faqs/smart-questions.html].
Similar Messages
-
Help with html / php contact form
Hi guys I was hoping to get some help with a contact form on my website, to be honest I havent a clue about php but kind of okay with html thats why the php code is just a copy and paste from some website, just trying to marry it up with the html but getting errors.
Hopfully one of you can see the problem.
Error on Submitting:
Notice: Undefined variable: name in \\nas44ent\Domains\g\gethinhayman.co.uk\user\htdocs\send_form_email.php on line 69
Notice: Undefined variable: message in \\nas44ent\Domains\g\gethinhayman.co.uk\user\htdocs\send_form_email.php on line 75
We are very sorry, but there were error(s) found with the form you submitted. These errors appear below.
The Name you entered does not appear to be valid.
The Comments you entered do not appear to be valid.
HTML Code:
<section id="contact" class="four">
<div class="container">
<header>
<h2>Contact</h2>
</header>
<form method="post" action="send_form_email.php">
<div class="row half">
<div class="6u"><input type="text" class="text" name="name" placeholder="Name" /></div>
<div class="6u"><input type="text" class="text" name="email" placeholder="Email" /></div>
</div>
<div class="row half">
<div class="12u">
<textarea name="message" placeholder="Message"></textarea>
</div>
</div>
<div class="row">
<div class="12u">
<a href="http://www.mywebsite.co.uk/email_form.php" class="button submit">Send Message</a>
</div>
</div>
</form>
</div>
</section>
php Code:
<?php
if(isset($_POST['email'])) {
$email_to = "my email address";
$email_subject = "Mail from Site";
function died($error) {
// your error code can go here
echo "We are very sorry, but there were error(s) found with the form you submitted. ";
echo "These errors appear below.<br /><br />";
echo $error."<br /><br />";
echo "Please go back and fix these errors.<br /><br />";
die();
// validation expected data exists
if(!isset($_POST['name']) ||
!isset($_POST['email']) ||
!isset($_POST['message'])) {
died('We are sorry, but there appears to be a problem with the form you submitted.');
$first_name = $_POST['name']; // required
$email_from = $_POST['email']; // required
$comments = $_POST['message']; // required
$error_message = "";
$email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
if(!preg_match($email_exp,$email_from)) {
$error_message .= 'The Email Address you entered does not appear to be valid.<br />';
$string_exp = "/^[A-Za-z .'-]+$/";
if(!preg_match($string_exp,$name)) {
$error_message .= 'The Name you entered does not appear to be valid.<br />';
if(strlen($message) < 1) {
$error_message .= 'The Comments you entered do not appear to be valid.<br />';
if(strlen($error_message) > 0) {
died($error_message);
$email_message = "Form details below.\n\n";
function clean_string($string) {
$bad = array("content-type","bcc:","to:","cc:","href");
return str_replace($bad,"",$string);
$email_message .= "Name: ".clean_string($name)."\n";;
$email_message .= "Email: ".clean_string($email)."\n";
$email_message .= "Message: ".clean_string($message)."\n";
// create email headers
$headers = 'From: '.$email_from."\r\n".
'Reply-To: '.$email_from."\r\n" .
'X-Mailer: PHP/' . phpversion();
@mail($email_to, $email_subject, $email_message, $headers);
?>
<?php
?>PHP CODE: SaveAs send_form_email.php
<?php
if(isset($_POST['email'])) {
// EDIT THE 2 LINES BELOW AS REQUIRED
$email_to = "[email protected]";
$email_subject = "Your email subject line";
function died($error) {
// your error code can go here
echo "We are very sorry, but there were error(s) found with the form you submitted. ";
echo "These errors appear below.<br /><br />";
echo $error."<br /><br />";
echo "Please go back and fix these errors.<br /><br />";
die();
// validation expected data exists
if(!isset($_POST['name']) ||
!isset($_POST['email']) ||
!isset($_POST['message'])) {
died('We are sorry, but there appears to be a problem with the form you submitted.');
$name = $_POST['name']; // required
$email_from = $_POST['email']; // required
$comments = $_POST['message']; // required
$error_message = "";
$email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
if(!preg_match($email_exp,$email_from)) {
$error_message .= 'The Email Address you entered does not appear to be valid.<br />';
$string_exp = "/^[A-Za-z .'-]+$/";
if(!preg_match($string_exp,$name)) {
$error_message .= 'The Name you entered does not appear to be valid.<br />';
if(strlen($message) < 2) {
$error_message .= 'The message you entered does not appear to be valid.<br />';
if(strlen($error_message) > 0) {
died($error_message);
$email_message = "Form details below.\n\n";
function clean_string($string) {
$bad = array("content-type","bcc:","to:","cc:","href");
return str_replace($bad,"",$string);
$email_message .= "Name: ".clean_string($name)."\n";
$email_message .= "Email: ".clean_string($email_from)."\n";
$email_message .= "Message: ".clean_string($message)."\n";
// create email headers
$headers = 'From: '.$email_from."\r\n".
'Reply-To: '.$email_from."\r\n" .
'X-Mailer: PHP/' . phpversion();
@mail($email_to, $email_subject, $email_message, $headers);
?>
<!-- include your own success html here -->
Thank you for contacting us. We will be in touch with you very soon.
<?php
?>
HTML Code -- save as html page.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Contact Form</title>
</head>
<body>
<section id="contact" class="four">
<div class="container">
<header>
<h2>Contact</h2>
</header>
<form method="post" action="send_form_email.php">
<div class="row half"> <div class="6u">
<input type="text" class="text" name="name" placeholder="Name" />
</div>
<div class="6u">
<input type="text" class="text" name="email" placeholder="Email" />
</div>
</div>
<div class="row half"> <div class="12u">
<textarea name="message" placeholder="Message"></textarea>
</div>
</div>
<div class="row">
<div class="12u">
<input type="submit" name="submit" value="Send">
</div>
</div>
</form>
</div>
</section>
</body>
</html>
Upload both to your Apache server to test.
EDIT: changed typo on Submit button -- valuse to value.
Nancy O. -
Can anyone help with my PHP contact form please!
Hi all,
I've just implemented the email contact form as described in the PHP Solutions book by David Powers and it is working fine.
What I'm having problems with is my form is at the bottom of a long page and you have to scroll or click a link to get to it, which means that when the submit button is pressed, whether the form is successfully submitted or a field hasn't been completed, the user ends up back at the top of the page having to scroll back down to the form before they can see the feedback (either thanking them for submitting or pointing out that they have tried to submit an incomplete form).
Can anyone tell me how I can make the page redirect upon clicking submit so that the user returns to the part of the page where the form is so they can see the feedback instead of going to the top of the page where the form is out of view.
Many thanks,
Karl.I've attached the entire code from the page plus the css so you can see what's going on and in additiion I've put in the corefuncs.php include code.
Hope that's enough, thanks for looking.
Cheers,
Karl.
<?php
include('includes/corefuncs.php');
if (function_exists('nukeMagicQuotes')) {
nukeMagicQuotes();
// process the email
if (array_key_exists('send', $_POST)) {
$to = '[email protected]'; // use your own email address
$subject = 'Feedback from my form page';
// list expected fields
$expected = array('name', 'email', 'comments');
// set required fields
$required = array('name', 'email', 'comments');
// create empty array for any missing fields
$missing = array();
// assume that there is nothing suspect
$suspect = false;
// create a pattern to locate suspect phrases
$pattern = '/Content-Type:|Bcc:|Cc:/i';
// function to check for suspect phrases
function isSuspect($val, $pattern, &$suspect) {
// if the variable is an array, loop through each element
// and pass it recursively back to the same function
if (is_array($val)) {
foreach ($val as $item) {
isSuspect($item, $pattern, $suspect);
else {
// if one of the suspect phrases is found, set Boolean to true
if (preg_match($pattern, $val)) {
$suspect = true;
// check the $_POST array and any subarrays for suspect content
isSuspect($_POST, $pattern, $suspect);
if ($suspect) {
$mailSent = false;
unset($missing);
else {
// process the $_POST variables
foreach ($_POST as $key => $value) {
// assign to temporary variable and strip whitespace if not an array
$temp = is_array($value) ? $value : trim($value);
// if empty and required, add to $missing array
if (empty($temp) && in_array($key, $required)) {
array_push($missing, $key);
// otherwise, assign to a variable of the same name as $key
elseif (in_array($key, $expected)) {
${$key} = $temp;
// validate the email address
if (!empty($email)) {
// regex to ensure no illegal characters in email address
$checkEmail = '/^[^@]+@[^\s\r\n\'";,@%]+$/';
// reject the email address if it doesn't match
if (!preg_match($checkEmail, $email)) {
array_push($missing, 'email');
// go ahead only if not suspect and all required fields OK
if (!$suspect && empty($missing)) {
// build the message
$message = "Name: $name\n\n";
$message .= "Email: $email\n\n";
$message .= "Comments: $comments";
// limit line length to 70 characters
$message = wordwrap($message, 70);
// create additional headers
$additionalHeaders = 'From: domain.com Feedback Form<[email protected]>';
if (!empty($email)) {
$additionalHeaders .= "\r\nReply-To: $email";
// send it
$mailSent = mail($to, $subject, $message, $additionalHeaders, '[email protected]');
if ($mailSent) {
// redirect the page with a fully qualified URL
header('Location: http://www.domain.com/index.php#form-div');
exit;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Page | title</title>
<script type="text/javascript" src="jquery.min.js">></script>
<script type="text/javascript" src="jquery.cycle.all.2.72.js"></script>
<script type="text/javascript">
$(function() {
$('#slideshow').cycle({
speed: 1400,
timeout: 8000
</script>
<link href="main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper" class="container">
<div id="header">
<h1 class="logo">XXX Xxxx Xxxxx</h1>
<h2 class="subhead">Xxx Xxxxxxx xxx Xxxxxx Xxxxxxx xx Xxxx xxx Xxxxx.</h2>
<div id="nav">
<h2>Need more information?</h2>
<h3>Look no further...</h3>
<ul>
<li><a class="nav-about" href="#about-div">About Us...</a></li>
<li><a class="nav-contact" href="#contact-div">Contact Us...</a></li>
</ul>
</div>
<!-- end nav -->
</div><!-- end header -->
<div id="page-content">
<div id="cycle">
<div id="cycle-nav"></div>
<div id="slideshow" class="pics">
<img src="im/slides/escape.jpg" border="0" alt="" title="" width="547" height="339" />
<img src="im/slides/old-lady.jpg" border="0" alt="" title="" width="547" height="339" />
<img src="im/slides/gouge.jpg" border="0" alt="" title="" width="547" height="339" />
<img src="im/slides/disarm.jpg" border="0" alt="" title="" width="547" height="339" /></div><!-- slideshow -->
</div><!-- cycle -->
<div id="right-column">
<div id="ladies">
<h1>Xxxxxx xxx'x xxx xxxxx xxxx xxxx.</h1>
<p>Xxxx xxxxxxxxx xxxx XXX xxxxx xxxxxxxxxx xxx xxxx xxxx xxxx xxxx!</p>
<p class="bottom">XXXX XX xx xxxx xxx xxxx...</p>
</div>
<div id="courses">
<div id="course1">
<h2 class="top"><strong>Xxxx Xxxx Xxxxxxx Xxxxxx Xxxxxxx</strong></h2>
<p>XXX Xxxx Xxxx Xxxxxxx xxxxxx xxx x xxxx-xxxx xxxxxxxx xxx xx xxxx xxxx xxxxx xxx xxxxxx.</p>
<p><strong>XXXXX:</strong> XXX.XX xxx xxxxxx.</p>
<p><strong>XXXX XXXXXX:</strong><br />
Xxxxxx Xxx Xxxx<br /><strong>[XXXXXX XXXXXXXXX]</strong></p>
<ul><strong>XXXXXX XXXXXXX:</strong>
<li>Xxxxxx Xxx Xxxxxxxxx</li>
<li>Xxxxxx Xxx Xxxxxxxx</li>
<li>Xxxxxx Xx Xxxxxxx -XXXX</li>
</ul>
<h2>Xxxx Xxxxx...</h2>
<p class="book-early">Xx xxxxx xxx xx xx xxxxxxxx xxxxxxx xxx xxx xxxxxxx xxx xxxxx xxxxxxxxxx xx x xxxxxxx xxxxxxx xxxxxxxx xx xxx xxxx xxx xxxxxxxxx xxxxxx xxxx xx xxxxx xx xxxxxxx xx xxx xxx xxxxxxxx xx xxxxxxxxx xx xxxxxx.</p>
<h2><strong>Xxxxxxxxx xx xxx Xxxxxx</strong></h2>
<p class="location"> XX. Xxxxxx Xxxx, <br />
Xxx Xxxxxxxxx Xxxxxx, Xxxxxxxx Xxxx, Xxxx (xxxxx xxx xxxx xx xxxx).<br />
Xxxxxxxx xx xxxxxxxxxxx xxxx xxxxxxxx Xxxx.</p>
<h2><strong>Xxxxxxxxx xx xxx Xxxxxx</strong></h2>
<p class="structure"><strong>Xxxxxxx xxxxxxx:</strong><br />
XX.XXxx – XX.XX xx<br />
<strong>Xxxxx xxxxx:</strong><br />
XX xxxx.<br />
Xxxxxx xxxxxxx xxxx xxx xxxxxx Xxxxx.<br />
<strong>Xxxxxxxxxx xxxxxxx:</strong><br />XX.XXxx – X.XXxx</p>
<h2><strong>Xxxxxx Xxxx...</strong></h2>
<p class="news">Xxxxx xxxx xxxxx xxx xxxx xxxxx xxx Xxxx Xxxx Xxxxxxx Xxxxxx.<br />
</p>
</div>
<div class="to-top">
<p><a href="#header">[Back to Top]</a></p>
</div>
<div id="course2">
<h2 class="top"><strong>Xxxxx Xxxx Xxxxxxx Xxxxx Xxxxxxx</strong></h2>
<p>Xxx XXX XXXXX Xxxx Xxxxxxx Xxxxx xxx x xxx-xxxx xxxxxxxx xxx xx xxxx xxxxxx.</p>
<p><strong>XXXXX:</strong> XX.XX xxx xxxxxx</p>
<p><strong>XXXX XXXXX:</strong><br />
Xxxxxx XXxx Xxx<br /><strong>[XXXXXX XXXXXXX]</strong></p>
<ul><strong>XXXXXX XXXXXXX:</strong>
<li>Xxxxxx Xxx Xxxx</li>
<li>Xxxxxx Xxx Xxxx</li>
<li>Xxxxxx Xxx Xxxx</li>
<li>Xxxxxx Xxx Xxxx</li>
</ul>
<h2>Xxxx Xxxxx...</h2>
<p class="book-early">Xx xxxxx xxx xx xx xxxxxxx xxxxxxx xxx xxx xxxxxxx xxx xxxxx xxxxxxxxxx xx x xxxxxxxxx xxxxxxx xxxxxxxx xx xxx xxxx xxx xxxxxxxxx xxxxxx xxxx xx xxxxx xx xxxxxxx xx xxx xxx xxxxxxxxxx xx xxxxxxxxx x xxxxxx.</p>
<h2><strong>Xxxxxxxxx xx xxx Xxxxx</strong></h2>
<p class="location">Xxxxxxxxx Xxxx, Xxxxxx Xxxxxx, Xxxxx, (xxx xxxxxxx xxxxxxxxx xx -<br />
Xxxxxxx xx xxxxxxxxxx xxxx - </p>
<h2><strong>Xxxxs Xxxx...</strong></h2>
<p class="news">Xxxxx xxxx xxxxx xxx xxxx xxxxx xxx Xxxxx Xxxx Xxxxxxx Xxxxx.<br />
</p>
</div><!-- Course 2 end -->
<div class="to-top">
<p><a href="#header">[Back to Top]</a></p>
</div>
</div><!-- Courses end -->
</div><!-- end right column -->
<div id="main-content" >
<div id="main-content-1" class="clearfix">
<h2>Xxxxxxx xx xxx Xxxx Xxxxxxx<br />
xxxxxxx xxxx xxx XXX.</h2>
<h3>Xxxxxx xxx Xxxxx xxxxxxx…</h3>
<p>Xxx XXX xx xx xxxxxxxxxxx xxxxx xxxxxx xxxxxxx xx xxxx xxxxxxx xx Xxxx xxx Xxxxx - Xxxx Xxxxxxxxx, xxxxxx xxxxxxxxx xx xxxxx xxxxxx xxx xxxxxx xxxxxx, xxx xxxxxxxx x xxxx xxxxxxx xx xxxxxx xxxxxxxxx xx xxxxxxxx xxxx xxxxxxx.</p>
<p>Xxx XXX xxxxxx xxx xxxxxxx xxx xxxxxxxx Xxxx Xxxxxxx xx xxx Xxxx / Xxxxx xxxx xx Xxxx Xxxxxxxxx.</p>
<p>Xxx xxxxx xxxxxx xx x xxx xxx Xxxx Xxxxxxx Xxxxxx xxxx x xxxxxxxx xx xxxxxxxxx xxxx xxxxx xxxxx xx xxxx xx Xxxx xxxx xxxxx xxx xxxxxx xx xxx Xxxxxxxx Xxxxxx.</p>
<p>Xxx xxxxxx xxxxxx xx x xxxxxx Xxxx Xxxxxxx Xxxxx xxxxx xx x xxx xxxx xxxxxxx xxx xx xxxx xx xxx xxxxxx xx xxxxx xx Xxxxxxxx Xxxx xx xxxxx Xxxxx Xxxxxx. Xxxxxxxx xxx xx xxxxx xx xxxx xxxxx.</p>
<h3 class="extra-padding">Xxx xx xx xxx xxx xxxx xxxx xxx xxxxx?</h3>
<p>Xxxx xxxxxx xx xxxxxxxxxx xxxxxx xx xxxxxx xxx xxx xxxx xxxxxx xxxxxxx xxx xxxx xxxxxx xx xx xxx xxxxxxxxxx xxx xxxx xx xxxx xx xx xxxxxxx xxxxxx xxxx xx xxxxxxxx xx xxxxxxxx xxxx xx xxxxxx xxxxxxxxxx xxxxxxx xxx xxxxxx xx xxxxx xxxxxxxx.</p>
<p>xxx xxxx xx xxxxxx xxxx xx xxxxxx xxxxxxxxxx, xx x xxxxxxxx xxx xxxxxxx xxxxxxxxxxx xxxxx xxxxxx xxxxxxxxx xxx xxxx xxxx xx xxxxxxxxxxx xxxxxx xxxx xx xxxx.</p>
<p>xxx xxxx xx xxxxxx xxxx xx xxxxxx xxxxxxxxxx, xx x xxxxxxxx xxx xxxxxxx xxxxxxxxxxx xxxxx xxxxxx xxxxxxxxx xxx xxxx xxxx xx xxxxxxxxxxx xxxxxx xxxx xx xxxx.</p>
<p>xxx xxxx xx xxxxxx xxxx xx xxxxxx xxxxxxxxxx, xx x xxxxxxxx xxx xxxxxxx xxxxxxxxxxx xxxxx xxxxxx xxxxxxxxx xxx xxxx xxxx xx xxxxxxxxxxx xxxxxx xxxx xx xxxx.</p>
<p><strong>xxx xxxx xx xxxxxx xxxx xx xxxxxx xxxxxxxxxx, xx x xxxxxxxx xxx xxxxxxx xxxxxxxxxxx xxxxx xxxxxx xxxxxxxxx xxx xxxx xxxx xx xxxxxxxxxxx xxxxxx xxxx xx xxxx.</strong></p>
<p>xx xxxx xx xxxxxx xxxx xx xxxxxx xxxxxxxxxx, xx x xxxxxxxx xxx xxxxxxx xxxxxxxxxxx xxxxx xxxxxx xxxxxxxxx xxx xxxx xxxx xx xxxxxxxxxxx xxxxxx xxxx xx xxxx.</p>
<p>xx xxxx xx xxxxxx xxxx xx xxxxxx xxxxxxxxxx, xx x xxxxxxxx xxx xxxxxxx xxxxxxxxxxx xxxxx xxxxxx xxxxxxxxx xxx xxxx xxxx xx xxxxxxxxxxx xxxxxx xxxx xx xxxx.</p>
<p><strong>Xxxx xxxx xx xxxxxx xxxx xx xxxxxx xxxxxxxxxx, xx x xxxxxxxx xxx xxxxxxx xxxxxxxxxxx xxxxx xxxxxx xxxxxxxxx xxx xxxx xxxx xx xxxxxxxxxxx xxxxxx xxxx xx xxxx..</strong></p>
<h3 class="extra-padding">Xxxxxxx xx…</h3>
<h4>Xxx xxxxxxxxxx xx xxx Xxxx Xxxx Xxxxxxx Xxxxxx xxxxxxxx xxxx xxxxxx xxxx</h4>
<h4>Xxx xxxxxxxxxx xx xxx Xxxx Xxxx Xxxxxxx Xxxxxx xxxxxxxx xxxx xxxxxx xxxx</h4>
</div>
<div id="main-content-2" class="clearfix">
<h4> </h4>
</div>
</div><!-- end maincontent -->
<div id="bottom-content">
<div id="about-div">
<h2>Xxxxx xx…</h2>
<p>Xx, xx xxxxx ixx Xxxxxx Xxxxxxxxx xxxx xxxx xxxx xxxxxxx xxx xxxxxxxx xxxx xxxxxxx xxx xxxx xxxxxx xxxx xxxxx.</p>
<p>Xx, xx xxxxx ixx Xxxxxx Xxxxxxxxx xxxx xxxx xxxx xxxxxxx xxx xxxxxxxx xxxx xxxxxxx xxx xxxx xxxxxx xxxx xxxxxXx, xx xxxxx ixx Xxxxxx Xxxxxxxxx xxxx xxxx xxxx xxxxxxx xxx xxxxxxxx xxxx xxxxxxx xxx xxxx xxxxxx xxxx xxxxx</p>
<p>Xx, xx xxxxx ixx Xxxxxx Xxxxxxxxx xxxx xxxx xxxx xxxxxxx xxx xxxxxxxx xxxx xxxxxxx xxx xxxx xxxxxx xxxx xxxxx</p>
<div class="about-bottom-to-top">
<p><a href="#header">[Back to Top]</a></p>
</div>
</div>
<hr />
<div id="links-div">
<h2>Xxxxxx xxxxx...</h2>
<ul>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
<li><a href="">Xxx Xxxxx xxxx xxx xxx xxx xx(?)</a></li>
</ul>
</div>
<div id="contact-div">
<h2>Xxxxxx xxx...</h2>
<p>Xxxxx x xxxx xxx xxx xxxxxxxxxx xxx xxxxxxx x xxxx xxx xxx xxxxxxxxxx xxx xxx xxxx x xxxx xxx xxx xxxxxxxxxx xxx xxxxxxx x xxxx xxx xxx xxxxxxxxxx xxx xxx<br />
</p>
<p class="phone">Xxxxx</p>
</div>
<div id="form-div">
<p>Please make sure you complete all three fields below so that we can reply directly.</p>
<?php
if ($_POST && isset($missing) && !empty($missing))
?>
<p class="warning">Please complete the missing item(s) indicated.</p>
<?php
elseif ($_POST && !$mailSent) {
?>
<p class="warning">Sorry, there was a problem sending your message.
Please try later.</p>
<?php
elseif ($_POST && $mailSent) {
?>
<p class="thanks"><strong>Your message has been sent. Thank you for your feedback.
</strong></p>
<?php } ?>
<form method="post" id="feedback" class="contactForm" action="">
<label for="name">Name: <?php
if (isset($missing) && in_array('name', $missing)) { ?>
<span class="warning">Please enter your name</span><?php } ?>
</label>
<input name="name" id="name" type="text" class="formbox"
<?php if (isset($missing)) {
echo 'value="'.htmlentities($_POST['name']).'"';
} ?>
/>
<label for="email">Email: <?php
if (isset($missing) && in_array('email', $missing)) { ?>
<span class="warning">Please enter a valid email address</span><?php } ?>
</label>
<input name="email" id="email" type="text" class="formbox"
<?php if (isset($missing)) {
echo 'value="'.htmlentities($_POST['email']).'"';
} ?>
/>
<label for="comments">Comments: <?php
if (isset($missing) && in_array('comments', $missing)) { ?>
<span class="warning">Please enter your comments</span><?php } ?>
</label>
<textarea name="comments" id="comments" cols="30" rows="10"><?php
if (isset($missing)) {
echo htmlentities($_POST['comments']);
} ?></textarea>
<input name="send" id="send" class="formSubmit" type="submit" value="Send message" />
</form>
<div class="form-bottom-to-top">
<p><a href="#header">[Back to Top]</a></p>
</div>
</div>
</div>
<div id="footer">
<p>Xxxxxxxxxxxxx</p>
</div>
</div><!-- wrapper -->
</div>
<!-- end page-content -->
</div><!-- end wrapper -->
</body>
</html>
/* following is the include php code */
<?php
function nukeMagicQuotes() {
if (get_magic_quotes_gpc()) {
function stripslashes_deep($value) {
$value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
return $value;
$_POST = array_map('stripslashes_deep', $_POST);
$_GET = array_map('stripslashes_deep', $_GET);
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
?>
/* Following is the css */
@charset "UTF-8";
/* CSS Document */
html { margin: 0; background: #faf9f2 url(im/background_texture_tile.jpg) top center repeat; text-align: center; }
body { margin: 0 auto; background: url(im/background_texture_tile.jpg) top center repeat; text-align: center; width: 910px;
padding: 0; font: 62.5% Arial, Verdana, Helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, form, label, fieldset, legend, blockquote, table { margin: 0; padding: 0; }
#wrapper {
text-align: left;
position: relative;
.container{
margin: 0 auto 0;
width: 910px;
#header {
width: 870px;
height: 150px;
margin: 0 20px 20px 20px ;
background: url(im/header-bg.gif) top left no-repeat;
h1.logo {
float: left;
height: 130px;
width: 315px;
margin: 0 0 0 50px;
border: 0;
outline: 0;
text-indent:-9999px;
background:url(im/logo.jpg) 0 10px no-repeat;
display: inline;
h2.subhead {
font-weight: bold;
font-size: 1.6em;
line-height: 1.4em;
color: #999;
float: right;
width: 135px;
text-align: right;
margin: 25px 320px 0 0;
display: inline;
#nav {
position: absolute;
top: 0px;
right: 50px;
width: 270px;
height: 277px;
background: url(im/nav-bg.png) top left no-repeat;
#nav h2 {
font-size: 1.6em;
text-align: center;
color: #4D98C5;
margin-top: 35px;
#nav h3 {
font-size:2.2em ;
text-align: center;
color: #4D98C5;
padding-bottom: 13px;
margin: 0 40px 0;
border-bottom: 4.5px dotted #999;
#nav ul {list-style:none;}
#nav li {
list-style:none;
font-size: 1.4em;
font-weight: bold;
margin: 0 40px 0 40px ;
border-bottom: 4.5px dotted #999;
#nav li a {
text-align: left;
background-image:url(im/CSSSprite.jpg);
background-repeat:no-repeat;
color: #4D98C5;
text-decoration: none;
line-height: 65px;
margin: 10px 0 10px 0;
#nav li a.nav-about {
background-position: 105px -15px;
padding: 20px 95px 20px 0;
#nav li a.nav-about:hover,
#nav li a.nav-about:active,
#nav li a.nav-about:focus {
background-position: 105px -102px;
color: #814098;
#nav li a.nav-contact {
background-position: 105px -180px;
padding: 20px 80px 20px 0;
#nav li a.nav-contact:hover,
#nav li a.nav-contact:active,
#nav li a.nav-contact:focus {
background-position: 105px -267px;
color: #814098;
/* Cycle styles */
#cycle {
float: left;
margin-left: 20px;
margin-bottom: 25px;
width: 547px;
height: 339px;
clear: both;
.pics { height: 339px; width: 547px; padding:0; margin:0; overflow: hidden; border: 1px solid #814098; }
/* End cycle styles */
/*///// RIGHT CONTENT ////*/
#right-column {
float: right;
width: 260px;
margin: 0 53px 0 0;
display: inline;
#ladies {
width: 252px;
height: 437px;
background: url(im/pink-ladies.png) top left no-repeat !important ;
background: url(im/pink-ladies.gif) top left no-repeat ;
margin: 120px 0 0 6px;
#ladies h1 {
margin: 0px 30px 150px 20px;
padding-top: 60px;
font: bold 2em Georgia, "Times New Roman", Times, serif;
text-align: center;
color: #6A437E;
#ladies p {
margin: 0px 30px 15px 20px;
font: normal 1.8em Georgia, "Times New Roman", Times, serif;
text-align: center;
line-height: 1.4em;
color: #EF4358;
#ladies p.bottom {
margin: 0px 30px 0px 20px;
font: bold 2.2em Helvetica, Arial, sans-serif;
text-align: center;
color: #6A437E;
#courses{
margin-top: 15px;
margin-bottom: 18px;
#courses h2 {
letter-spacing: .07em;
/*Hull Course */
#course1 {
margin: 0 0 5px 6px ;
width:240px;
background:url(im/rightnav.gif) bottom left no-repeat;
#course1 h2.top {
background:url(im/rightnaw.gif) top left no-repeat;
margin:0;
padding:15px;
color:#FFFFFF;
font-size:1.6em;
line-height: 1.4em;
font-weight: bold;
text-transform:uppercase;
#course1 h2 {
font-size:1.6em;
line-height: 1.4em;
color:#FFFFFF;
background-color:#814198;
padding:15px;
text-transform:uppercase;
#course1 p {
font-size:1.4em;
line-height:1.4em;
padding: 15px 15px 0 15px;
margin:0;
#course1 p a {
text-decoration:underline;
font-weight:bold;
color: #9f1f63
#course1 p a:hover {
color: #ec008c;
#course1 ul {
margin: 20px 0 20px 15px;
font-size:1.4em;
line-height: 1.6em;
list-style: none;
#course1 p.book-early {
padding-bottom: 20px;
#course1 p.location {
padding-bottom: 30px;
#course1 p.structure {
padding-bottom: 30px;
#course1 p.news {
padding-bottom: 30px;
#right-column .to-top {
color: #000;
text-align: right;
padding-right: 27px;
margin-bottom: 40px;
#right-column .to-top a, a:link {
color: #000;
font-size: 1.3em;
text-decoration: none;
#right-column .to-top a:hover {
text-decoration: underline;
#course2 {
margin: 0 0 5px 6px ;
width:240px;
background:url(im/rightnav.gif) bottom left no-repeat;
#course2 h2.top {
background:url(im/rightnaw.gif) top left no-repeat;
margin:0;
padding:15px;
color:#FFFFFF;
font-size:1.6em;
line-height: 1.4em;
font-weight: bold;
text-transform:uppercase;
#course2 h2 {
font-size:1.6em;
line-height: 1.4em;
color:#FFFFFF;
background-color:#814198;
padding:15px;
text-transform:uppercase;
#course2 p {
font-size:1.4em;
line-height:1.4em;
padding: 15px 15px 0 15px;
margin:0;
#course2 p a {
text-decoration:underline;
font-weight:bold;
color: #9f1f63
#course2 p a:hover {
color: #ec008c;
#course2 ul {
margin: 20px 0 20px 15px;
font-size:1.4em;
line-height: 1.6em;
list-style: none;
#course2 p.book-early {
padding-bottom: 20px;
#course2 p.location {
padding-bottom: 30px;
#course2 p.news {
padding-bottom: 30px;
/*///// RIGHT CONTENT ////*/
#main-content {
margin: 0 360px 0 40px;
padding: 0;
#main-content-1 {
width: 510px;
#main-content-2 {
width: 510px;
#main-content p {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 1.6em;
line-height: 1.4em;
padding-bottom: 1em;
color: #666;
#main-content h2{
padding: 0 0 20px 0;
margin: 0;
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 3em;
color: #666;
#main-content h3 {
font-size: 2.3em;
color: #666;
font-weight: normal;
padding-bottom: 0.8em;
#main-content h3.extra-padding {
padding-top: 0.8em;
padding-bottom: 0.8em;
#main-content h4 {
font-size: 2em;
font-weight: normal;
#bottom-content {
background-color: #814098;
clear: both;
margin: 0 20px;
width: 870px;
float: left;
#bottom-content h2 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 2.6em;
letter-spacing: .05em;
color: #FFF;
font-style: normal;
padding: 0 0 15px 0;
#bottom-content p {
color: #FFF;
#about-div {
padding: 0 320px 30px 0;
background: url(im/sheila.png) 560px 20px no-repeat !important;
background: url(im/sheila.jpg) 560px 20px no-repeat ;
#about-div h2 {
padding: 20px 28px 15px 28px;
#about-div p {
padding: 0 28px 20px 28px;
font-size: 1.5em;
line-height: 1.4em;
.about-bottom-to-top {
position: relative;
top: 65px;
right: -320px;
text-align: right;
padding-right: 33px;
font-size: .68em;
.about-bottom-to-top a, a:link {
color: #FFF;
text-decoration: none;
.about-bottom-to-top a:hover {
text-decoration: underline;
hr {
margin: 40px 28px 20px 28px;
color: #C09FCB;
border-top: 1px black solid;
#links-div {
margin: 0 15px 0px 28px;
float: left;
width: 254px;
#links-div li {
list-style: none;
padding: 0 0;
#links-div li a {
font-size:1.5em;
line-height: 1.5em;
text-decoration: none;
color: #FFF;
#links-div li a:hover {
text-decoration: underline;
#contact-div {
margin: 0 10px 0 0;
width: 254px;
float: left;
#contact-div p {
font-size: 1.5em;
line-height: 1.4em;
#contact-div p.phone {
font-size: 2.2em;
font-weight: bold;
letter-spacing: .05em;
/* CONTACT FORM */
#form-div {
margin: 0 28px 50px 0 ;
float: right;
width: 281px;
#form-div .contactForm {
padding:6px;
#form-div .contactForm .formbox {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size:1.2em;
color:#333;
width:261px;
padding:5px 3px;
margin:0 0 5px 0 ;
border:1px solid #666;
border-top-color:#000;
background:#fff url(im/contact-input.gif) top repeat-x;
#form-div .contactForm #comments {
font-family: Helvetica, Arial, sans-serif;
font-size:1.23em;
color:#333;
line-height: 1.5em;
width:258px;
padding: 5px 0.4em 0 0.4em ;
margin: 0 0 10px 0 ;
display:block;
clear:both;
border:1px solid #666;
border-top-color:#000;
background:#fff url(im/contact-textarea.gif) top repeat-x;
.formSubmit {
display:block;
clear:both;
width:110px;
height:25px;
padding:0;
border:none;
background-color: #251149;
text-align:center;
font-size:1.2em;
color:#fff;
cursor:pointer;
.formSubmit:hover {
background-color: #E76F34;
.form-bottom-to-top {
text-align: right;
padding-right: 33px;
font-size: 0.68em;
margin-top: 40px;
.form-bottom-to-top a, a:link {
color: #FFF;
text-decoration: none;
.form-bottom-to-top a:hover {
text-decoration: underline;
/* David Powers styles */
.warning {
font-weight: bold;
font-size: 1em;
color: #FCCCB9;
display: block;
.thanks {
font-weight: bold;
color: #f00;
margin-left: 3px;
#form-div p {
margin: 0 0 10px 8px ;
font-size: 1.5em;
line-height: 1.4em;
label {
font-weight: bold;
font-size: 1.6em;
color: #FFF;
display: block;
/* END CONTACT FORM */
#footer {
height: 10em;
background-color: #FFF;
margin: 0 20px;
clear: both;
#footer p {
font-size: 1.4em;
color: #666;
padding: 40px 0 30px 120px;
background: url(im/footer-logo.gif) 50px 20px no-repeat ;
.clearfix:after{ content:"."; display:block; height:0; clear:both; visibility:hidden; }
.clearfix {display: inline-block;}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */
* html .clearfix{ height: 1px; } -
Need help with creating a contact form!
I searched the forum, and found the suggestion to go to Bravenet and create the form, and then copy the code into the HTML snippet.
I've done that - but I need to change the font - along with its color and possibly the size.
Here is the code:
<form method="post" enctype="multipart/form-data" action="http://pub5.bravenet.com/emailfwd/senddata.php">
<input type="hidden" name="usernum" value="381593922">
<input type="hidden" name="cpv" value="2">
<!-- DO NOT CHANGE OR REMOVE THE 3 TAGS ABOVE THIS COMMENT-->
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
Contact Form
</td>
</tr>
<tr>
<td>
<label for="FirstLastName" style="float:left;width:140px;">First and Last Name:</label><input type="text" name="FirstLastName" id="FirstLastName" value="" maxlength="" style="width:200px;">
<label for="Email" style="float:left;width:140px;">E-Mail Address:</label><input type="text" name="Email" id="Email" value="" maxlength="" style="width:200px;">
<label for="Message" style="float:left;width:140px;">Message:</label><textarea name="Message" id="Message" maxlength="" style="width:200px;height:200px;"></textarea>
</td>
<tr>
<td align="right">
<!-- YOU CAN MODIFY THE TEXT WITHIN VALUE="" TO MODIFY YOUR BUTTON TEXT-->
<input type="submit" value=" Submit "> <input type="reset" value=" Reset ">
</td>
</tr>
</table>
</form>
Can anyone give me a hand??
Thanks!
KimYou might want to check out wufoo.com - very customizable
-
There's no need for us to have data collected and analyzed. No need for yet another hosting service to store data we'll NEVER use.
I've already got a hosting service for my site. My clients already have hosting for their sites. None of us are willing to spend another
dime to have a second hosting system for anything. Don't care. Don't want it. LOVE the Muse forms and the ease with which I can
modify them to look the way I want them to, but that all adds up to jack squat if they don't work.
All we're looking for is a simple contact form that allows users to fill in a couple of form fields, add a little message and hit send.
My clients want to have at the most, about 5 different email addresses set up so they can keep the information organized a bit on their end.
They may get at most about 300-500 emails a month at a peak time of the year.
That's not too much to ask is it?
I mean, if I use the "Upload to FTP host" feature in Muse, what's so hard about adding a bit of code that uses that server space to pass along
a few messages to a mailbox?
Can't we just set up a BASIC contact form that is just creating an email and sending it to an email address with a preformatted message based
upon the form fields we add to the widget? Something like this:
Name: John Smith
Email: [email protected]
Phone: 555-555-5555
Message: You guys are a great little company, thanks for being so swell.
Dat be all we want yo! Hook us up mang!
For $15 dollars a month that I'm paying to use Muse, there oughta be something like that in the form widget panel! Dang!
Really have a bad taste in my mouth with this whole attempt to channel people into Business Catalyst... That might be great
for some of your customers, but odds are, not really... The majority of Muse users are likely to be designers that want to have
a bit more control over their clients image/brand, and want to have less painful ways of keeping up with the advancements in
webdesign/development without having to learn new code crap every few months!
So let's not be too greedy and accidentally paint some of your customers into a corner and try to get them to pay you more
money for services they don't need, and probably don't want.
I've recommended Muse to a few designer friends of mine, and their comments are all the same: Love Muse for the ease of
use in designing websites, hate the idea of Business Catalyst. "Feels like a ball and chain, but worse because I have to pay for it."
Yeah, time to rethink your plan a bit folks?
Simple Muse Form Widget. Get on it! It would be VERY nice of you to do so!I do agree and have posted a few times on this. It would be nice not to be tied down with another hosting subscription. It would be better if instead of having to pay for BC hosting with different plan pricing they could have different pricing for Muse with different feature options. I would pay more for Muse to use the form feature freely on any server I choose because like you said the form widget is great for making really custom forms, but that ease of use should come at a cost because it is so sought after.
I am getting sick of people wanting everything for free just because it is there and they want it so badly but think they shouldn't have to pay for it because it is not in their budget.
Muse should have different tiers with different feature options and not force BC on users. BC is a great solution for people without hosting or users that are not familiar with setting up their own servers but for the ones that do have their own servers and are comfortable with using them feel tied down. -
Is there a way to remove fields from a "Simple Contact" form?
What I am looking to do is create a "subscribe to newsletter" form where the user only has to enter their email address. I don't want them to have to enter their name or write a message. Does anyone know if it is possible to alter the simple contact form?
Please see photo for what I am looking to create.
Thank you for your time.Hi Kurt,
What I ended up doing was creating the form in Muse then bringing the html page into Dreamweaver and removing the name field. It works but can be kind of a pain if you want to make changes to the design part in Muse because you have to go back into dreamweaver and remove the name field again every time you export. I'm glad to hear the next major release will no longer require a name field.
It would be nice if we could play with the code behind muse within muse. It would make life easier especially when inserting google analytic tracking for pdfs. ;-) -
I just replaced an adobe formscentral contact form with the muse simple contact form. It is not working, receiving a php server error when submitting. How can I fix this?? I'm hosting through Amazon Route53.
Issue is here: CONTACTHi,
I was able to submit the form, kindly let me know if you are still facing the issue.
Regards
Sonam -
Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?
Are you in DSL? Do you know if your modem is bridged?
"Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06 -
Hello, I have no training in using Adobe Acrobat Pro or Livecycle Designer so I need major help with a 1 page form that I am attempting to create. Basically the form will be used to nominate employees for a Job Well Done Award.
The form contains the following:
1.) The name(s) of the employees being nominated and the date of the accomplishment.
2.) In the middle of the page I have a section for a write up, limited to 5000 characters, this is were I am needing the most help. A couple of things, about this section: The font is set at 11 and I don't want it to change. The text field has multiple-line, scroll long text enabled. The text field is a certain size and can only hold so much text, then it starts to scroll, which I am ok with, I like that feature. The issue I am having is during printing. I would like to keep the text field scrollable but when I print I would like to be able to print everything in that field. Executing this is the problem, I have no clue how to do it. I was hoping for some setting within Acrobat Pro or LiveCycle to be available, but the more I read and research this, it appears that it may require java, xml, basically some coding. I don't know for sure.
3.) Below the text field I have another field for the person nominating to type their name and right next to that another field for a digital signature.
4.) And finally below those two fields I have a Submit button that is setup to start email application so the form can be emailed to the proper inbox.
Thank you in advance.With an Acrobat form the only thing you can do is export the text to
another location (like a blank field on another page) or to another file
format. With an LCD form you can expand the text box itself, but you'll
need to ask about that over at the LCD Scripting forum. -
Editing simple contact form...
When I place the simple contact form widget onto a page, it won't let me delete the "Enter Name" field. All I need is the "Enter Email" input. When is Adobe going to add full form capabilities? That is one of the glaring things missing from Muse.
Name and Email are the only fields in Adobe Muse forms that are Required by default and you cannot remove them nor can you make them optional. You may use some custom JS code to prepopulate and hide the name field if it is absolutely necessary for your purpose.
Thanks,
Vikas -
Simple contact form that emails resutls
Hi Folks,
using jdev 11.1.1.3
I need to construct a simple contact form that takes the results of the input boxes and emails it to a specified reciptient. It should be easy but I can't find any references to constructing such an app anywhere in the documents. Can someone point me to a simple tutorial that may exist out there?
Thanks much,
PatYou probably need to write some Java class that will do the email sending using Java Mail:
http://www.oracle.com/technetwork/java/index-jsp-139225.html
Then you can expose this class as an ADF data control and bind a JSF page to that method. -
Simple Contact form in Site Studio
I'm trying to build a simple Contact Us form in a Site Studio website. I've built the front end form using the FCK editor, but I'd like to be able to email the form data. Does IdocScript have built in functions to handle emailing form data? I don't want to store it on Content Server, or check any documents in, just email the data.
Right now I just have the form action pointing to PHP script I host outside the Content Server, but it seems like it would be cleaner if this could just submit back to the Content Server.
Thanks,
-JasonIf you want use something existing or out-of-the-box (OOTB), the "easiest" way would be to post to the SUBMIT_HTML_FORM idcservice. When the form is submitted, a copy of the form is checked into the content server, which you can then have subscriptions alert users via email.
Here is some help on getting forms to work via the SUBMIT_HTML_FORM idcservice if you don't know what I'm talking about. I wound up implementing this [almost] exact solution about 1.5 years before Kyle's post - just tooting my own horn here :) - but props to Kyle explaining it pretty well. There are many tweaks that can be made, but it works quite well on a fundamental level. You can see some of the "issues" I'm still running into by reading my (Andrew) comments, but you're using the same editor that Kyle did, so you shouldn't run into any of the issues I did.
I also went one step further by writing my own email (using javamail) idoc function and calling it anytime a new form was submitted. This is obviously something that is not OOTB and reserved for advanced discussion.
Good luck!
Edit: Stupid "insert a link" doesn't work. Use standard HTML tags to insert hyperlinks. -
Having problems with spam on contact form
I typed this once only to have Adobe delete it so I could type it all again to submit it. So this will be the shorter version.
Basically I am getting spam from the contact form on a non business cataylst hosted page (hosted with bluehost). I have 35 other sites non muse made on other systems and in 8 years have never received one spam message. Now with Muse I get several a week only having been live a few months. So something is definitely going on. Adobe was zero help and basically told me they only can help if it was on Business cataylist.
Have you guys found any ways around this? I know wordpress sites have apps to add to help it, but I didn't know if Muse had anything like that or code that could be entered to help it. I'd love to avoid Captcha's if humanly possible because I think they look horrible on websites and I want as few barriers for customers as possible to submit true contacts.
Any thoughts is appreciated. ThanksPlease refer to the response from Zak to your similar post here - http://forums.adobe.com/message/6129694#6129694.
Thanks,
Vinayak -
Help with a simple 1811 configuration
I have a very basic level of understanding with Cisco products and I need help with what should be simple and even doable by me.
I have a Cisco 1811 integrated router and am simply trying to use it on my home network. I can configure the router with an enable secret password, password encryption, VTY, aux, and cons logins with no issues. The router has 2 Ethernet interfaces, 0 and 1 and 8 switch ports.
The idea is to bring Comcast ISP service into one of the Ethernet ports and then have three machines on the switch ports able to access the Internet. Also I have an off-the shelf wireless router that I thought I would just plug that into an available switch port and allow a wireless AP as well.
This is so simply, that I can't believe I can't figure it out, but I can't.
I set int F1 to DHCP, performed a 'no shut', and connected the ISP's router and have an up and up indication. I have setup a static network with my three machines on the switch ports and enabled all applicable ports and have up and up indications - however, no traffic flow, even amongst my static Layer 2 switched LAN - not even a 'ping'. By my understanding of Layer 2, this should work right now, whether the ISP service is working or not - WHAT AM I DOING WRONG?
The addressing scheme I have ended up on is 172.16.1.0/28
Obviously without the first hurdle cleared, of why the switched LAN doesn’t work, I haven't got any deeper. Do I need to configure NAT? I don't think I would need to in the scenario right?
All of my experience, and none at the CCNA level, has been with larger Cisco equipment. One thing I noticed on the 1811 was that when trying to create a new VLAN, it appears to work yet does not do anything and the 'sh vlans' output returns nothing, not even the VLAN1 I can see with 'sh ip int brief".
Anyway, if anyone has time to help a newbie out I would appreciate it; I’m lost.
Thanks,
JoshThanks for the help Andrew! You know, I think if this was two separate devices (switch and router) I think I would be up and running, but this integrated stuff is throwing me off, not to mention that the IOS is a much older version (I guess) than what I'm used to.
They were throwing this 1811 in the trash can at work, so I just emptied the trash can. I have no documentation at all but I have since found the 1800 series documentation on Cisco.com and have tried to implement the basic configurations cited; with what seems like success, but still no joy. I did have to recover the password and did so with 0x2142, I bypassed the setup and compared the default configuration with what is listed in the documentation and they DO NOT match; I also tried to go through setup mode with the same indications. Additionally I've also learned that the 1800 series is pre-configured on certain options (DHCP, VLAN), which is new to me - I thought Cisco routers were not configured by default - isn't that kind of the point? (By the way, the below port status may not be correct since I now have all the ports unplugged)
Anyway, here is the 'show run' command, the 'sh ip int brief' command, followed by the 'sh version' command:
Show Run
Casino#sh run
Building configuration...
Current configuration : 2006 bytes
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname Casino
boot-start-marker
boot-end-marker
enable secret 5 $1$meWw$nsMTp6US7axi/uE0MWULK.
enable password 7 06535E741C1B584C55
no aaa new-model
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 172.16.1.1
ip dhcp pool Casino
import all
network 172.16.1.0 255.255.255.240
default-router 67.165.208.1
dns-server 68.87.89.150
domain-name hsd1.co.comcast.net
no ip domain lookup
ip domain name GinRummy.localhost
ip name-server 68.87.85.102
ip name-server 68.87.69.150
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
multilink bundle-name authenticated
archive
log config
hidekeys
interface Loopback0
ip address 172.16.1.1 255.255.255.240
interface FastEthernet0
no ip address
shutdown
duplex auto
speed auto
interface FastEthernet1
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
interface BRI0
no ip address
encapsulation hdlc
shutdown
interface FastEthernet2
interface FastEthernet3
interface FastEthernet4
interface FastEthernet5
interface FastEthernet6
interface FastEthernet7
interface FastEthernet8
interface FastEthernet9
interface Vlan1
no ip address
ip nat inside
ip virtual-reassembly
interface Dialer0
ip address negotiated
ip mtu 1492
encapsulation ppp
dialer pool 1
ppp authentication chap
ip forward-protocol nd
no ip http server
no ip http secure-server
ip nat pool Casino 172.16.1.2 172.16.1.14 netmask 255.255.255.240
ip nat inside source list 1 interface Dialer0 overload
access-list 1 permit 172.16.1.0 0.0.0.15
dialer-list 1 protocol ip permit
control-plane
line con 0
password 7 080E5916584B4442435E5C
login
line aux 0
password 7 013C135C0A59475A70191E
login
line vty 0 4
password 7 09635B51485756475A5954
login
end
Show IP Interface Brief
Casino#sh ip int brief
Interface IP-Address OK? Method Status Prl
FastEthernet0 unassigned YES NVRAM administratively down do
FastEthernet1 unassigned YES DHCP up do
BRI0 unassigned YES NVRAM administratively down do
BRI0:1 unassigned YES unset administratively down do
BRI0:2 unassigned YES unset administratively down do
FastEthernet2 unassigned YES unset up do
FastEthernet3 unassigned YES unset up do
FastEthernet4 unassigned YES unset up do
FastEthernet5 unassigned YES unset up do
FastEthernet6 unassigned YES unset up do
FastEthernet7 unassigned YES unset up do
FastEthernet8 unassigned YES unset up do
FastEthernet9 unassigned YES unset up up
Vlan1 unassigned YES NVRAM up up
Loopback0 172.16.1.1 YES manual up up
Dialer0 unassigned YES manual up up
NVI0
'show version'
Casino#sh ver
Cisco IOS Software, C181X Software (C181X-ADVIPSERVICESK9-M), Version 12.4(15))
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Thu 24-Jan-08 13:05 by prod_rel_team
ROM: System Bootstrap, Version 12.3(8r)YH12, RELEASE SOFTWARE (fc1)
Casino uptime is 52 minutes
System returned to ROM by reload at 17:09:25 UTC Fri Jul 1 2011
System image file is "flash:c181x-advipservicesk9-mz.124-15.T3.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
Cisco 1812 (MPC8500) processor (revision 0x400) with 118784K/12288K bytes of m.
Processor board ID FHK120622J3, with hardware revision 0000
10 FastEthernet interfaces
1 ISDN Basic Rate interface
31488K bytes of ATA CompactFlash (Read/Write)
Configuration register is 0x2102
Thanks again for your help,
Josh -
Need help with a simple process with FTP Adapter and File Adapter
I am trying out a simple BPEL process that gets a file in opaque mode from a FTP server using a FTP adapter and writes it to the local file system using a File Adapter. However, the file written is always empty (zero bytes). I then tried out the FTPDebatching sample using the same FTP server JNDI name and this work fine surprisingly. I also verified by looking at the FTP server logs that my process actually does hit the FTP server and seems to list the files based on the filtering condition - but it does not issue any GET or RETR commands to actually get the files. I am suspecting that the problem could be in the Receive, Assign or Invoke activities, but I am not able identify what it is.
I can provide additional info such as the contents of my bpel and wsdl files if needed.
Would appreciate if someone can help me with this at the earliest.
Thanks
Jaypersiandude wrote:
Topic: Need help with if, else, and which statements and loops.
How would I display 60 < temp. <= 85 in java
System.out.println("60 < temp. <= 85 in java");
another question is how do I ask a question like want to try again (y/n) after a output and asking that everytime I type in yes after a output and terminate when saying No.Sun's [basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
Sun's [New To Java Center|http://java.sun.com/learning/new2java/index.html].Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
[http://javaalmanac.com|http://javaalmanac.com]. A couple dozen code examples that supplement [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance].
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's [Thinking in Java|http://mindview.net/Books/DownloadSites] (Available online.)
Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683/ref=pd_bbs_1?ie=UTF8&s=books&qid=1214349768&sr=8-1]
Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance].
James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806].
Maybe you are looking for
-
Open Hub - Change from File to Database table
Hello Experts; I want to change the Open Hub Service that we create from File to Database table. We are using the Delta Update. However, after I change the Open Hub, Activate the transformation and DTP, when I run it, I don't have any value in the ta
-
Hi every one, I am new to XI . I have a small doubt in Mappings. In XI we have 4 types of mappings: 1.Graphical mapping 2.XSLT mapping, 3.Java Mapping 4.ABAP mapping In case of performance point of view which one is best . Plz explain me in details .
-
Using caption in Slideshow without showing empty or ""
I want to show text on selected individual slides in a slideshow . I know that I can use caption or title for this ( can I use either one or is there a preferred one ? ) . However , not all the photos in the slideshow have captions, so for those wi
-
Jsp dyn page open form results in new window
Hi everybody, I have a problem dispaying results in new window. My portal component is a dyn page that dispay several jsp pages based on a integer switch parameter checked in the doProcessBeforeOutput method. One page is a form with a button that cal
-
SCCM 2012 SP1 Remote Control Smart Card Support?
Hi, We're currently running SCCM 2012 SP1. We have implemented mandatory smart card login on our Win 7 workstations using GPO. Is it correct to say that SCCM's Remote Control Viewer does not support passing of smart card credentials through the ses