PHP Contact forum ! - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming > PHP » PHP Contact forum !


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-21-2006   #1 (permalink)
Decent-lord
Member
 
Join Date: Jul 2006
Age: 19
Posts: 32
Default PHP Contact forum !

hello well here i am to tell you that i had just got how to make Contact page with php.so you should also try it.


Quote:
<?php
if(isset($hidden)){
if(!isset($from) or !isset($subject) or !isset($message)) {
echo("Your message couldn't be sent, because one or more fields weren't complete.");
} else {
$to = "your email@hotmail.com";
$from = "$from";
$subject = "$subject";
$message = "$message";
mail($to, $subject, $message,"From: $from");
echo("Your message was sent.");
}
}
?>
<form action="<?=$file_location;?>" method="post">
<input type="hidden" name="hidden" value="true">
<table>
<tr><td>From:</td><td><input type="text" name="from" value="" size="40"></td></tr>
<tr><td>Subject:</td><td><input type="text" name="subject" value="" size="40"></td></tr>
<tr><td>Message:</td><td><textarea name="message" cols="60" rows="10"></textarea></td></tr>
<tr><td colspan="2" align="right"><input type="submit" style="font-weight: bold" value="Send"></td></tr>
</table>
</form>
copy this code to note pad and save the file as (.HTML) and open

Thanks.
Decent-lord is offline   Reply With Quote


Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum posters long term. And forum posters only a few posts. Webmasters forum aaron Services 1 09-14-2006 02:37 PM


footer left
All times are GMT. The time now is 09:26 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Car Credit | Property in Spain | Debt Consolidation | Auto Loans | Free Ringtones

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49