Go Back   Webmaster Forums UK SEO SEM Webmaster Community Forum - UKWW > Web Design and Website Development > Programming > PHP Forum
Register FAQ Members List Downloads Calendar Today's Posts Webmaster Resources Webmaster Blogs
 
 

PHP Forum PHP related discussion, help, tips and tutorials.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-19-2008, 10:02 AM
dman_2007
Guest
 
Posts: n/a
Default PHP Contact Us Script

Here is a PHP contact us script. Contact.php file is a wrapper around contact-us.php file. You can add a working contact us form in any page of your site by just including contact-us.php at appropriate place. Here's a working demo.
Attached Files
File Type: zip php-contact.zip (2.7 KB, 12 views)
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-04-2008, 02:57 PM
Junior Member
2 posts this year. needs some grease!
New user, who has not interacted much yet.
 
Join Date: Aug 2008
Location: United Kingdom
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

This looks like a really good script but what is there to stop Spambots from using it like an Captcha image etc ?
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-07-2008, 02:12 PM
Dimitar Christoff's Avatar
Member
106 posts this year. Executive spud!
We have not managed to scare them away..
Last months UKWW Tokens: 37
 
Join Date: Jul 2008
Location: Lodnon, England
Posts: 78
Thanks: 10
Thanked 5 Times in 5 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

secure images are so tedious for the users - you can protect a form via js by dynamically building the submit handler / events and setting the action/target.

downside to that approach is that you need to have JS enabled to use the form - for my money - worth it. you should be doing your form validation in javascript anyway (even if the PHP script has a fallback)
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 08-30-2008, 06:33 AM
Junior Member
15 posts this year. the lights are on!
User is on their way up.
Last months UKWW Tokens: 14
 
Join Date: Aug 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

I've been looking for a php contact form for a long time. Thanks.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 09-01-2008, 12:26 PM
Member
46 posts this year. i see smoke!
It looks like they have moved their luggage in.
Last months UKWW Tokens: 14
 
Join Date: May 2008
Location: Taunton, uk
Posts: 45
Thanks: 1
Thanked 4 Times in 4 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

firstly thats a cool little script, very clear on what your clean and tainted data is etc

im a believer in defence in-depth, if your going to validate in JS you MUST still validate in php, validation in JS is a cool idea as you can make sure the data sent to your servers are maybe as you expected... but all you have todo is use httpliveheaders to figure out the names of the form vars placed by the js and then hard code a form or just send a modifyed http request via the httpliveheaders tool... effetivley bypassing your JS validation... not cool
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Webmaster Resources
UK WW SEO Tools
Find UK Hosts
 
The Forum Rules
Forum Rules - MUST READ
 
Site Of the Month
BizzFace
Nominate site of the month
 
Tag Cloud
ad exchange affiliates asbestos cancer audio ads bid bidding directory bid directory bid directory list bid for position business clothes contest cricket writer dedicated servers delisted designer discount ecommerce executive suites finance forum global business directory google handbags internet and marketing iphone jewelry link exchange link submissions niche nokia n95 of mesothelioma paid blogging phones electronics pr7 directory replica samsung seo seo company social bookmark startup sunglasses technology uk property writer wallets web web design web development website website development website promotion wholesale yahoo backlink

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:30 PM.

UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons.
Subscribe to our feeds   Subscribe to our feeds

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0