Be Excellent To Each Other

And, you know, party on. Dude.

All times are UTC [ DST ]




Reply to topic  [ 52 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Contact form / PHP
PostPosted: Mon May 15, 2017 11:35 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Hi Nerds!

I'm helping a mate out with a website and told him he'd be better off with a contact form rather than just his email address on the site.

Only needs a few simple fields on his site like 'Name' 'Email address' 'Type info here' and a PHP file to handle it on the server and email it to him. I'm just trying to find something that's straightforward and secure.

Can anyone point me in the right direction please x

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 11:38 
User avatar
Bad Girl

Joined: 20th Apr, 2008
Posts: 14422
If it's Wordpress then there's an add-in called "contact form" which'll do that.

Check me out using my internet knowledge. No need for any other replies guys and gals I've sorted it. Lock up the thread. Ta.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 11:52 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
No.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 11:53 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55719
Location: California
I've always used this CGI/Perl one and it's never let me down:

http://www.scriptarchive.com/formmail.html

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 11:54 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Cheers, I'll take a look at that one.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 11:59 
User avatar
Bad Girl

Joined: 20th Apr, 2008
Posts: 14422
Zardoz wrote:
No.


You're shit.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 12:14 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Get back to your gun thread, freak!

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 12:15 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49250
I think Jem has one she wrote/maintains

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 12:16 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49250
Also Jesus Christ a Perl CGI script?!

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 12:17 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55719
Location: California
Cras wrote:
Also Jesus Christ a Perl CGI script?!

Yeah, it's great! About 20 years old but still works just fine. Last updated 8 years ago ;)

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 12:19 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49250
Cras wrote:
I think Jem has one she wrote/maintains


http://jemturner.co.uk/2016/jems-mail-f ... elaunched/

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 12:27 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Fuck you Myp.

Thanks Cras!

And Jem!

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 13:08 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55719
Location: California
Loser

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 14:10 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Butt out, Gramps. I'm hanging out with the cool kids now.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Thu May 25, 2017 11:49 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
Cras wrote:
I think Jem has one she wrote/maintains

Thanks for thinking of me dude :luv:

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Fri May 26, 2017 14:10 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
I've broke it.

"Parse error: syntax error, unexpected '@' in /home2/overtone/public_html/contact.php on line 4"

The @ is in the email address so I'm not sure how to get round that.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Fri May 26, 2017 14:19 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
At a guess you accidentally removed the " " from around the email address but if you past that line here or send me a DM/email I'll be able to help better :)

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Fri May 26, 2017 14:36 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69756
Location: Your Mum
Or it's on line 4 because they're suppressing any errors.

If there is an @ in that file (just open it with a text editor to see) then take it out.

[edit] Didn't realise we knew which one it was :)

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Fri May 26, 2017 14:55 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Jem wrote:
At a guess you accidentally removed the " " from around the email address but if you past that line here or send me a DM/email I'll be able to help better :)

Thanks Jem. Can't get to it from here but I'll take a look later and see if that's the problem.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Sat May 27, 2017 13:55 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Sussed it Jem, curly fucking quotes that text edit added!

Thanks for the script!

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:15 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
So... Yahoo doesn't like PHP mailing scripts.

My mate only has Yahoo email accounts...

Looks like there's no quick fix for this other than get him to set up another email elsewhere.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:17 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69756
Location: Your Mum
Zardoz wrote:
So... Yahoo doesn't like PHP mailing scripts.

I can assure you it does.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:20 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69756
Location: Your Mum
Or at least I hope I does. I've sent 29,000 emails to it so far today.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:24 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69756
Location: Your Mum
*tappity tap*

17 didn't get through. That's actually really good. 14 got marked as spam, the cunts.

1,865 of them got deferred (which means they wait a bit and they deliver again), but that shouldn't be a problem you're seeing.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:24 
User avatar
Unpossible!

Joined: 27th Jun, 2008
Posts: 38697
Grim... wrote:
Or at least I hope I does. I've sent 29,000 emails to it so far today.

Giphy "fingers crossed":
https://media.giphy.com/media/l0NwNrl4BtDD7JCx2/giphy-loop.mp4


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:47 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Skrpt plz Grm...

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:49 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
Grim... wrote:
Or at least I hope I does. I've sent 29,000 emails to it so far today.


Damn. MeatUp Festival 2017 is gonna be a big one.

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 10:57 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69756
Location: Your Mum
Zardoz wrote:
Skrpt plz Grm...

Could be a lot of things. The first thing I'd like to blame is your SPF records. Where's the form (you can PM me it if you need to), and who does it say it's from when it arrives?

Make sure he's putting his email address in right (obv), make sure there's nothing in his email settings that are getting rid of it, and - if you have access to your server's terminal - try taking a look at your mail logs to see if it got accepted.

You can probably do that by typing:
Code:
grep [his email address] /var/log/mail.log

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 11:06 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
Try either/both of these:
http://jemsmailform.com/help-how-to/im- ... l-account/
http://jemsmailform.com/help-how-to/im- ... l-account/

(Previous yahoo users have had success with one of those fixes but I can't remember which.)

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 11:07 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Cheers Grim, can't get to it here to show you though.*

I'll take another look tonight if I can get chance. I've read a few things that have half sank in (authenticating the sender with SMTP gubbins and other such stuff)

I tried using a new email account from where his site is hosted and then set up forwarding to his yahoo account but still no joy. Script works fine when I tested it with my ...talktalk.net email address.

*It's Jem's script though as mentioned above.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 11:08 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Thanks Jem! I'll try those tonight.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 11:28 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69756
Location: Your Mum
Zardoz wrote:
Cheers Grim, can't get to it here to show you though.

I don't want to see it - I want to know the domain name it's hosted on and who it says it's from when the email arrives.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 15:51 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
UPDATE:

He's made himself a gmail account.

:DD

Hopefully this will do the trick...

Thanks for hints / tips / advice (and not calling me a Belmer) so far though folks.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 15:52 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Also:
Grim... wrote:
I don't want to see it - I want to know the domain name it's hosted on

Title

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 16:12 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
You'll likely still need to follow the instructions on the first 'how to' link I posted.

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 16:20 
User avatar
UltraMod

Joined: 27th Mar, 2008
Posts: 55719
Location: California
Perl wouldn't have let you down like this.

_________________
I am currently under construction.
Thank you for your patience.


Image


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 16:25 
User avatar
Heavy Metal Tough Guy

Joined: 31st Mar, 2008
Posts: 6620
TOO DAMN RIGHT.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 16:26 
User avatar
EvilTrousers

Joined: 30th Mar, 2008
Posts: 3073
Lonewolves wrote:
Perl wouldn't have let you down like this.


True Dat.

Attachment:
perl.jpg


You do not have the required permissions to view the files attached to this post.

_________________
Everyone but Zardoz is better than me at videogames.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 16:43 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
Lonewolves wrote:
Perl wouldn't have let you down like this.


I have thousands of users who manage to get it working without issue so I don't think the language is the problem here. :DD

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 16:59 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Jem wrote:
You'll likely still need to follow the instructions on the first 'how to' link I posted.

Thanks, Jem. Will do.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 17:00 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Jem wrote:
Lonewolves wrote:
Perl wouldn't have let you down like this.


I have thousands of users who manage to get it working without issue so I don't think the language is the problem here. :DD

Are... are you cyber bullying me? :'(

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed May 31, 2017 17:14 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
Zardoz wrote:
Jem wrote:
Lonewolves wrote:
Perl wouldn't have let you down like this.


I have thousands of users who manage to get it working without issue so I don't think the language is the problem here. :DD

Are... are you cyber bullying me? :'(


:DD :kiss: no

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 11:37 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Hello!

Is there an way to add attachments to the form?

Or would I be better using something else now?

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 12:40 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
Not at the minute. It's been on my todo list for about 3 years. :S

How urgently do you need it? I can plot it in for this weekend if you can wait? Will be a good kick up the butt to get some work done on it.

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 12:40 
User avatar

Joined: 30th Mar, 2008
Posts: 14408
Location: Shropshire, UK
Can you sort out a Reply-All button for here as well? Lost count of how long that's been on my to-do list.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 12:47 
Awesome
User avatar
Yes

Joined: 6th Apr, 2008
Posts: 12342
GazChap wrote:
Can you sort out a Reply-All button for here as well? Lost count of how long that's been on my to-do list.

Tick it off.

_________________
Always proof read carefully in case you any words out


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 12:50 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
GazChap wrote:
Can you sort out a Reply-All button for here as well? Lost count of how long that's been on my to-do list.

You know my hourly rate, right?

_________________
i make websites


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 12:56 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69756
Location: Your Mum
I mean, I did it years ago.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 14:16 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49390
Location: Standing on your mother's Porsche
Jem wrote:
Not at the minute. It's been on my todo list for about 3 years. :S

How urgently do you need it? I can plot it in for this weekend if you can wait? Will be a good kick up the butt to get some work done on it.

It's EXTREMELY URGENT!!!

ZOMG Spoiler! Click here to view!
Anytime would be great, really appreciate it. I'm terrible with this stuff. :luv:

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Wed Jul 05, 2017 14:18 
User avatar
sneering elitist

Joined: 25th May, 2014
Posts: 4088
Location: Broseley
Will see what I can do :)

_________________
i make websites


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 52 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Columbo, Vogons and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search within this thread:
You are using the 'Ted' forum. Bill doesn't really exist any more. Bogus!
Want to help out with the hosting / advertising costs? That's very nice of you.
Are you on a mobile phone? Try http://beex.co.uk/m/
RIP, Owen. RIP, MrC. RIP, Dimmers.

Powered by a very Grim... version of phpBB © 2000, 2002, 2005, 2007 phpBB Group.