Cena_54
Mar 21 2006, 01:05 AM
I have this followowing code stored in my /contact/index.php webpage: CODE <html>
<head> <title>PHP Form Mailer - phpFormMailer (easy to use and more secure than many cgi form mailers)</title> <style> BODY{color:#000000; font-size: 8pt; font-family: Verdana} .button {background-color: rgb(128,128,128); color:#ffffff; font-size: 8pt;} .inputc {font-size: 8pt;} </style> </head>
<body>
<form name="phpformmailer" action="contact.php" align="center" method="post"> <div align="center"><center><table bgcolor="#F2F2F2" width="528" cellspacing="6"> <tr> <td width="159"><strong>Contact Us</strong></td> <td width="349"><a href="http://thedemosite.co.uk/phpformmailer/source_code_php_form_mailer_more_secure_than_cgi_form_mailers.php"><small>PHP Form Mailer - phpFormMailer <strong>- Source code</strong></small></a></td> </tr> <tr> <td align="right" width="159"><small>Your name:</small></td> <td width="349"><font face="Arial"><input class="inputc" size="29" name="name"></font></td> </tr> <tr> <td align="right" width="159"><font color="#000080" size="1">*</font><small> Your email address:</small></td> <td align="left" width="349"><font face="Arial"><input class="inputc" size="29" name="email"></font></td> </tr> <tr align="middle"> <td align="right" width="159"><font color="#000080" size="1">*</font><small> Confirm email address:</small></td> <td width="349" align="left"><font face="Arial"><input class="inputc" size="29" name="email2"></font></td> </tr> <tr> <td align="right" width="159"><font color="#000080" size="1">*</font><small> Subject:</small></td> <td width="349"><font face="Arial"><input class="inputc" size="29" name="thesubject"></font></td> </tr> <tr> <td align="right" width="159"> <p><font color="#000080" size="1">*</font><small> Your request or query:</small></td> <td width="349"><textarea style="FONT-SIZE: 10pt" name="themessage" rows="7" cols="27"></textarea></td> </tr> <tr> <td width="159"></td> <td width="349"><script language="JavaScript"><!-- function validateForm() { var okSoFar=true with (document.phpformmailer) { var foundAt = email.value.indexOf("@",0) if (foundAt < 1 && okSoFar) { okSoFar = false alert ("Please enter a valid email address.") email.focus() } var e1 = email.value var e2 = email2.value if (!(e1==e2) && okSoFar) { okSoFar = false alert ("Email addresses you entered do not match. Please re-enter.") email.focus() } if (thesubject.value=="" && okSoFar) { okSoFar=false alert("Please enter the subject.") thesubject.focus() } if (themessage.value=="" && okSoFar) { okSoFar=false alert("Please enter the details for your enquiry.") themessage.focus() } if (okSoFar==true) submit(); } } // --></script><input type="button" class="button" value="Send" name="B1" ONCLICK="java script:validateForm()"><small> <small>You must fill in the fields marked with a *</small></small></td> </tr> </table> </center></div> </form> </body> </html> and the following code stored in my /contact.php webpage obviously with the appropriate variables and text changed though: CODE <?php /* PHP Form Mailer - phpFormMailer v2.1, last updated 30th Nov 2005 - check back often for updates! (easy to use and more secure than many cgi form mailers) FREE from: www.TheDemoSite.co.uk Should work fine on most Unix/Linux platforms */
// ------- three variables you MUST change below ------------------------------------------------------- $valid_ref1="http://Your--domain/contact.html";// chamge "Your--domain" to your domain $valid_ref2="http://www.Your--domain/contact.html";// chamge "Your--domain" to your domain $replyemail="YOU@Your--domain";//change to your email address // ------------------------------------------------------------
//clean input in case of header injection attempts! function clean_input_4email($value, $check_all_patterns = true) { $patterns[0] = '/(anti-spam-content-type:)/'; $patterns[1] = '/to:/'; $patterns[2] = '/cc:/'; $patterns[3] = '/(anti-spam-bcc:)/'; if ($check_all_patterns) { $patterns[4] = '/r/'; $patterns[5] = '/n/'; $patterns[6] = '/%0a/'; $patterns[7] = '/%0d/'; } //NOTE: can use str_ireplace as this is case insensitive but only available on PHP version 5.0. return preg_replace($patterns, "", strtolower($value)); }
$name = clean_input_4email($_POST["name"]); $email = clean_input_4email($_POST["email"]); $thesubject = clean_input_4email($_POST["thesubject"]); $themessage = clean_input_4email($_POST["themessage"], false);
$error_msg='ERROR - not sent. Try again.';
$success_sent_msg='<p align="center"><strong> </strong></p> <p align="center"><strong>Your message has been successfully sent to us<br> </strong> and we will reply as soon as possible.</p> <p align="center">A copy of your query has been sent to you.</p> <p align="center">Thank you for contacting us.</p>';
$replymessage = "Hi $name
Thank you for your email.
We will endeavour to reply to you shortly.
Please DO NOT reply to this email.
Below is a copy of the message you submitted: -------------------------------------------------- Subject: $thesubject Query: $themessage --------------------------------------------------
Thank you";
// email variable not set - load $valid_ref1 page if (!isset($_POST['email'])) { echo "<script language="JavaScript"><!--n "; echo "top.location.href = "$valid_ref1"; n// --></script>"; exit; }
$ref_page=$_SERVER["HTTP_REFERER"]; $valid_referrer=0; if($ref_page==$valid_ref1) $valid_referrer=1; elseif($ref_page==$valid_ref2) $valid_referrer=1; if(!$valid_referrer) { echo "<script language="JavaScript"><!--n alert("$error_msg");n"; echo "top.location.href = "$valid_ref1"; n// --></script>"; exit; } $themessage = "name: $name nQuery: $themessage"; mail("$replyemail", "$thesubject", "$themessage", "From: $emailnReply-To: $email"); mail("$email", "Receipt: $thesubject", "$replymessage", "From: $replyemailnReply-To: $replyemail"); echo $success_sent_msg; /* PHP Form Mailer - phpFormMailer (easy to use and more secure than many cgi form mailers) FREE from:
www.TheDemoSite.co.uk */ ?> However, what my problem is, is when I click on the send/submit button nothing happens. Please help. Thanks a lot in advance.
Reply
Albus Dumbledore
Mar 21 2006, 01:09 AM
just to clarify somthing...both of these files are in the same file correct?? as in it simply goes looking like this contact/ <folder.... contact.php index.php
Reply
Tyssen
Mar 21 2006, 01:19 AM
Try taking your form validation script out and see what happens.
Reply
Lozbo
Mar 25 2006, 02:46 PM
Nothing happens or it does send you to /contact.php? when you hit the button, check the address bar and see where is it now, if you are still in index.php, there should be a problem with your javascript, else the problem should be in that php, in which I'll have to take a closer look... But try these things first....
Reply
gaea
Mar 25 2006, 05:08 PM
A silly question, but you've checked to make sure that php scripts work fine on your server, correct? If so, then what do you mean "nothing happens?" As in it goes to the contact.php page and says the message wasn't sent; or when you click the button it doesn't even change to the contact.php page. If you problem is the latter then it's almost assuredly the javascript code that is bugging out. So remove the form validation code and then try to see if it works. If so we can help you troubleshoot the validation code...or you could simply rewrite it in php which might be easier, and would work with all browsers (even if someone has an anchient computer). If you want to just use/modify another script lemme know and i'll be happy to post the one I wrote (which i know for a fact is in working condition).
Reply
Lozbo
Mar 28 2006, 03:37 AM
Hey gaea, I would like to see that script you talk about, could you post it please? You mean a form validation script right?
Reply
gaea
Mar 28 2006, 05:24 AM
QUOTE(Lozbo @ Mar 28 2006, 03:37 AM)  Hey gaea, I would like to see that script you talk about, could you post it please? You mean a form validation script right?
Alright, here you go (this is a parred down version...without all my site specific crap). If you want help modifying this script to add extra functions just lemme know what you want, and i'll try and help you add it. Like the origonal script that you posted this uses two pages, one with the origonal form, and one with the action. It is entirely possible to write the entire thing in one page instead...but this is just the way that I did it. The first page is named 'contact.php'. It merely gathers the information to send to the second page. It is importaint that this be a php script if you want it to log the person's IP adderess, Refering page, and browser type. Contact.php: CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title>Feedback php script</title> </head><body>
<form method="post" action="sendmail.php">
<!-- DO NOT change ANY of the php sections --> <?php /* This section gathers the user's IP adderess, refering page, and browser name */ $ipi = getenv("REMOTE_ADDR"); $httprefi = getenv ("HTTP_REFERER"); $httpagenti = getenv ("HTTP_USER_AGENT"); ?>
<input type="hidden" name="ip" value="<?php echo $ipi ?>" /> <input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /> <input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />
Write any message you care to include here<br /><center>
<table border=0><tbody><tr><td> <font color="red">*</font>Name: </td> <td><input type="text" name="visitor" size="51" /></td></tr> <tr><td><font color="red">*</font>Email: </td> <td><input type="text" name="visitormail" size="51" /></td></tr> <tr><td> Subject: </td> <td><input type="text" name="subject" size="51" /></td></tr> <tr><td><font color="red">*</font>Message: </td> <td><textarea name="notes" rows="7" cols="50"></textarea></td> <tr><td></td><td align="center"><input type="submit" value="Send Mail" /></td></tr></tbody></table></center> </form> <p> </p> </body></html> The second page is named 'sendmail.php'. It is responcible for all the error checking (if a problem is found it lists the problem, and gives the user the form to resubmit), as well as the actual sending of the email, and writting a confirmation message. sendmail.php: CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title>Feedback php script</title> </head><body> <?php $passedTests = "yes";
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { echo "<h2>The following error(s) encountered:</h2>"; echo "<font color='red'>*Invalid email address. <br /></font>"; $passedTests = "no"; } if(empty($visitor) || empty($visitormail) || empty($notes )) { if($passedTests == "yes"){ echo "<h2>The following error(s) encountered:</h2>"; } echo "<font color='red'>*Please fill in ALL of the required fields. <br /></font>"; $passedTests = "no"; }
/*Prepare to send the email. Formatting etc */ $todayis = date("l, F j, Y, g:i a");
$subject = $subject;
$subject2 = "****Subject of email you want to appear****";
$notes = stripcslashes($notes);
$message = " $todayis \n From: $visitor ($visitormail)\n Subject: $subject \n Message: $notes \n Additional Info : IP = $ip \n Browser Info: $httpagent \n ";
$from = "From: $visitormail\r\n";
/*If all checks are passed, then send the email and display a thankyou message*/ if($passedTests == "yes"){ mail("****Your Email Adderess Here******", $subject2, $message, $from); ?> <p align="center"> <h2>Thankyou for your feedback!</h2> <center>
<br /><table border=0><tbody><tr><td> Date: </td> <td><?php echo $todayis ?></td></tr> <tr><td>Name: </td> <td><?php echo $visitor ?> ( <?php echo $visitormail ?> )</td></tr> <tr><td>Subject: </td> <td><?php echo $subject ?></td></tr> <tr><td></td><td></td></tr> <tr><td>Message: </td> <td><?php $notesout = str_replace("\r", "<br/>", $notes); echo $notesout; ?></td></tr></tbody></table></center>
</p> <?php } else{ /*Otherwise, display the orgional form again to allow the user to correct their input*/ ?>
<br /><form method="post" action="sendmail.php">
<?php $ipi = getenv("REMOTE_ADDR"); $httprefi = getenv ("HTTP_REFERER"); $httpagenti = getenv ("HTTP_USER_AGENT"); ?>
<input type="hidden" name="ip" value="<?php echo $ipi ?>" /> <input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /> <input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /> <center> <table border=0><tbody><tr><td> <font color="red">*</font>Name: </td> <td><input type="text" name="visitor" size="51" /></td></tr> <tr><td><font color="red">*</font>Email: </td> <td><input type="text" name="visitormail" size="51" /></td></tr> <tr><td> Subject: </td> <td><input type="text" name="subject" size="51" /></td></tr> <tr><td><font color="red">*</font>Message: </td> <td><textarea name="notes" rows="7" cols="50"></textarea></td> <tr><td></td><td align="center"><input type="submit" value="Send Mail" /></td></tr></tbody></table></center> </form> <?php }
?> <p> </p> </body></html> I tried to make comments explaining things...lemme know if you need help clearifying any of it. Please don't forget to change the subject and email fields to match your requirements.
Reply
Lozbo
Mar 29 2006, 01:41 AM
Alright, so you take the validation thing inside the sendmail.php... I was kinda actually hoping you had it in JavaScript, more like something AJAX.. But thanks anyway! (I know that those things wont work if the user has js turned off but I know its a very little percentage so I can live with it  ) Thanks for your help anyway!
Reply
gaea
Mar 29 2006, 04:41 AM
QUOTE(Lozbo @ Mar 29 2006, 01:41 AM)  Alright, so you take the validation thing inside the sendmail.php... I was kinda actually hoping you had it in JavaScript, more like something AJAX.. But thanks anyway! (I know that those things wont work if the user has js turned off but I know its a very little percentage so I can live with it  ) Thanks for your help anyway! I'm not quite sure why you'd want to have it in java script...php is sssoooo much more powerful, and easy to use/code. If you really want to use javascript there are many premade scripts out there. A fairly customizable form validator script can be found at: http://www.javascript-coder.com/html-form/...alidation.phtml. There are many good tutorials out there as well. I'm partial to htmlgoodies.com, mostly because i learned alot from their tutorials. The relevant page would be: http://www.htmlgoodies.com/primers/jsp/article.php/3589631If you really have your heart set on using javascript i can help you costumize the code to suit your site...but if i were you i'd *strongly* recommend trying to do it in php...as you have to use it to send the email anyways...and it is easier, less buggy, more secure, and compatible with 100% of the people looking at your page.
Reply
Tyssen
Mar 29 2006, 05:48 AM
Couple of problems with your script gaea: 1. It doesn't check the input for email header injection attempts and clean it before processing. 2. If there are errors in the form, it returns the user to an empty form with no error messages to let them know what is wrong.
Reply
gaea
Mar 31 2006, 06:01 AM
QUOTE(Tyssen @ Mar 29 2006, 05:48 AM)  Couple of problems with your script gaea: 1. It doesn't check the input for email header injection attempts and clean it before processing. 2. If there are errors in the form, it returns the user to an empty form with no error messages to let them know what is wrong.
Both of these are good points (though the script *does* return error messages...so im not quite sure where you got that from). Adding the origonal information back into the form would take about 2 seconds worth of time, and so is deffinatly worth doing. As far as header injection attempts...that is also a good point. But where do you stop? There are sssooooo many possible exploits that if you wanted to write a 100% secure script it'd take you a rather long time. What would you say qualifies as "good enough?" Removing any occurances of "\r" or "\n?" And 0x0D/%0D, and %0A? Or stopping all the MIME vulnerabilites? Or other vunrabilities that randomly appear on the net? Where do you draw the line? Also, no offence, but paying money to use a feedback form script seems rather ludacris to me. Except if you are really desperate and don't know how to write your own code. ---------- EDITED: ---------- Anyways, after a little work i added both of your suggestions to my script. It only protects against the From field being exploited by "\r", "\n?", "0x0D/%0D", and "%0A". Which means that it isn't 100% secure...but should stop virtually all attempts to use the form to send email to other people instead of (or as well as) the origonal hard coded email adderess. Which means that your feedback form can't be used by a spammer to send out unsollicited emails. I also had it email the spammer/hijacker's IP adderess back to you incase you wish to report them. The new code is something like this: (sendmail.php) CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head></head><body> <table bgcolor="#ffffff" cellpadding="28"><tbody><tr><td>
<?php $passedTests = "yes"; $Hijacked = "no"; $HijackAttempt=$visitormail;
if (eregi("\r",$HijackAttempt) || eregi("\n",$HijackAttempt) || eregi("%0A",$HijackAttempt) || eregi("0x0D/%0D",$HijackAttempt)) { $passedTests = "no"; $Hijacked = "yes";}
if($Hijacked == "yes"){ echo "<font color='red'><h2>Email Header Injection Attempt Detected! Your IP Address has been logged, and will be reported shortly.</h2></font><br />"; $todayis = date("l, F j, Y, g:i a");
$subject = $subject;
$subject2 = "EMAIL HEADER INJECTION ATTEMPT";
$notes = stripcslashes($notes);
$message = " $todayis \n EMAIL HEADER INJECTION ATTEMPT DETECTED from $visitor ($visitormail). \n IP Address = $ip \n Subject: $subject \n Message: $notes \n Browser Info: $httpagent \n"; $from2 = "From: YOURNAME@YOURWEBSITE.COM\r\n";
mail("YOURNAME@YOURWEBSITE.COM", $subject2, $message, $from2); }
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { echo "<h2>The following error(s) were encountered:</h2>"; echo "<font color='red'>*Invalid email address. <br /></font>"; $passedTests = "no"; } if(empty($visitor) || empty($visitormail) || empty($notes )) { if($passedTests == "yes"){ echo "<h2>The following error(s) were encountered:</h2>"; } echo "<font color='red'>*Please fill in ALL of the required fields. <br /></font>"; $passedTests = "no"; }
$todayis = date("l, F j, Y, g:i a");
$subject = $subject;
$subject2 = "Feedback from YOURWEBSITE.COM";
$notes = stripcslashes($notes);
$message = " $todayis \n From: $visitor ($visitormail)\n Subject: $subject \n Message: $notes \n Additional Info : IP = $ip \n Browser Info: $httpagent \n ";
$from = "From: $visitormail\r\n";
if($passedTests == "yes"){ mail("YOURNAME@YOURWEBSITE.COM", $subject2, $message, $from); ?> <p align="center"> <h2>Thankyou for your feedback!</h2> <center>
<br /><table border=0><tr><td> Date: </td> <td><?php echo $todayis ?></td></tr> <tr><td>Name: </td> <td><?php echo $visitor ?> ( <?php echo $visitormail ?> )</td></tr> <tr><td>Subject: </td> <td><?php echo $subject ?></td></tr> <tr><td></td><td></td></tr> <tr><td>Message: </td> <td><?php $notesout = str_replace("\r", "<br/>", $notes); echo $notesout; ?></td></tr></table></center>
</p> <?php } else{ ?> <br /><form method="post" action="sendmail.php">
<?php $ipi = getenv("REMOTE_ADDR"); $httprefi = getenv ("HTTP_REFERER"); $httpagenti = getenv ("HTTP_USER_AGENT"); ?>
<input type="hidden" name="ip" value="<?php echo $ipi ?>" /> <input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /> <input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /> <center> <table border=0<tbody><tr align=left><td> <font color="red">*</font>Name: </td> <td><input type="text" name="visitor" size="51" value="<?php echo $visitor ?>" /></td></tr> <tr align=left><td><font color="red">*</font>Email: </td> <td><input type="text" name="visitormail" size="51" value="<?php echo $visitormail ?>" /></td></tr> <tr align=left><td> Subject: </td> <td><input type="text" name="subject" size="51" value="<?php echo $subject ?>" /></td></tr> <tr align=left><td><font color="red">*</font>Message: </td> <td><textarea name="notes" rows="7" cols="50"><?php echo $notes ?></textarea></td> <tr align=left><td></td><td align="center"><input type="submit" value="Send Mail" /></td></tr></tbody></table></center> </form> <?php }
?> <p> </p> </td></tr></tbody></table></body></html> Once again, Don't forget to change YOURNAME@YOURWEBSITE.COM to your actual email adderess. If you have any other requests/suggestions I'd be happy to attempt to impliment them or help you do it yourself.
Reply
Tyssen
Mar 31 2006, 01:44 AM
Similar Topics
Keywords : php, contact, form
- Perl For Automated Web Form Search
(1)
Vb 2008 Linking To Another Form..
(0) if i want to link another form will i use this code or there is easier one? code : form2.show or
hide : form2.hide is there another code to be used...? thanks....
Application Form [approved]
(2) PRESENT CREDITS : HOSTING CREDITS : 37.65 Forum Username : Dhruv Display Username: Dhruv Email
Address:dhruvin_patel@hotmail.co.uk My request is for: HOSTING PACKAGE 1 Your Registered Domain
Name or Desired Trap17 Subdomain Name: tutorial-linker.trap17.com Introduce Yourself: Your hobbies,
interests, talents, etc. Let the forum know you better. • My name is Dhruvin. Hobbies: Girls, gaming
and computers. I have no talents I'm just a all rounder can do everything if i like biggrin.gif
.Live in United Kingdom. And am a student. Desired Hosting Account Username: 8....
Gahhh This Isn't Going Well Please Help!
It's a forgot password form in php! (12) CODE <? // database connection details stored here include "database.php"; ?>
<!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head>
<title>Thanks!</title> </head> <body bgcolor="#ffffff"
text="#000000"> <? $email=mysql_real_escape_string($email);
$status = "OK"; $msg=""; //error_reporting(E_ERROR | E_PARSE |
E_CORE_ERROR); if (!stristr($email,"@") OR !stristr(....
Help With Form Actions.
(1) CODE <h1>Login</h1> <form action="" method="post">
<table align="left" border="0" cellspacing="0"
cellpadding="3">
<tr><td>Username:</td><td><input type="text"
name="user" maxlength="30"></td></tr>
<tr><td>Password:</td><td><input type="password"
name="pass" maxlength="30"></td></tr> <tr><td
colspan="2" ....
Registration Form?!
Password Issue??? (6) How can I build the registration form with some additional function which is illustrated by attached
file. When a user tries to type a password, that bar thing says neither it's strong nor weak, or
medium. Just take a look at attachment....
Html Form!
Using MySQL?! (4) Hey, I need your help again! I need some good working tutorial how I can update my SQL through
HTML form. I did use some tutorials online found with the help of google; but they do not work
properly; I mean there are still small mistakes. I need to have a good tutorial to follow. It
should be based on security and more things. It has to be done in proper way.......
How To Make Form Nested In Internet Explorer ?
Nested form in IE (2) I want to make a form nested in another form, it's run on Opera and FireFox but it's occur
error in IE How can I make form f2 submit by using javscript ??? (I want to solve this
problem because my website using Ajax upload....
Contact.pl Confusion
(0) Hi, i have some code in my html page which relates to my contact.pl file in my cgi-bin folder. It is
a submit button that is supposed to email directly to me. I got some errors, then changed the
permissions so the contact file could be executed by everyone. Now when i am on the "net" viewing my
site (as if i was an outsider) i get an error and it wont send the email form. My server log error
says "error file is writeable by everyone" what is this about? If i have to enable it to be
executed why would it say this. (it still says this if only read /execute are checke....
Form Not Returning Correct Email Address
(5) I have just noticed another side effect of the recent server migration. On my web site I have a
comment form. After filling in the form the user gets a confirmation email and I get an email to
tell me someone filled in the form, and showing me the data that were filled in. First of all, I
got all emails twice, but I think I managed to fix that in the PHP code. What is worse, though, the
user still gets his/her confirmation and thank you email, but, instead of my email address, the
From: field now gives an aaddress on the server my account is on, ie. the gamma server. D....
Advanced Contact Forum
(0) Okay so people that want a contact form in their website, but keep getting spammed my bots here is
your solution. This script might be a little advanced, but it stops spammers. They way it stop
spammers is that it has a box where you enter the numbers. I think it's called a captcha.
CODE ###################### ##### contact.php #### ###################### <?php
@session_start(); if(isset($_POST['submit'])) {
if(($_POST['security_code'] ==
$_SESSION['security_code']....
Brand New Motherboard Form Factor Coming Out?
a new form factor standard could be upon us (2) So it looks like the ATX form factor is going to to be replaced. The new form factor is called the
BTX. BTX stands for Balanced Technology Extended. Newegg doesn't even carry them yet. The board
is completly square, which simplifies intallation to the case. The BTX has all slotted connections
(PCI, RAM, PCIe, etc.) aligned parallel to each other increasing airflow. Because eveything is
inline, the BTX form factor has the ability for multiple PC componants to share a single fan (cross
flow fans). All I know is I want it. On a side note, the 45nm Manufactoring Tech....
Updating Php File Through A Web Form
(5) Hello, i'm not sure if this can be done with php or not but what i need is a way to make an php
file that have an html form on it and it will take the info you put in to that form and write it to
an existing php file, for example: if i have the file news.php and the file news_update.php. if you
went to news_update.php you would get an form with a text area for you to write a new addition for
the news.php file and when you hit submit it will add what you typed in the form to the file
news.php. If this is going to be a big code or a hard one to make but some one think....
Choosing Colored Contact Lenses
(1) What is the best eye color for asians with brown skins? i want my eyes to look vibrant and very
catchy. I hope you can share some ideas or some experiences about contact lenses. I have pale brown
to gray eyes and I am wearing green contact lenses this moment.....
I Liked This Form Builder
It also uses Ajax (4) www.wufoo.com The form builder is unbelievably easy to use. I made a form in like 20 seconds. The
functionality is good ( though pros could probably make a better form that would suit them, this one
is good for newbies. ) All you have to do is drag and drop some modules and your form is ready.
Now for the cons : You are only allowed to make 3 forms and the limitation of 100 entries per form.
So technically this is not completely free, but it is good if you need a cool looking
form in a jiffy. Its ....
Controlling Differents Keypresses In A Single Form
(0) if there are more than 1 button in a form, how can i control each button by different key presses. i
tried accesskey, but in that we need to press alt+some key for the desired output. i want to control
the buttons with a single key press. how can i do that plz do help me. im working wid j2ee. i want
to create a web application....
Php Ftp Upload Form
Adding User Directory to PHP Upload Form - Help (1) Alright I am trying to have a PHP FTP Upload Form that allows the user to create the directory
folder for where they want to upload there files to. example: Main Directory: vainsoft.com There
directory: vainsoft.com/modeling or vainsoft.com/photography But I dont want them to be able to
upload things into the main directory, only sub-directories, is that possible with this coding that
I have: //uses $_FILES global array //see manual for older PHP version info //This
function will be used to get the extension from the filename function get_extension($fi....
I Have A Great Idea
but how can i contact the company to here my idea? (3) how can i let the company here the idea? if they want it or something? i know companies have
research groups and such but can an outsider suggest something and make it into a product for
example?....
Add A Javascript Feedback Form On Your Web Page
This is how to do it (6) So i was looking for a feedback form in javascript and i couldn't find one so ive made one for
you guys here we go! So this feedback form will ask for name, emails address and their comments
First of all add this code in between the and tags CODE <script
name="JavaScript"> <!-- function SendEmail() { var toaddy =
'name@domain.com'; var subject = 'JS Form Submission'; var mailer =
'mailto:' + toaddy + '?subject=' + subject + '&body=' +
'Name%20is\....
Best Way To Protect Html Form Fields
Looking for suggestions on how to protect form fields during user inpu (3) My working example is here http://sonesay.trap17.com/application.php The form submits to itself
and stores what ever the user inputs into session variables. Thats all fine and I have validation
checks for it, I wanted to add more and I remember comming across a site where they would lock from
fields to prevent any changes if the information was already supplied and validated. I'm looking
to build something similar but cant seem to figure out how to get that same effect at this time.
Heres my program logic so far application.php includes('application_content.....
What Is A Computer Form Factor
(1) As I began my hardware class in school I knew I was going to be learning some new stuff about a
computer that I never really thought about besides the fact I use one. Hopefully what I talk about
in this topic will help people get a better understanding of computer hardware, especially when
might want to build one by scratch. The form factor is used to determine what power supply,
computer cases and motherboards you can use when building a fully customized computer instead of
getting one pre-built; such as Dell, Apple, Sony, and Alienware. There are 6 form factors (in....
Problem With Java Script Popup Form
Doesnt work in Safari (1) This code wont work in Safari, but works fine in Firefox 2. Can someone help. The error pops up
however. It just doesn't do anything unless you dont pick one and then it says Pick a Windows
tweak, but if you DO pick one it doesnt even try to load anything. Everything you see below is
everything inside my PHP Include. If you would like to view my actual site it's
http://boozkerstweaks.trap17.com There might be PHP errors and stuff right now, but i am working on
those, but this i can not get. CODE <td valign="top" class="right">
....
Have Diferences Of Performance Form Ps2 Full Console To Mini-ps2?
(8) Hi. Please if anybody test a mini-ps2. Have diferences of performance form PS2 full console to
mini-ps2? thanks.....
How To Make A Search Form And Php Code?
Can you help please? (10) I am looking to put a whole Bible on my site, don't worry about copyrights, I already have all
that. It will be put into my site book by book. My problem? I need a form that will only search
the /Bible part of my database. I need an html form, and then a php code that can be put into just
ONE file but that will display a search page afterward. If you could help me out here, I would
greatly appreciate it since I will need this in order for it to work. The goal is simple, have an
html form, that will lead to a search of my entire inneed.mxweb.co.uk/bible database....
Loop Through Form
How do you do it? (8) In ASP you'd do this: CODE For Each Field in Request.Form So how do you do it in PHP? I
want to loop through a form, check to see if it has a value and if so, append to a string to send as
the body of my email.....
Form To Php Mail. Attachment
(14) i know there are a few topics talk about attachment problem, but i want to know if anyone could show
me a basic code for attaching files like pictures with the message. I made a html form, and
redirect the information to my mail.php file to process the information and send it to my email. I
want to know what do i have to do to attach files like pictures. I tried to search on google, and
the codes are so complicated (i'm an amateur at this). Would it be possilbe if you could show me
the code and explain to me what it does and how i could customize it to fit my needs?....
Contact Lenses Or Glasses?
Which do you prefer? (70) Hey all! Just thought I'd ask everyone on the forum whether they use (or prefer to use)
contact lenses or glasses. Here's my story - After discovering that I was near-sighted while
taking a visual test for my driver's license, I went to the optometrist and bought my first pair
of glasses. Since then, I've been wearing glasses (and going through several different frames)
for about 15 years until I finally decided to wear soft contact lenses. Certainly, there are pros
and cons to each. Glasses are (overall) less expensive since you only have to repl....
*** Click Here To Get Your Free Hosting ***
Trap17 Free Web Hosting Request Form - FILL OUT THIS FORM (1) Welcome to Trap17 Free Web Hosting. Before you start, read the Trap17 Readme . NOTE:
Trap17 is not like other forums where you can still survive without reading stickies. If you
don't read the Trap17 sticky you will NOT UNDERSTAND how to get hosting. Please take a few
minutes to do that now. Some more info: A NOTE TO NEW MEMBERS (those who haven't yet
participated in our forums) Before you post an application, You must participate in our forum and
collect "Hosting Credits". You earn "Hosting Credits" when you make a post. You should make good
genui....
Php Emailer/contact System
An email or contact system for your site (20) Hello all, Here is an easy Emailer or Contact system that allows visitors or members of your site
to email you just by filling out a form. So here is what you need to do to set it up. First open up
a new page in your text editor and paste in the following code. CODE <?php $Name =
$_POST['Name']; $Subject = $_POST['Subject'];
$Email = $_POST['Email']; $Site =
$_POST['Site']; $Message=$_POST['Message'];
$align = $_POST[....
Free Windowsxp Sp2 Cd From Microsoft
just fill the request form and recive it (12) microsoft offer 100% free windows xp sp2. just go to this link
http://www.microsoft.com/windowsxp/downloa...us/default.mspx and fill your address they will send
you the cd to you. I just recive the cd yesterday. /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> I see new feature like directx 9c , WMP9 ,
firewall , and the one I like is popup blocker! /wink.gif' border='0'
style='vertical-align:middle' alt='wink.gif' /> PS. waiting for the cd about 1-2 week if you
write an exact address.....
Looking for php, contact, form
|
|
Searching Video's for php, contact, form
|
advertisement
|
|