The WorksForWeb Community Forums
Welcome to the WorksForWeb community forums. Here you can discuss WorksForWeb products with others and contribute to the rapidly growing WorksForWeb community. Please note that while WorksForWeb staff try to maintain presence on the forums, this is not the most reliable way to contact WorksForWeb staff. In case you require a timely response from WorksForWeb on an issue, please open a support ticket here. For pre-sales questions, please open a sales ticket here.

Welcome, Guest. Please login or register.
May 21, 2012, 09:10:20 PM

Login with username, password and session length
Search:     Advanced search
Added the iLister-related Boards

Rate My Site Boards Added

Merged iAuto and iRealty Support Forums together

Several new tips in the Tips and Tricks section
1,604 Posts in 625 Topics by 1,179 Members
Latest Member: bobsteam
* Home Help Search Login Register
+  The iAuto/iRealty/iLister Support Forum
|-+  iAuto and iRealty v.2.x - 3.x
| |-+  General iAuto Discussions
| | |-+  Help on creating Contact Form
« previous next »
Pages: [1] Print
Author Topic: Help on creating Contact Form  (Read 1269 times)
SelRealtor
Newbie
*

Karma: 0
Posts: 6


View Profile
« on: August 24, 2007, 05:18:08 PM »

Hello,

I am trying to create a contact form on my page, made all the necessary integration, but it does not give a good result.

I used the php code bellow:
___________________________________________________________________
<?
   $name = $_REQUEST['name'] ;
   $email = $_REQUEST['email'] ;
   $product = $_REQUEST['product'] ;
   $message = $_REQUEST['message'] ;
   
   if (!isset($_REQUEST['email'])) {
      header( "Location: http://www.seltrading.com/contact/" ) ;
   }
   elseif (empty($email) || empty($message)) {
      header( "Location: http://www.seltrading.com/form_error/" ) ;
   }
   else {

   mail( "info@seltrading.com", "SelTrading Realty Customer Feed back",
       "Name: $name\nemail: $email\nproduct: $product\nmessage: $message",
       "From: $name <$email>" ) ;
   header( "Location: http://www.seltrading.com/thank_you/" ) ;
   }
?>

____________________________________________________________________________________________
The above code works on other sites I have created.
You can see it by going to:
http://www.soulinluv.com/index.php?page=to_contact_us

Can somebody suggest the right way?

Bellow is my page:

www.seltrading.com
http://www.seltrading.com/contact/


Thanks in advance
MG
Logged
SelRealtor
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #1 on: August 25, 2007, 01:51:42 AM »

Hello,

My bad.

It was my mistake.
I missed to add some code into my form.

Thanks anyway
SelRealtor
www.seltrading.com
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Classified Software by Worksforweb Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!