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-14-2012, 03:09 PM   PM User | #1
edwardw121
New to the CF scene

 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
edwardw121 is an unknown quantity at this point
Email Send Script

Hi,
A client of mine has got a website, it refers to an ajax.php file, which there isnt one..
Code:
<form action="../../Spark/ajax.php" method="post" class="send-with-ajax">
				
				<div class="row">
					<div class="three columns alpha">
						<label for="form-name">Your Name <span>required</span></label>
					</div>
					<div class="seven columns omega">
						<input type="text" name="name" id="form-name" placeholder="Your Name" required />
					</div>
				</div>

				<div class="row">
					<div class="three columns alpha">
						<label for="form-email">Your Email <span>email required</span></label>
					</div>
					<div class="seven columns omega">	
						<input type="email" name="email" id="form-email" placeholder="your@email.com" required />
					</div>
				</div>

				<div class="row">			
					<div class="three columns alpha">
						<label for="form-message">Message</label>
					</div>
					<div class="seven columns omega">	
						<textarea name="message" id="form-message"></textarea>
					</div>
				</div>
				
				<div class="seven columns offset-by-three">
					<button type="submit">Submit Form</button>
					<div class="ajax-response"></div>
				</div>
What needs to go into this ajax.php file for the send form to work?
Thanks In Advance,
Eddie
edwardw121 is offline   Reply With Quote
Old 07-14-2012, 08:38 PM   PM User | #2
jdswebservice
Regular Coder

 
jdswebservice's Avatar
 
Join Date: Aug 2010
Location: Moon Township, PA
Posts: 107
Thanks: 0
Thanked 5 Times in 5 Posts
jdswebservice can only hope to improve
code lol

more code

and code on top of that code.

reference this
http://www.freecontactform.com/email_form.php
__________________
Jonathan R.
Email: jonathan@logicaldevelopment.net
Skype, Aim, & Jabber: logicaldevelopment
Website: http://logicaldevelopment.net/

NOTE: When contacting me please have the following things ready:

Thread ID (This can be found in the URL of your thread)
Budget of Project
Methods of contacting you/your organization
Preferred method if many methods are provided

Any website information that you PM, Email, IM, or otherwise is strictly confidential and will not be disseminated, distributed, or copied in any way, shape or form.
jdswebservice is offline   Reply With Quote
Reply

Bookmarks

Tags
ajax, email, php, send

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 10:18 PM.


Advertisement
Log in to turn off these ads.