Web Design Forum: PHP contact form - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

PHP contact form fifth -f parameter Rate Topic: -----

#1 User is offline   craigpettit 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 11-September 08
  • Reputation: 0
  • Location:Surrey UK
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 05 August 2009 - 01:31 PM

Hi,

Ok here is my issue,
I have two contact forms, one on my home page, one on my contact page,
my home page form works fine, and to save time i copied the form and placed it onto the contact page...

added a few html fields and built the variables for the php script,

this didnt work?

this script just resets when it is submitted
i have shown my script to several programmers and they have all stated that it should work

so i emailed my host, and the repsonded to me saying that i need to include a "fifth -f parameter"

What is this, is this my root email address??


Some support would be greatly apreciated from the wdf


Cheers
Craig Pettit
0

#2 User is offline   sunwukung 

  • Expert
  • PipPipPipPipPip
  • Group: Validating
  • Posts: 1,150
  • Joined: 28-March 08
  • Reputation: 57
  • Gender:Male
  • Location:Bristol
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 06 August 2009 - 12:00 PM

We'll need to see the scripts to be able to diagnose the problem - can you post them?
0

#3 User is offline   AJReading 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 182
  • Joined: 02-July 07
  • Reputation: 2
  • Gender:Male
  • Location:York
  • Experience:Advanced
  • Area of Expertise:Coder

Posted 08 August 2009 - 11:41 AM

I'm guessing you may be using Fasthosts?

Fasthosts require this 5th parameter, without it, emails will not send. Anyway this is what they mean:

mail($emailTo, $emailTitle, $emailBody, $emailHeaders, '-fuser@yourdomain.com')


Swap with your real domain name ofcourse!

Let me know how you get on.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users