Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-18-2012, 11:46 AM   PM User | #1
kandil
New Coder

 
Join Date: Jul 2012
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
kandil is an unknown quantity at this point
Exclamation Need to activate my Contact form by Correct code PLZ!

Hello , I have a Coming Soon Template Page it has XML file this is the code :

the form below.]]></contact_text>
<contact_fill1><![CDATA[Name]]></contact_fill1>
<contact_fill2><![CDATA[Email]]></contact_fill2>
<contact_fill3><![CDATA[Message]]></contact_fill3>
<contact_send><![CDATA[SUBMIT]]></contact_send>
<contact_clear><![CDATA[CLEAR]]></contact_clear>
<contact_error><![CDATA[Wrong email]]></contact_error>
<contact_success><![CDATA[Thank you!]]></contact_success>
</pages>


This is the last code of the XML file , When I press submit nothing goes to my inbox, The provider told me that I should make send.php code , I don't know how ,any help Please ?
kandil is offline   Reply With Quote
Old 07-18-2012, 02:48 PM   PM User | #2
MarPlo
Regular Coder

 
Join Date: Mar 2011
Posts: 145
Thanks: 0
Thanked 20 Times in 20 Posts
MarPlo is an unknown quantity at this point
Hi,
When you press Submit, the form data should be send to a php script (address set to "action" attribute in <form>).
The php script gets form data usually with $_POST, then uses a mail() function to send data to mail server.
So, you need to know php to make the contact form to work.
Try study the code of this script: Contact Form, PHP - AJAX.
__________________
MarPlo is offline   Reply With Quote
Old 07-18-2012, 02:59 PM   PM User | #3
Keleth
Senior Coder

 
Join Date: Jun 2008
Location: New Jersey
Posts: 2,354
Thanks: 45
Thanked 247 Times in 244 Posts
Keleth is on a distinguished road
Its pretty clear you're working with some CMS; which one?
Keleth is offline   Reply With Quote
Old 07-18-2012, 09:08 PM   PM User | #4
kandil
New Coder

 
Join Date: Jul 2012
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
kandil is an unknown quantity at this point
actulally The form is found in Flash - XML Template , here is my Site :

www.arabic-calligraphy.com

I don't need any email form its found like as you see in Contact according to former XML file

I'd like to know the next step I should do , to make this form send emails !
kandil is offline   Reply With Quote
Reply

Bookmarks

Tags
mail form, php, xml

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:16 AM.


Advertisement
Log in to turn off these ads.