<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="index,follow" name="robots" />
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<link href="pics/homescreen.png" rel="apple-touch-icon" />
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="javascript/functions.js" type="text/javascript"></script>
<title>Advancing Info
</title>
<meta content="iPod,iPhone,Webkit,iWebkit,Website,Create,mobile,Tutorial,free" name="keywords" />
<meta content="Try out all exclusive features iWebKit 4.0 has to offer and discover how far web developement can go. Create the ultimate WebApp!" name="description" />
</head>
<body>
<div id="topbar">
<div id="title">
Advancing Info</div>
<div id="leftnav">
<a href="index.html">Back</a></div>
<div id="rightbutton">
<a href="http://lyricaproduction.com/">Full Site</a></div>
</div>
<div id="content">
<ul class="pageitem">
<li class="textbox">
<p><div align="center">Please fill out the form below to submit your advancing information to the venue. If you have any questions, please contact our production manager: Ted Morgan Production@lyricaorlando.com</p>
<p>Please read our Code Of Conduct as it has useful information for every band playing. It also covers topics such as parking, load in/out proceedures.</p>
(Fields denoted with * are required)</div>
</li>
</ul>
<span class="graytitle">Band Info</span>
<ul class="pageitem">
<li class="form"><span class="narrow"><span class="name">First Name</span><input type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">Last Name</span><input type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">Band Name</span><input type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">Contact Phone</span><input type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">E-Mail</span><input type="text" />
</span></li>
</ul>
<ul class="pageitem">
<li class="form"><select name="a">
<option value="1"># of Band Members</option>
<option value="2">1</option>
<option value="3">2</option>
<option value="4">3</option>
<option value="5">4</option>
<option value="6">5</option>
<option value="7">6</option>
<option value="8">7</option>
<option value="9">8</option>
</select><span class="arrow"></span></li></ul>
<ul class="pageitem">
<li class="form"><select name="b">
<option value="1"># of Crew</option>
<option value="2">1</option>
<option value="3">2</option>
<option value="4">3</option>
<option value="5">4</option>
</select><span class="arrow"></span></li></ul>
<ul class="pageitem">
<li class="form"><select name="c">
<option value="1">Own FOH Engineer</option>
<option value="2">Yes</option>
<option value="3">No</option>
</select><span class="arrow"></span></li></ul>
<ul class="pageitem">
<li class="form"><span class="narrow"><span class="name">Date of Event</span><input type="text" />
</span></li>
</ul>
</ul>
<li class="textbox"><textarea name="TextArea">Comments/Input List</textarea></li>
</ul>
<ul class="pageitem">
<span class="graytitle">Agree to the Code of Conduct</span>
<li class="form"><span class="choice"><span class="name">I Agree</span><input name="music" type="radio" value="other" /></span></li></ul>
<ul class="pageitem">
<li class="form">
<input name="Submit input" type="submit" value="Submit" /></li>
<li class="form">
<input name="Reset input" type="reset" value="Reset" /></li>
</ul>
<div id="footer">
<a href="http://www.lyricaorlando.com/" class="noeffect style4"><strong>COPYRIGHT 2010 ALL RIGHTS RESERVED LYRICA ORLANDO WWW.LYRICAORLANDO.COM WWW.LYRICAPRODUCTION.COM</strong></a></div>
</body>
</html>
wadelaube wrote:I have created a mobile menu system with iWebkit, which is working really well, even though I have no idea what I am doing.


exit98studios wrote:Much appreciated on the help. All I need it to do is take all of the data imputed into the form and have it emailed to a set email address. I was told by someone else that I need to use PHP. Is that correct, or is there an alternative?
-exit98

<form action="emailsend.php" method="post">
<ul class="pageitem">
<li class="form"><span class="narrow"><span class="name">First Name</span><input name="first" type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">Last Name</span><input name="last" type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">Band Name</span><input name="band" type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">Contact Phone</span><input name="phone" type="text" />
</span></li>
<li class="form"><span class="narrow"><span class="name">E-Mail</span><input name="email" type="text" />
</span></li>
</ul>
<ul class="pageitem">
<li class="form"><select name="members">
<option value="1"># of Band Members</option>
<option value="2">1</option>
<option value="3">2</option>
<option value="4">3</option>
<option value="5">4</option>
<option value="6">5</option>
<option value="7">6</option>
<option value="8">7</option>
<option value="9">8</option>
</select><span class="arrow"></span></li></ul>
<ul class="pageitem">
<li class="form"><select name="crew">
<option value="1"># of Crew</option>
<option value="2">1</option>
<option value="3">2</option>
<option value="4">3</option>
<option value="5">4</option>
</select><span class="arrow"></span></li></ul>
<ul class="pageitem">
<li class="form"><select name="foh">
<option value="1">Own FOH Engineer</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
</select><span class="arrow"></span></li></ul>
<ul class="pageitem">
<li class="form"><span class="narrow"><span class="name">Date of Event</span><input name="date" type="text" />
</span></li>
</ul>
</ul>
<li class="textbox"><textarea name="comments">Comments/Input List</textarea></li>
</ul>
<ul class="pageitem">
<span class="graytitle">Agree to the Code of Conduct</span>
<li class="form"><span class="choice"><span class="name">I Agree</span><input name="agree" type="radio" value="Yes" /></span></li></ul>
<ul class="pageitem">
<li class="form">
<input name="Submit input" type="submit" value="Submit" /></li>
<li class="form">
<input name="Reset input" type="reset" value="Reset" /></li></form>
</ul></form><?php
$to = "cameron.r.munro@gmail.com"; //the email you want it sent to
$subject = "New Request"; //subject of email
$email = $_REQUEST['email'] ; //the email user entered on previous page - leave this
$first = $_REQUEST['first'] ;
$last = $_REQUEST['last'] ;
$band = $_REQUEST['band'] ;
$phone = $_REQUEST['phone'] ;
$members = $_REQUEST['members'] ;
$crew = $_REQUEST['crew'] ;
$foh = $_REQUEST['foh'] ;
$date = $_REQUEST['date'] ;
$comments = $_REQUEST['comments'] ;
$agree = $_REQUEST['agree'] ;
$message = "name: $first $last <br />band: $band <br />phone: $phone <br />number of members: $members <br />number of crew: $crew <br />Own FOH: $foh <br />date: $date <br />comments: $comments <br />agree: $agree"; //message
$headers = "From: $email"; //header that states the email address of user- leave this
$sent = mail($to, $subject, $message, $headers) ; //send the whole thing and report to code below
if($sent)
{print "Your mail was sent successfully<br /><br />";
echo $message; }
else
{print "We encountered an error sending your mail<br /><br />";
echo $message;
}
?>wadelaube wrote:I have created a mobile menu system with iWebkit, which is working really well, even though I have no idea what I am doing.


