hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : looking for contact us ( free ) script ..
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

looking for contact us ( free ) script ..

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-13-2011, 06:22 PM
scal scal is offline
WHT Addict
 
Join Date: Sep 2009
Posts: 121

looking for contact us ( free ) script ..


Hi ,

i'am looking for contact us ..

and i need some features :-

1 - check validate of some fields .
2 - captcha
3 - after the user has submit the data , i want to refer the user to another pages .

* i will use the script more than one place at the site with different fields .

thank you and please help me .

Reply With Quote


Sponsored Links
  #2  
Old 08-14-2011, 01:34 AM
sam_basshost sam_basshost is offline
Temporarily Suspended
 
Join Date: Jul 2011
Location: East Coast
Posts: 102
http://www.jotform.com/ you can use them to make one.

Reply With Quote
  #3  
Old 08-14-2011, 06:19 PM
scal scal is offline
WHT Addict
 
Join Date: Sep 2009
Posts: 121
Quote:
Originally Posted by sam_basshost View Post
http://www.jotform.com/ you can use them to make one.
hi ,

this site is very good , but i want a script file to merge it on my site page .

Reply With Quote
Sponsored Links
  #4  
Old 08-15-2011, 01:51 PM
semoweb semoweb is offline
One Legit Host
 
Join Date: Mar 2009
Location: California :-)
Posts: 8,118
check out hotscripts.com

__________________
▄▀▄▀▄:: 100Mbps Unmetered Dedicated Servers !!
▄▀▄▀▄:: http://www.semoweb.com/dedicated-servers.html
▄▀▄▀▄:: Budget VPS Instantly Set Up !! ## We also offer SSD VPS (Just Hover over "VPS" on our site)
▄▀▄▀▄:: http://www.semoweb.com/vps.html

Reply With Quote
  #5  
Old 08-15-2011, 04:06 PM
Vincentas Vincentas is offline
Temporarily Suspended
 
Join Date: Aug 2011
Location: Kaunas, Lithuania
Posts: 149
What CMS for your website do you use? If you use WP when simple contact form plugin is the best for you. Please provide what is your CMS and will give you more information on this.

Reply With Quote
  #6  
Old 08-15-2011, 04:47 PM
DewlanceHosting DewlanceHosting is offline
Web Hosting Master
 
Join Date: Jul 2009
Location: Kshatriya
Posts: 1,643
You can use this script and also you can use your own "Thank you message page"

http://www.web4future.com/easiest-form2mail.htm (Easy to integrate in your site,etc..)

__________________
-----m------m--Dewlance Windows VPS - Windows RDP - Chicago/Orlando/FL/Illinois ƸӜƷ
......| |(oo) | | Provide Reseller Hosting,Master Reseller,VPS & Dedicated Server ƸӜƷ
......| | (~) | | Windows VPS with 99.9% Server Uptime Guarantee+AutoBoot ƸӜƷ
Xeon - Quad Core - Quick Setup - AntiDDoS & Signed SSL for cPanel/WHM Server...

Reply With Quote
  #7  
Old 08-15-2011, 06:04 PM
scal scal is offline
WHT Addict
 
Join Date: Sep 2009
Posts: 121
Quote:
Originally Posted by Vincentas View Post
What CMS for your website do you use? If you use WP when simple contact form plugin is the best for you. Please provide what is your CMS and will give you more information on this.
i'am use php page " write it hands " for my web site .

Quote:
Originally Posted by DewlanceHosting View Post
You can use this script and also you can use your own "Thank you message page"

http://www.web4future.com/easiest-form2mail.htm (Easy to integrate in your site,etc..)
thank you

Reply With Quote
  #8  
Old 08-16-2011, 04:27 PM
Vincentas Vincentas is offline
Temporarily Suspended
 
Join Date: Aug 2011
Location: Kaunas, Lithuania
Posts: 149
Ok, then you can try this one too: http://www.easyphpcontactform.com/

Reply With Quote
  #9  
Old 08-17-2011, 07:43 AM
Surcouf Surcouf is offline
Newbie
 
Join Date: Aug 2011
Posts: 10
Hi scal, you could check to http://www.redspiral.net/contact-form It is a open source and great script (very good captcha against bot) !

Reply With Quote
  #10  
Old 08-17-2011, 11:38 AM
motters motters is offline
Junior Guru Wannabe
 
Join Date: Apr 2011
Posts: 34
try this out
I made it for some one a while ago
PHP Code:
<?php
####################################################
#Copy right Sam Mottley SamMottley.co.uk           #
#2011-present day All rights reserved              #
####################################################
####################################################
#set your error styling below                      #
####################################################
?>
<style>
.error{
color: #ed6464;
}
</style>
<?php
####################################################
#set your email here                               #
####################################################
$youremail 'info@sammottley.co.uk';
//$email_error = 0;
//$subject_error = 0;
//$message_error = 0;
$error 0;

####################################################
#Check format of email function                    #
####################################################
function check_email_address($email) {
  
// First, we check that there's one @ symbol, 
  // and that the lengths are right.
  
if (!ereg("^[^@]{1,64}@[^@]{1,255}$"$email)) {
    
// Email invalid because wrong number of characters 
    // in one section or wrong number of @ symbols.
    
return false;
  }
  
// Split it into sections to make life easier
  
$email_array explode("@"$email);
  
$local_array explode("."$email_array[0]);
  for (
$i 0$i sizeof($local_array); $i++) {
    if
(!
ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&
?'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$"
,
$local_array[$i])) {
      return 
false;
    }
  }
  
