User Profile
Collapse
-
where would I assign these variables in the code above?Code:$headers = 'From: ' . $name . '<' . $email . '>' . "\r\n" . 'Reply-To: ' . $ve . "\r\n" . 'X-Mailer: PHP/' . phpversion(); echo $name; echo $email;
Confused...Code:$subject_user = "Thank you."; $message_user = "We have received your email. We will be contacting you soon.";
Leave a comment:
-
I do apologize for asking so many questions. I do really appreciate the help. I just want to make sure I am doing this correctly. So I can save it for a template. Here is what I did, and this time I get no email, but I did assign the variables and the names. Usually this would work, I just can't grip what is wrong this time. Here is my code.
...Code:$from = "From: $ve\r\n"; mail("brandon@dedikateddesign.com",Leave a comment:
-
Autumns you were right Sir, I just didn't add it. It was my fault, not yours. But now I have another issue, can you direct it so it doesn't go to spam? OR is that impossible? Also it's saying its not coming from the right email address in the users :from, on their email address. It gives a weird address. Can you edit that, so you can state what email it is coming from?Leave a comment:
-
Ok great, It worked. JKing is there a way to send it and not make it go to the junk folder? Or does that automatically do that depending on the users email application? Also it is saying its coming from a weird email address. Is there a way to assign a certain email address in the form, so the users will see its from that specific email? Example: Sean@mysite.comLeave a comment:
-
Code:$subject_user = "Thanks for your email!"; $message_user = "We have received your email. We will be contacting you soon."; mail($vis, $subject_user, $message_user, $headers_user);
Leave a comment:
-
Ok, the form didn't give me any errors when adding the headers mail function. But for some reason, when testing it, I didn't get the email from the form. Why could this be?Leave a comment:
-
Parse error: syntax error, unexpected ')' in /home/bw6082/public_html/sendeail.php on line 129Leave a comment:
-
...Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled</title> <style type="text/css"> .centereddiv
Leave a comment:
-
Or perhaps I need it to read
mail($vis_user, $subject_user, $message_user,) ;
$subject_user = "Thanks for your email!";
$message_user = "We have received your email. We will be contacting you soon.";Leave a comment:
-
-
Do i need it the " in-between the variable names.
mail($to_vis, $subject_user, $message_user,) ;
this is what I have, $vis is my customers nameLeave a comment:
-
-
Sean Watkins started a topic Need an Email Form that automatically Emails the user a confirmation Email?in PHPNeed an Email Form that automatically Emails the user a confirmation Email?
I have a form on my site that sends the form information directly to an email of mine. What I am wondering is the script that I would need to send a email back to the user who filled out my form, that would state something along the lines of "your Email was received. We will get back to you as soon as possible. I know this can be done, I have seen many sites that do it. I really like and I want to have it on my form. If you guys could please... -
-
Ok, how would I set the permissions to work? I didn't get that error either. But when I attempt to upload an image, it just doesn't appear in the folder I named "upload" on my server. Reason I created a folder named upload was because thats where W3's code defaulted to, thought it would make things easier. They link directly to /upload. I tried both to direct link to /upload and to http://www.mywebsite.com/upload, for some reason both...Leave a comment:
-
Sean Watkins replied to What is the code to add a default subject to a Email contact/orderform in PHP?in PHPAtumnsDecay, perhaps you can help me with this question I have here http://bytes.com/topic/php/answers/9...re-server-formLeave a comment:
-
How to setup a Browse to Upload a Picture filed in a form?
I want to place a browse... to upload a picture form on my website. I got everything I need from here
http://www.w3schools.com/php/php_file_upload.asp
But I am having problem with the upload process. I have placed all three pages necessary on my server. Even named a folder "upload" within the server. But when I upload and run the test the file doesn't get uploaded correctly to my server. No image is in...Last edited by Niheel; Jan 8 '11, 10:24 AM. Reason: You should always include your code and all relevant details in your question so Experts don't have to request it. -
Sean Watkins started a topic What is the code to add a default subject to a Email contact/orderform in PHP?in PHPWhat is the code to add a default subject to a Email contact/orderform in PHP?
Hey guys,
New challenge I am trying. I have a Order Form for a website. All the information emails directly to me correctly. The only problem I am having is the subject line of that email is (no subject). What would I need to put in the PHP script to have a default email subject.
Example: Website Customer
Would I just use $subject=
The form is located at http://www.penciledmem ories....
No activity results to display
Show More
Leave a comment: