Jump to content
xisto Community
Sign in to follow this  
danagym

Feedback Form please help

Recommended Posts

I was asking the same question a few weeks ago.. i found this solution (althought a do know a feedback services called netgear, at http://www.tripod.lycos.com/):You can have a form that send you the results... but the message has to be sent by the visitor using a mail configured software as eudora or outlook... (this is not a good solution)And, you can do it using cgi... ususally host servers have this services, but if they dont, you can look for a free cgi feedback services... or.you can explore php and MySQL... and CMS's the feedback modules are pretty easy to use

Share this post


Link to post
Share on other sites

http://www.hotscripts.com/category/scripts/php/scripts-programs/email-systems/email-utilities/ is my formmail script.  It will send an email to the address specified and then redirect to a different page.  If you have any questions about it just ask and if you like it please rate it.

<{POST_SNAPBACK}>


I can't seem to find your script. I go to the http://www.hotscripts.com/ page and click on 'VISIT'. I then get to some 'Computer Simulated Fantasy Hockey League' webpage... have i missed anything here :):)

Share this post


Link to post
Share on other sites

easy cake. here's the code (just made it up should work)html -- [feedback.html]===============<html><head><title>asdf</title></head><body><form action="feedback.php" method="post"><input type="text" id="name" name="name"> <--- the senders name<input type="text" id="email" name="email"> <--- the senders mail<textarea name="contents"></textarea> <--- the mail contents</form>=======================================end of html file now start PHP file=========feedback.php =========<?php$_POST["name"];$_POST["email"];$_POST["contents"];mail('youremailadress@foobar.com', 'Feedback mail', 'mail sent by' . $name . ' with email adress ' . $email . 'contents : ' . $contents);?>

Share this post


Link to post
Share on other sites

Additionally, you could put up some error messages and stuff, but this is all you need, of course you need a server with php support and that allows you to use the mail function.

Share this post


Link to post
Share on other sites

Thanks jipman!!!!the info u just posted is extremly usefull for a web design course i'm taking...Also.. what daniel15 said was right.. i couldn't find it either...

Share this post


Link to post
Share on other sites

I can't seem to find your script. I go to the http://www.hotscripts.com/ page and click on 'VISIT'. I then get to some  'Computer Simulated Fantasy Hockey League' webpage... have i missed anything here  :)  :)

<{POST_SNAPBACK}>

That is the right page you just have to go to the downloads. Sorry I didn't make it more clear. The focus of the page isn't scripts as you can tell.

Share this post


Link to post
Share on other sites

html -- [feedback.html]===============
<html>
<head>
<title>asdf</title>
</head>
<body>
<form action="feedback.php" method="post">
<input type="text" id="name" name="name"> <--- the senders name
<input type="text" id="email" name="email"> <--- the senders mail
<textarea name="contents"></textarea> <--- the mail contents
</form>


Where's the submit button?????????????????????

Share this post


Link to post
Share on other sites

Hi! Is there on the internet some already done feedback forms, or some generator of feedback form? I need very much a feed back form on my site!

 

thanks!waiting for reply!

<{POST_SNAPBACK}>


What are you trying to accomplish? If you need specific information you would have to create a user input form. Personally I like to use javascript to accomplish feedback forms as there is only one line of script to deal with in addition to the actual input form.

 

Here is a simple script with a basic form:

 

<FORM ACTION="mailto:yourusername@youresite.com" ENCTYPE="text/plain" onSubmit="return checkForm(this);" method=post>

<table border="0" width="500">

<tr>

<td>First Name:                    Last Name:<br>

<input type=text size=20 name="FIRST"><input type=text size=20 name="LAST"><br>

Address:<br>

<input type=text size=45 name="ADDRESS"><br>

City:<br>

<input type=text size=26 name="CITY"> <br>

State:    Zip:<br>

<input type=text size=2 name="STATE"> <input type=text size=5 name="ZIP"><br>

Phone:   <input type=text size=26 name="PHONE"><br>

Email:   <input type=text size=26 name="EMAIL"><br>

 

</td></tr></table><br>

<INPUT type=SUBMIT value="Submit ">

</FORM>

 

You can add as many fields as you need to to get whatever information you need.

 

If you want to protect the email address from harvest robots, it can be used in conjunction with the email protector script I posted yesturday in the Designing and HTML thread.

 

If you decide to use this script and need some help just ask.

 

pete :)

Share this post


Link to post
Share on other sites

whoops, i forgot the submithtml -- [feedback.html]===============<html><head><title>asdf</title></head><body><form action="feedback.php" method="post"><input type="text" id="name" name="name"> <--- the senders name<input type="text" id="email" name="email"> <--- the senders mail<textarea name="contents"></textarea> <--- the mail contents<input type="submit" value="Submit"></form>

Share this post


Link to post
Share on other sites

pbolduc, the script you posted sends the mail using a mail configured account (pre-configured on the visitors e-mail), that's why i don't think it's a good method for posting..the php feedbakc is a better option...

Share this post


Link to post
Share on other sites

pbolduc, the script you posted sends the mail using a mail configured account (pre-configured on the visitors e-mail), that's why i don't think it's a good method for posting..

 

the php feedbakc is a better option...

<{POST_SNAPBACK}>


This is true, however, the script is quick to set up and does accomplish the task at hand. IT SHOULD NOT BE USED FOR COLLECTING SECURE INFORMATION such as credit info and the like.

 

While I really like javascript, I am coming to realize the power of php. Before becoming a member here, I never even knew what php was. My goal in posting here is to help others as much as I can with the little I know.

 

I am totally self taught and understand the frustrations of trying to learn. This is the first forum I have ever been associated with. I appreciate you pointing out any aspects of any of my posts that may be accomplished in a better way. That's how we all learn.

 

If you would, please point out more clearly exactly what the risks are in using the script I posted so we all will have a better understanding. I have used the script and it functions well.

 

Thanks,

pete :)

Share this post


Link to post
Share on other sites

I actually don't know wich one gives more security.. but i also know.. not averybody uses an e-mail program... most people use webmail... so those visitors won't be able to send the form... with php or cgi that's not a problem... the visiter push "submit" and that's all they got to know... when u design, you have to imagine all your visiotr as newbies, or many people may get confused... (i don't know if that's well written, my native language is spanish)PHP is excelent, i think... So, i would rather send it through php (you know you'll get it)

Share this post


Link to post
Share on other sites

I actually don't know wich one gives more security.. but i also know.. not averybody uses an e-mail program... most people use webmail... so those visitors won't be able to send the form... with php or cgi that's not a problem... the visiter push "submit" and that's all they got to know...

 

when u design, you have to imagine all your visiotr as newbies, or many people may get confused... (i don't know if that's well written, my native language is spanish)

 

PHP is excelent, i think... So, i would rather send it through php (you know you'll get it)

<{POST_SNAPBACK}>


Good point on the webmail... never thought of it, but you are right. Thanks for the input. Since I've yet to learn php, I'll have to go back to cgi

 

thanks,

pete :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.