cant you get one off cutandpastescripts.com and edit it? or

cant you get one off cutandpastescripts.com and edit it? or
EDTALKING
Hmmm.... i want to try a ASP onenever had one of them before cos my server handles ASP
![]()
Never argue with an idiot, he'll drag you down to his level, and beat you with experience.
And 15 mins later...Originally Posted by Recursion
*oh trust me
*I would NEVER go ATi
Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
*ordered.
Snoop i am actually good with Htmli can make a jobs form i made them for my site they include; sending to email addresses ([email protected]) Redirect after send AND field Validation, Interested?
From what I ever learnt of ASP it is really difficult and to be honest I would suggest using a secure PHP form.
http://www.chrishardy.co.uk/asp/tuto...ail-cdosys.asp
Thats a tutorial for using a form with CDOSYS
I'm extremely critical and mean..
but i have a Linux server Ill Use PHP thenso can someone find one +rep if you do
![]()
Never argue with an idiot, he'll drag you down to his level, and beat you with experience.
And 15 mins later...Originally Posted by Recursion
*oh trust me
*I would NEVER go ATi
Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
*ordered.
I'm actually guessing that you know the HTML for the form so heres some basic PHP for it you will have to set the variables yourself.
Edit:PHP Code:<?php
// Subject
$subject ="$subject";
// Details
$message="$detail";
// Mail of sender
$mail_from="$customer_mail";
// From
$header="from: $name <$mail_from>";
// Enter your email address
$to ='[email protected]';
$send_contact=mail($to,$subject,$message,$header);
// Check, if message sent to your email
// display message "We've recived your information"
if($send_contact){
echo "We've recived your contact information";
}
else {
echo "ERROR";
}
?>
Theres the HTML as asked. All credit goes to P2L for this by the way.HTML Code:<form name="form1" method="post" action="send_contact.php"> <table width="100%" border="0" cellspacing="1" cellpadding="3"> <tr> <td width="16%">Subject</td> <td width="2%">:</td> <td width="82%"><input name="subject" type="text" id="subject" size="50"></td> </tr> <tr> <td>Detail</td> <td>:</td> <td><textarea name="detail" cols="50" rows="4" id="detail"></textarea></td> </tr> <tr> <td>Name</td> <td>:</td> <td><input name="name" type="text" id="name" size="50"></td> </tr> <tr> <td>Email</td> <td>:</td> <td><input name="customer_mail" type="text" id="customer_mail" size="50"></td> </tr> <tr> <td> </td> <td> </td> <td><input type="submit" name="Submit" value="Submit"> <input type="reset" name="Submit2" value="Reset"></td> </tr> </table> </form>
Last edited by Raremandan; 12-03-2006 at 05:33 PM.
I'm extremely critical and mean..
Can you create the HTML form please im feeling lazy today :s dunno whyOriginally Posted by Raremandan
I'm actually guessing that you know the HTML for the form so heres some basic PHP for it you will have to set the variables yourself.
PHP Code:<?php
// Subject
$subject ="$subject";
// Details
$message="$detail";
// Mail of sender
$mail_from="$customer_mail";
// From
$header="from: $name <$mail_from>";
// Enter your email address
$to ='[email protected]';
$send_contact=mail($to,$subject,$message,$header);
// Check, if message sent to your email
// display message "We've recived your information"
if($send_contact){
echo "We've recived your contact information";
}
else {
echo "ERROR";
}
?>
Last edited by Flisker; 12-03-2006 at 05:32 PM.
Never argue with an idiot, he'll drag you down to his level, and beat you with experience.
And 15 mins later...Originally Posted by Recursion
*oh trust me
*I would NEVER go ATi
Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
*ordered.
snoop i can make a HTml form. started it but i need you to verify the email address do this as soon as you can please.
he put the email on the first pageOriginally Posted by chris2k6
snoop i can make a HTml form. started it but i need you to verify the email address do this as soon as you can please.
Want to hide these adverts? Register an account for free!