Jquery PHP Contact Form - php Form

Author Topic: Jquery PHP Contact Form  (Read 3705 times)

Offline admin

  • Administrator
  • *****
  • Posts: 67
  • Karma: +11/-0
  • Gender: Male
    • View Profile
Jquery PHP Contact Form
« on: December 14, 2010, 06:53:21 PM »
Vesion: JPHP 1.1. Released: 12/12/10
Licence GNU
Price: Free
Requirement(s): PHP Server

1. Unzip.
2. Upload.
3. Link
4. You must change the email address in this line to yours. $email = 'admin@example.com'; (insert.php - line3)

Code: [Select]
<head>
<script language="JavaScript">
var goPopX = (screen.width/2)-250;
var goPopY = (screen.height/2)-250;
var loc = "left="+goPopX+",top="+goPopY;
function goPop(){
goPopWindow = window.open("http://www.example.com/contact_us/contact.php","","scrollbars=no,resizable=yes,width=500,height=400,"+loc);
}
</script>
</head>
<body>
<a href="javascript:goPop()"><font size="2" font face="Tahoma" font color="#666666">Contact Us</a><br />
<br>
</font>
</body>
« Last Edit: December 14, 2010, 07:13:07 PM by admin »

Offline allen.abe

  • Supporter
  • **
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Jquery PHP Contact Form
« Reply #1 on: February 24, 2011, 10:05:17 PM »
this is amazing and i really loved it. can i change it as a newsletter by removing the message section? can you please tell me how to do this? i'm completely new to php and i know basic html. thank you

Offline allen.abe

  • Supporter
  • **
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Jquery PHP Contact Form
« Reply #2 on: February 24, 2011, 10:13:57 PM »
forget about my last post bro i did it myself by removing

if (strlen($name) < 4) {
echo "<center><div id=\"effect\">Min 4 characters:
<a id=\"formes\" href=\"javascript:location.reload(true)\">Go Back</a></div></center>"; 
 Die();
}

in the insert.php and deleted the message box in contact.php.

does this cause any problem? also can you tell me if i can connect this to an ms access file so that i can have a list of contact details? thank you