Be Excellent To Each Other

And, you know, party on. Dude.
It is currently Mon Jul 24, 2017 1:40

All times are UTC [ DST ]




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

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
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

_________________
Flickr Behance Discogs

'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: 10262
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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
No.

_________________
Flickr Behance Discogs

'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
Lupine member

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

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


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

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
Cheers, I'll take a look at that one.

_________________
Flickr Behance Discogs

'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: 10262
Zardoz wrote:
No.


You're shit.


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

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
Get back to your gun thread, freak!

_________________
Flickr Behance Discogs

'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
Everybodys gilf

Joined: 30th Mar, 2008
Posts: 44921
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
Everybodys gilf

Joined: 30th Mar, 2008
Posts: 44921
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
Lupine member

Joined: 27th Mar, 2008
Posts: 47993
Location: Nottingham
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 ;)


Top
 Profile  
 
 Post subject: Re: Contact form / PHP
PostPosted: Mon May 15, 2017 12:19 
SupaMod
User avatar
Everybodys gilf

Joined: 30th Mar, 2008
Posts: 44921
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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
Fuck you Myp.

Thanks Cras!

And Jem!

_________________
Flickr Behance Discogs

'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
Lupine member

Joined: 27th Mar, 2008
Posts: 47993
Location: Nottingham
Loser


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

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
Butt out, Gramps. I'm hanging out with the cool kids now.

_________________
Flickr Behance Discogs

'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
:3

Joined: 25th May, 2014
Posts: 1545
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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
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.

_________________
Flickr Behance Discogs

'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
:3

Joined: 25th May, 2014
Posts: 1545
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: 61573
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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
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.

_________________
Flickr Behance Discogs

'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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
Sussed it Jem, curly fucking quotes that text edit added!

Thanks for the script!

_________________
Flickr Behance Discogs

'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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
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.

_________________
Flickr Behance Discogs

'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: 61573
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: 61573
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: 61573
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
I'm a computery guy!

Joined: 27th Jun, 2008
Posts: 31531
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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
Skrpt plz Grm...

_________________
Flickr Behance Discogs

'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: 9499
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: 61573
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
:3

Joined: 25th May, 2014
Posts: 1545
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
Lord Humongous

Joined: 27th Mar, 2008
Posts: 42084
Location: The erogenous zone
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.

_________________
Flickr Behance Discogs

'Not without talent but dragged down by bass turgidity'


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Columbo, Pod People, 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.

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