Webmaster Forums 101 - Free Help and Discussions
 
 
 

MEMBER REWARDS - Earn free advertising by participating in these forums! Click here for details.

Welcome to Webmaster Forums 101!

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th March 2003, 06:28 AM   #1

Username: Anonymous
Rank: WF101 Newbie
Join Date: Jan 2003
Posts: 25
Points: 0.00
Default FORM HELP

ops:

I hope that someone will be able to help me or point me in the right direction.

I am currently building a form that needs to go to email. THe problem is, the information that ends up in my inbox looks NOTHIng like the form and the information is all out of order.

What I would like is either

A) The information to come into my email looking exactly like the form

B) the information to come into my email as an attachment - looking exactly like it did when inputed into the form.

If you can help, I would greatly appreciate it.

(christina.bucklin@nrl.navy.mil)
Anonymous is offline   Reply With Quote
Old 29th March 2003, 06:29 AM   #2

Username: Anonymous
Rank: WF101 Newbie
Join Date: Jan 2003
Posts: 25
Points: 0.00
Default

you can also email me at stina1317@hotmail
please use subject: FORM HELP!

Thanks in advance!
Anonymous is offline   Reply With Quote
Old 29th March 2003, 09:28 AM   #3
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

I think it is easier for me if I just post here :wink:

Are you using any scripts to send the email to you or just plain HTML (<form action="mailto:you@yourdomain.com" method="post">)?

Tech
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Old 1st April 2003, 05:15 AM   #4

Username: Anonymous
Rank: WF101 Newbie
Join Date: Jan 2003
Posts: 25
Points: 0.00
Default

just plain HTML. I'm currently looking for a script or something that will help me do what I want, but I'm not having much luck. Any help would be apreciated!
Anonymous is offline   Reply With Quote
Old 1st April 2003, 08:23 AM   #5
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

Ok, do you have PHP installed on your server? Do you have an scriptiong language on your sever?
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Old 1st April 2003, 08:24 AM   #6
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

Also, it might be a good idea if you register. It will notify you of replies :wink:
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Old 2nd April 2003, 01:24 AM   #7

Username: CABucklin
Rank: WF101 Newbie
Join Date: Apr 2003
Location: Washington, DC
Posts: 11
Points: 0.00
Send a message via ICQ to CABucklin Send a message via AIM to CABucklin Send a message via MSN to CABucklin Send a message via Yahoo to CABucklin
Default HELP!

I beleive I PHP installed, I am having this hosted by Verizon - I am not positive what is there.

http://novaresearchonline.com/samples/csr.html - the form in question

I have been looking around for a CGi that would help me keep the form in this format when it goes to email - but haven't had any luck finding anything.
CABucklin is offline   Reply With Quote
Old 2nd April 2003, 07:43 AM   #8
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

OK, here's a simple script I've wrote up. Call it something like submit.php and in the form on csr.html you need to add <form method="POST" action="submit.php" webbot-action="--WEBBOT-SELF--">

Code:
<?php // Subject of email $your_subject = "Contact Form"; // Write your email address $your_email = "you@yourdomain.com"; // This is the the text that will be sent to you. $inside_mail = " Name: $Name Code: $Code Phone Number: $Phone_Number Email Address: $Email_Address Building: $Building Room Number: $Room_Number Date of Service Request: $Date_of_Service_Request Nature Of Problem: $Nature_Of_Problem ----------------------------------------------------------------------- SENDER INFO: IP: $REMOTE_ADDR Browser Type: $HTTP_USER_AGENT Page Referer: $HTTP_REFERER ----------------------------------------------------------------------- "; // This is the part that sends your email @mail($your_email, $your_subject, $inside_mail, "From: \"$Name\"<$Email_Address>\r\nReply-To: $Email_Address\r\nX-Sender:$Name using $Email_Address\r\nReturn-Path: $Email_Address"); // This is the thank you message echo "<p align=\"justify\">Thanks for contactin us!"; ?>

Just edit the code a bit with your subject name and email.

Hope that helps!

Tech
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Old 3rd April 2003, 01:15 AM   #9

Username: CABucklin
Rank: WF101 Newbie
Join Date: Apr 2003
Location: Washington, DC
Posts: 11
Points: 0.00
Send a message via ICQ to CABucklin Send a message via AIM to CABucklin Send a message via MSN to CABucklin Send a message via Yahoo to CABucklin
Default Thank You

I went ahead and used the code you posted and I am having a problem.

http://novaresearchonline.com/samples/csr2.html - location of form with your code.

I did everything as you said and it is telling me that it cannot find the page I am referencing - and it's there.

Any suggestions?

P.S. Thank you for the help so far!
CABucklin is offline   Reply With Quote
Old 3rd April 2003, 02:02 AM   #10

Username: CABucklin
Rank: WF101 Newbie
Join Date: Apr 2003
Location: Washington, DC
Posts: 11
Points: 0.00
Send a message via ICQ to CABucklin Send a message via AIM to CABucklin Send a message via MSN to CABucklin Send a message via Yahoo to CABucklin
Default I just noticed....

I just noticed in FrontPage that it is telling me there is a problem with this chunk of code and I am not familiar enough to notice the problem.



// This is the part that sends your email
@mail($your_email, $your_subject, $inside_mail, "From: \"$Name\"<$Email_Address>\r\nReply-To: $Email_Address\r\nX-Sender:$Name using $Email_Address\r\nReturn-Path: $Email_Address");

// This is the thank you message
echo "<p align=\"justify\">Thanks for contactin us!";

?>


The part that is larger is the part that frontpage is indicating there is a problem.

Any help you could offer is appreciated!
CABucklin is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom fields in form using mysql viper Server-Side Scripting & Databases 17 25th February 2005 11:33 AM
Your recommended Form Field Validation Javascript bestempire Website Design & Coding 1 22nd December 2003 09:02 AM
form mail jonDapron Server-Side Scripting & Databases 1 4th October 2003 11:41 AM
Form - hidden fields - autorespond - reply email Anonymous Website Design & Coding 1 21st June 2003 05:39 PM
form trouble Anonymous Server-Side Scripting & Databases 1 10th March 2003 06:05 PM

Login
User Name
Password


Featured Members


Featured Links


Useful Resources
Webmaster Resources
Developers Tools
Developer Tutorials


Partners

All times are GMT +10. The time now is 09:21 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.3.2
 
 
WEBMASTER FORUMS 101
ARCHIVE
CONTACT US
TOP
   
© Webmaster Forums 101 2005. All Rights Reserved.
Design by: vBCore