// Check if domain is IP. If not, 
  // it should be valid domain name
  
if (!ereg("^\[?[0-9\.]+\]?$"$email_array[1])) {
    
$domain_array explode("."$email_array[1]);
    if (
sizeof($domain_array) < 2) {
        return 
false// Not enough parts to domain
    
}
    for (
$i 0$i sizeof($domain_array); $i++) {
      if
(!
ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|
?([A-Za-z0-9]+))$"
,
$domain_array[$i])) {
        return 
false;
      }
    }
  }
  return 
true;
}

###############################################
#Controll interface                           #
###############################################
if (isset($_REQUEST['email']))
  {
//if "email" is filled out, proceed

    //Get the relivent infomation
    
$to $youremail;
    
$email $_REQUEST['email'] ;
    
$subject $_REQUEST['subject'] ;
    
$messageRaw $_REQUEST['message'] ;
    
$genralInfomation 'Their Email Adress : ' $email '  There message was : ' $messageRaw;
    
    
//check validation and then error check the sending
    
if((check_email_address($email)) && ($subject != '') && ($messageRaw != '')){
    
//debug mail send
    
if(mail($to,$subject,$genralInfomation)){
        echo 
"Mail was sent. I'll get back to you asap. Thanks";
        } else {
        echo 
"Something when wrong! - Please try and re-submit the form or if you continue to get errors please contact the me at: ".$youremail;
        }
    
    }else{
    
//errors in what the user types
    
if(check_email_address($email) == FALSE){
    
$error 1;
    
$email_error =  '<div class="error">Invalid email format</div><br/>';
    }
    if(
$subject == ''){
    
$error 1;
    
$subject_error =  '<div class="error">Please enter a subject</div><br/>';
    }
    if(
$messageRaw == ''){
    
$error 1;
    
$message_error =   '<div class="error">Please enter a message</div><br/>';
    }
    }

    
    
  }else{
  
//if "email" is not filled out, display the form
  
echo "
  <form method='post' action='" 
basename($_SERVER['PHP_SELF']) . "'>
  <div style='width:800px'>
  <div style='width:50px; padding: 10px; float:left; padding-right:30px;'>Email: </div><div style='width:500px; padding: 10px;'><input name='email' type='text' style='width:350px;' /></div><br />
  <div style='width:50px; padding: 10px; float:left; padding-right:30px;'>Subject: </div><div style='width:500px; padding: 10px;'><input name='subject' type='text' style='width:350px;'/></div><br />
  <div style='width:50px; padding: 10px; float:left;'>Message: </div> <br /><div style='width:700px; float:right;'> <textarea name='message' rows='15' cols='40'></textarea></div><br />
  <div style='width:410px; float:right;'><input type='submit' value='send'/></div>
  </div>
  </form>
  "
;
  }
  if(
$error == 1){
    echo 
"
  <form method='post' action='" 
basename($_SERVER['PHP_SELF']) . "'>
  <div style='width:800px'>
  <div style='width:50px; padding: 10px; float:left; padding-right:30px;'>Email: </div><div style='width:500px; padding: 10px;'><input name='email' type='text' style='width:350px;' />"
.$email_error."</div><br />
  <div style='width:50px; padding: 10px; float:left; padding-right:30px;'>Subject: </div><div style='width:500px; padding: 10px;'><input name='subject' type='text' style='width:350px;'/>"
.$subject_error."</div><br />
  <div style='width:50px; padding: 10px; float:left;'>Message: </div> <br /><div style='width:700px; float:right;'> <textarea name='message' rows='15' cols='40'></textarea>"
.$message_error."</div><br />
  <div style='width:410px; float:right;'><input type='submit' value='send'/></div>
  </div>
  </form>
  "
;
  }
?>


Last edited by motters; 08-17-2011 at 11:44 AM.
Reply With Quote
  #11  
Old 08-18-2011, 03:49 PM
scal scal is offline
WHT Addict
 
Join Date: Sep 2009
Posts: 121
Surcouf , motters , Vincentas

Thank you

Reply With Quote
  #12  
Old 08-19-2011, 06:07 AM
hugotm hugotm is offline
Newbie
 
Join Date: Mar 2011
Posts: 12
Sometimes it's easier and faster to write code than to use a free script.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Mini Sites Creator, Delivery Script, Sitemap Submitter, SMS Script, Multiple IPN Collector Software & Scripts Offers 0 06-17-2009 11:37 AM
Unique check PR script for sale [Demo available] + Free Alexa rank checking script KCgame Other Offers & Requests 4 07-20-2006 08:03 AM
iHost 1.01 - Account Creation and Billing Script & iPanel v1.01 Free hosting Script ihostdev Other Web Hosting Related Offers 6 07-06-2005 05:29 PM
iHost 1.01 - Account Creation and Billing Script & iPanel v1.01 Free hosting Script ihostdev Other Web Hosting Related Offers 6 07-04-2005 09:47 PM
Help with a contact script.. RDX1 Programming Discussion 5 09-06-2004 04:18 AM

Related posts from TheWhir.com
Title Type Date Posted
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2013-03-27 18:49:54
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39
Web Host PromptSpace Launches Shared Hosting Platform Web Hosting News 2011-12-27 18:15:25
Web Host Bluehost Launches Reseller Hosting Web Hosting News 2011-10-14 15:16:37
Web Host JaguarPC Adds Auto-Installer Softaculous to Hosting Plans Web Hosting News 2011-07-27 18:55:46


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?