It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Contact Information / agreement page help needed!

Contact Information / agreement page help needed!

Postby hokeyplyr48 on Fri Aug 01, 2008 3:12 pm

Hey, just found this site through google and hope i've come to the right place.

i'm fairly proficient in html code, but what i need i feel is outside of this realm. (CGI scripts i believe)

I'm adding something to a website for my dad's company and what they want is a confidentiality agreement to access certain parts of the website. On someone elses website, they have this setup, which is similary but not completely what i want. button to access data:
Image
once you click that, it brings you to a page that has the confidentiality agreement and at the bottom it has a "electronically sign and submit button" like so:

Image

then it gives you access to a page where you can view information and download documents.

I need something like this but slightly different. In addition to the 'electronically sign and submit' button, i need it to do:
  • have boxes where they can enter their contact information
  • won't allow you to 'sign' it unless this contact information is filled in
  • send an email to the person 'signing it'
  • and send an email to me, or whoever on our end with their information


is this doable or is this just ridiculously difficult?
i tried finding some premade solutions, and biz mail form seemed like it would do half of it, but i couldn't figure out how to get it to work.

any help is most appreciated!
hokeyplyr48
 
Posts: 2
Joined: Fri Aug 01, 2008 3:09 pm

Postby chubzyko on Fri Aug 01, 2008 5:48 pm

hmn... as I remember, i found in the google something like what you wanna do. But I can't remember what site was that. Well, I was'nt interested with that that time so I just skipped it. Harhar! Google is your friend. Try to google it.
"Failure is the key to success, so try and try until you succeed."
User avatar
chubzyko
100+ Club
 
Posts: 104
Joined: Wed Jul 30, 2008 10:48 pm
Location: Marikina City, Philippines

Postby hokeyplyr48 on Fri Aug 01, 2008 5:51 pm

on another forum where i posted this same topic someone suggested to use PHP. and this was his response:

k, here's how i would do it.

First, add the necessary textboxes.

Put them in a single form.

Have the form action be the page they want to view.

In order to view the page, all variables (name/address/etc.) must be posted.

When those things are posted, PHP can be used to send an email to you containing the information. Then have it store either a cookie or a session variable for the user. Then require the session or cookie variable to be set in order to view the page (use a redirect or error page if the variable is not set).


Sending mail in PHP:
http://email.about.com/cs/phpemailtips/qt/et031202.htm

PHP Forms:
http://www.w3schools.com/php/php_forms.asp

PHP Sessions and Cookies:
http://devzone.zend.com/article/646-...the-cookie-jar

NOTE: session variables are destroyed when the client leaves the site or closes the browser. cookies are destroyed when they either expire or the user deletes them.


so i'll give this a try.
hokeyplyr48
 
Posts: 2
Joined: Fri Aug 01, 2008 3:09 pm

Postby dflynn on Fri Aug 01, 2008 8:50 pm

I assume that you would want proof that they used the electronic signature, in case they break said agreement so you will probably want to also mail the form to your own account.

But that should all work as they posted it.
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada


Who is online

Users browsing this forum: No registered users and 3 guests