wadelaube wrote:I have created a mobile menu system with iWebkit, which is working really well, even though I have no idea what I am doing.


wadelaube wrote:I have created a mobile menu system with iWebkit, which is working really well, even though I have no idea what I am doing.

<?php
$to = "CHANGETHIS@YOURSERVER.COM"; //the email you want it sent to, make sure you change this
$subject = "New Request"; //subject of email
$email = $_REQUEST['email'] ; //the email user entered on previous page - leave this
$first = $_REQUEST['first'] ;
$last = $_REQUEST['last'] ;
$band = $_REQUEST['band'] ;
$phone = $_REQUEST['phone'] ;
$members = $_REQUEST['members'] ;
$crew = $_REQUEST['crew'] ;
$foh = $_REQUEST['foh'] ;
$date = $_REQUEST['date'] ;
$comments = $_REQUEST['comments'] ;
$agree = $_REQUEST['agree'] ;
$message = "name: $first $last <br />band: $band <br />phone: $phone <br />number of members: $members <br />number of crew: $crew <br />Own FOH: $foh <br />date: $date <br />comments: $comments <br />agree: $agree"; //message
$headers = "From: $email"; //header that states the email address of user- leave this
$sent = mail($to, $subject, $message, $headers) ; //send the whole thing and report to code below
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<link href="pics/homescreen.png" rel="apple-touch-icon" />
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="javascript/functions.js" type="text/javascript"></script>
<title>Submission Status
</title>
</head>
<body>
<div id="topbar">
<div id="title">
if($sent)
{print "Success!";
}
else
{print "Uh oh...";
}</div>
<div id="leftnav">
<a href="index.html">Back</a></div>
</div>
<div id="content">
<ul class="pageitem">
<li class="textbox">
<p><div align="center"><?php if($sent)
{print "Your mail was sent successfully";
}
else
{print "We encountered an error sending your mail";
}?></p>
</div>
</li>
</ul>
</div>
</body>
</html>wadelaube wrote:I have created a mobile menu system with iWebkit, which is working really well, even though I have no idea what I am doing.


<ul class="pageitem">
<li class="form"><span class="narrow"><span class="name">Email</span><input name="mail" type="text" />
</span></li>
<li class="form"><select name="at">
<option value="@me.com">@me.com</option>
<option value="@apple.com">@apple.com</option>
<option value="@gmail.com">@gmail.com</option>
<option value="@blahblah.com">@blahblah.com</option>
<option value="@123.com">@123.com</option>
</select><span class="arrow"></span></li></ul>$mail = $_REQUEST['mail'] $_REQUEST['at'];$to = $mail; //to send it to the selected email
$email = $mail; //to send it from the selected emailwadelaube wrote:I have created a mobile menu system with iWebkit, which is working really well, even though I have no idea what I am doing.

<?php
$prefix = $_REQUEST['sendto'];
$suffix = $_REQUEST['carrier'];
$smsto = $prefix .= $suffix ;
$to = $smsto ;
$subject = "Sent using iSMS 306!";
$from = $_REQUEST ['sender'];
$message = "$message <$from>" ;
$sent = mail($to,$subject,$message);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="Javascript">
window.onresize = function() {
if(window.innerWidth < 480) {
// Portrait
} else {
// Landscape
history.go(-1)
}
}
</script>
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="javascript/functions.js" type="text/javascript"></script>
<title>Submission Status</title>
</head>
<body>
<div id="topbar">
<div id="title">
<?php
if ($sent) {
print "Success!";
} else {
print "Uh oh...";
}
?>
</div>
<div id="leftnav">
<A HREF="javascript:history.go(-1)">Back</a></div>
</div>
<div id="content">
<ul class="pageitem">
<li class="textbox">
<p><div align="center">
<?php if($sent)
{
print "<br>";
print "<img src=\"images/sent.gif\">" ;
print "<br>";
print "Your SMS message has been sent to";
print "<br>" ;
print "<b>$to</b>" ;
print "<br><br>" ;
print "Thanks for using iSMS 306!";
print "<br><br>";
}
else
{
print "<br>";
print "<img src=\"images\error.gif\">" ;
print "<br>";
print "<b>We're sorry!!</b>";
print "<br>";
print "An error was encountered while";
print "<br>";
print " attempting to send your message.";
print "<br><br>" ;
print "Please try again!";
print "<br><br>";
}
?>
</p>
</div></li></ul></div>
</body>
</html>

wadelaube wrote:I have created a mobile menu system with iWebkit, which is working really well, even though I have no idea what I am doing.


Return to Get iWebKit coding help
Users browsing this forum: No registered users and 0 guests