Need a form script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cbguest
Forum Newbie
Posts: 7
Joined: Fri Jun 21, 2002 9:48 am

Need a form script

Post by cbguest »

Does anyone know of a script out there that will allow for:

1 I have a web form that I want our company users to fill out.
2 When the user submits the form they are sent a confirmation email
3 but...the twist is I want it to be an email that they have to reply to or click a confirm link before the form data is actually sent.

I have a script that is suppose to do that...but I have run into several errors and the script writer will not respond to any emails.

If you do not know of any...could anyone take a look at this script?

Thanks,
Chris
will
Forum Contributor
Posts: 120
Joined: Fri Jun 21, 2002 9:38 am
Location: Memphis, TN

Post by will »

there is no way to make the form submission dependent on an email reply. what you can do however, is store the form data in a temp database (be it an actual database, or a plain text file) and not add it to your final database until they respond (preferably in going to a specific URL).
cbguest
Forum Newbie
Posts: 7
Joined: Fri Jun 21, 2002 9:48 am

Post by cbguest »

That is what I want to do. The script I was trying to get to work...created a text file for each submission. When the sender clicks a confirmation link in an email message it sends the saved text message to the designated user.

Do you know of a script that does that...I don't know enough about php to correct the problem that the error message refers to.

I get a couple of messages about "Notice: Use of undefined constant"
and one message about a "Notice: Undefined variable"...it gives me line numbers to look at...I just can't figure it out.
Post Reply