Google Community Chat
 
Need Help

You're visiting Google Community as a guest.
In order to post, you'll need to register and log in.



(If you were registered and logged in, these advertisements wouldn't be here)
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum
   
Author Message
sensid
Noogle
Noogle


Joined: 14 Jul 2006
Location: pakistan,karachi
102.00 GC$

Items

PostPosted: Fri Jul 28, 2006 9:42 am    Post subject: Need Help Reply with quote
Hi my name is sid and i m a student i m working on html nowdayz because i m a student of I.T i m here to get some help if any one help me i vill appriciated that i m having following difficulties....
 
i have created a page for information collecting and uploaded on the web
now i gave a link to my friend and he fill out the form
but the error in this information page is it cannot email me the information my friend
submited for me
can any one tell me iz there any kind of form available where i can just copy the form link
and paste it on to my page and then data submittied to my email address
 
i need a form that read my page data and submitted to my email address autometically
plz help i need to make this assignment as quickly as possible ... any kind of help vill be appriciated
email me plz at sensitive_sid@hotmail.com thankz! 

_________________
hey!
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger Google Talk
mondine
Site Admin


Joined: 15 Sep 2005
Location: Vancouver, BC.
171655.40 GC$

Items

PostPosted: Fri Jul 28, 2006 2:54 pm    Post subject: Reply with quote
Sorry, I don't have an answer for you. But you'd probably have better luck in
the Web Design forum (rather than Creative Writing).
Let's try moving this up there.
_________________
Back to top
View user's profile Send private message Visit poster's website Google Talk
andrew247
Feel the Power
Google Guru


Joined: 18 Oct 2005
Location: c:\GoogleCommunity
88888.75 GC$

Items

PostPosted: Sat Jul 29, 2006 3:54 am    Post subject: Reply with quote
You're probably looking for a server side language like PHP.

First, you need a form on the webpage.
For example:
Code:

<form method="POST" action="contact.php">


<p>Your Email Address:<br />
<input type="text" name="email">
<br />Input:<br />
<Input type="text" name = "input">
<br /><input type="submit" name="submit" value="Submit">
</form>


Then you could use a PHP form to process the data:
Code:

<?php
/* contact.php */


/* change the following to suit your needs. */

//The email address that will appear in the "From" header
$EmailFrom = "you@yourdomain.com";

// Who to send the email to
$EmailTo = "whereveryouwant@you.com";

// Subject of email message
$Subject = "Information input from form";


$email = Trim(stripslashes($_POST['email']));
$input = Trim(stripslashes($_POST['input']));


// validation
$validationOK=true;
if (!$validationOK) {
  print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
  exit;
}

$Body = "";
$Body .= "Email address: ";
$Body .= $email;
$Body .= "\n";
$Body .= "Input: ";
$Body .= $input;
$Body .= "\n";

$success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>");

if ($success){
  print "<meta http-equiv=\"refresh\" content=\"0;URL=done.html\">";
}
else{
  print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
}
?>



You'll need to upload done.html, error.html, and contact.php
_________________
Football Rumours | Gloog
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Google Talk
Sponsored Links
Posted: 29 Aug 2008 5:15 pm    Post subject: Advertisements
Back to top
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Host your free forums with Invision Plus.net forum web hosting with your own subdomain.

alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden

© 2005-2006 Google Community

Powered by phpBB

Privacy Policy | Contact Us

Powered by Google Search blog

This website is not affiliated in any way with Google, Inc.
Google™ is a registered trademark of Google, Inc.