Click here to Skip to main content
15,924,195 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How to call instiantiate a class that has only initialization code Pin
Karthikeyan_A14-Jun-06 6:04
Karthikeyan_A14-Jun-06 6:04 
AnswerRe: How to call instiantiate a class that has only initialization code Pin
mr_lasseter14-Jun-06 6:25
mr_lasseter14-Jun-06 6:25 
GeneralRe: How to call instiantiate a class that has only initialization code Pin
Karthikeyan_A14-Jun-06 14:26
Karthikeyan_A14-Jun-06 14:26 
AnswerRe: How to call instiantiate a class that has only initialization code [modified] Pin
mr_lasseter15-Jun-06 5:15
mr_lasseter15-Jun-06 5:15 
QuestionHandling <img> tag Pin
jaymacher13-Jun-06 1:08
jaymacher13-Jun-06 1:08 
Questioncombo box drop down length Pin
Shajeel12-Jun-06 23:47
Shajeel12-Jun-06 23:47 
AnswerRe: combo box drop down length Pin
Vasudevan Deepak Kumar16-Jun-06 1:48
Vasudevan Deepak Kumar16-Jun-06 1:48 
Questionphp form email issue Pin
JackIsMe77712-Jun-06 22:47
JackIsMe77712-Jun-06 22:47 
I'm trying to send some form variable to my email address, however it doesn't work and I can't seem to figure out why.

Any help would be appreciated. Thanks!

<?php
if ($_POST) {
$FirstName = $_POST['firstname'];
$LastName = $_POST['lastname'];
$PhoneNumber = $_POST['phonenumber'];
$Email = $_POST['email'];
$City = $_POST['city'];
$State = $_POST['state'];
$Zip = $_POST['zip'];
$QuestComment = $_POST['questcomment'];
$to = "myemail@mysite.com";
$subject = "Question/Comment website user";
$message =
'First Name:'.$FirstName . "\r\n" .
'Last Name:'.$Last Name . "\r\n" .
'Phone Number:'.$PhoneNumber . "\r\n" .
'Email Address:'.$Email . "\r\n" .
'City:'.$City . "\r\n" .
'State:'.$State . "\r\n" .
'Zip:'.$Zip . "\r\n" .
'Question or Comment:'.$QuestComment . "\r\n";
}

else {
die ('You can't submit an empty form?');
}

$headers = 'From: ' . $Email . "\r\n";

mail ($to, $subject, $message, $headers);
?>
AnswerRe: php form email issue Pin
Graham Nimbley14-Jun-06 10:13
Graham Nimbley14-Jun-06 10:13 
AnswerRe: php form email issue Pin
CWIZO14-Jun-06 10:14
CWIZO14-Jun-06 10:14 
Questiona javascipt qustion Pin
Xiaoming Qian12-Jun-06 21:39
Xiaoming Qian12-Jun-06 21:39 
AnswerRe: a javascipt qustion Pin
Guffa12-Jun-06 23:29
Guffa12-Jun-06 23:29 
Questiondisable an HTML textbox Pin
coolpali_girl12-Jun-06 20:41
coolpali_girl12-Jun-06 20:41 
AnswerRe: disable an HTML textbox Pin
vivek-g12-Jun-06 21:42
vivek-g12-Jun-06 21:42 
GeneralRe: disable an HTML textbox Pin
coolpali_girl12-Jun-06 22:55
coolpali_girl12-Jun-06 22:55 
GeneralRe: disable an HTML textbox Pin
Vasudevan Deepak Kumar16-Jun-06 3:19
Vasudevan Deepak Kumar16-Jun-06 3:19 
QuestionCSS link problems Pin
JackIsMe77712-Jun-06 12:55
JackIsMe77712-Jun-06 12:55 
AnswerRe: CSS link problems Pin
Guffa12-Jun-06 19:06
Guffa12-Jun-06 19:06 
AnswerRe: CSS link problems Pin
JackIsMe77712-Jun-06 22:40
JackIsMe77712-Jun-06 22:40 
QuestionIs Inheritance of class possible in VBScript? Pin
Karthikeyan_A12-Jun-06 12:01
Karthikeyan_A12-Jun-06 12:01 
AnswerRe: Is Inheritance of class possible in VBScript? Pin
Guffa12-Jun-06 19:13
Guffa12-Jun-06 19:13 
Questionxml and netscape 6.2 Pin
ritu432112-Jun-06 0:49
ritu432112-Jun-06 0:49 
Questionhow to add to fields from a access database to a list box using asp code Pin
bobolov11-Jun-06 23:33
bobolov11-Jun-06 23:33 
AnswerRe: how to add to fields from a access database to a list box using asp code Pin
Paddy Boyd12-Jun-06 2:02
Paddy Boyd12-Jun-06 2:02 
Questionits still doesnt work same error message.. [modified] Pin
bobolov12-Jun-06 18:46
bobolov12-Jun-06 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.