Thread: PHP Form Mail Problem
Results 16 to 30 of 31
Related
-
Please Help Me - CGI Mail Form Forum: CGI Perl Forum
Replies: 1 -
Help, form mail Forum: PHP Forum
Replies: 0 -
mail form birthdate Forum: PHP Forum
Replies: 1 -
E-mail to a friend Form Forum: HTML Forum
Replies: 5
-
10-10-2005, 10:33 PM #16
Re: PHP Form Mail Problem
Could one of you now make the part where I put my email and such? The old one doesn't work with the coding changes made. But after I cahnge that b2tag/tagb2 it worked but had no email to send to.
Here are the working files, just need the send adress stuff.
-
10-10-2005, 10:36 PM #17
Re: PHP Form Mail Problem
Opssies forgot to hit reply at the bottom. The forums wont let me upload!?! There we go.
-
10-10-2005, 11:04 PM #18
Re: PHP Form Mail Problem
Code:if ($_POST['name']=="" || $_POST['age']=="" || $_POST['gender']=="" || $_POST['email']=="" || $_POST['instamsger']=="" || $_POST['ftp']==""|| $_POST['site']==""|| $_POST['username']==""|| $_POST['password']==""|| $_POST['geckos']==""|| $_POST['b2tag']=="" || $_POST['questions']=="") { echo "Blank submission or you didn't fill in some fields. Go back."; }else { // Send the message $ok = @mail("toemailaddress", "yoursubject", "yourmessage", "From: $email"); if ($ok) { echo "Thanks, your email has been sent. I will get back to you as soon as possible"; } else { echo "<p>Mail could not be sent. Sorry!</p>"; } }
-
10-11-2005, 01:48 AM #19
Re: PHP Form Mail Problem
I added that and It came up with this error "Parse error: parse error, unexpected $ in /home/frozenb/public_html/formmailhosting.php on line 44" The line it is complaining about is the ?> after the php include.
-
10-11-2005, 06:16 AM #20
Re: PHP Form Mail Problem
Your problem is in footer.php. See if you can spot the mistake first, then post the file here if you can't.
-
10-11-2005, 08:43 PM #21
Re: PHP Form Mail Problem
^^ Thanks for your help thus far ^^
-
10-11-2005, 09:15 PM #22
Re: PHP Form Mail Problem
I don't know if the following statement is necessarily incorrect:
Code:<?php include("http://frozen-gecko.net/current/current.php"); ?>
Code:<?php include "/current/current.php"; ?>
-
10-11-2005, 10:31 PM #23
-
10-11-2005, 10:54 PM #24
Re: PHP Form Mail Problem
Could you attach your whole script as it is right now? Feel free to mask email addresses (wouldn't want that to get in the hands of spammers). Just use something like email@mysite.net instead but leave the rest of the script as is. Don't forget to attach all the files. Thanks.
We will get this working!
-
10-12-2005, 01:08 PM #25
Re: PHP Form Mail Problem
admin note: I removed the script for your protection. since it is an entire script you would be bound to see it on other sites.
If you would like you can either email it...or if you do not care(and you own the copyright) you may repost it.Last edited by HTML; 10-12-2005 at 02:28 PM.
-
10-12-2005, 03:04 PM #26
Re: PHP Form Mail Problem
try zipping it then attaching it... i doubt many other people other than ourselfs will look at it then!
just a seggestion,
-ALL
-
10-12-2005, 03:31 PM #27
-
10-12-2005, 08:01 PM #28
Re: PHP Form Mail Problem
Find the following line in formmailhosting:
Code:"From: $email");
Code:"From: $email"); }
Code:$name = $_POST['name'];
-
10-12-2005, 11:21 PM #29
Re: PHP Form Mail Problem
It works!!! Thanks for all your help!!!
-
10-12-2005, 11:37 PM #30
Re: PHP Form Mail Problem
i told you it would be something simple!!!
what is more simple than a missed "}"?
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum