![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Civilians | This message was posted in a PHP newsgroup that has low activity, and I'm running out of time! I am trying to use Jack's FormMail script (http://www.dtheatre.com/scripts/formmail). Since I'm brand new at PHP and not very good at HTML, I have an easy question, which I will narrow down. When the email arrives, it has this information: v_firstname: asdf v_lastname: asdf b_email: asdf@bellsouth.net v_phone: asdf v_cellphone: asdf v_address: fdsa v_city: fdsa v_zip: 23432 v_interested: join v_volunteer: on Submit: Submit The data is collected by an HTML file called volunteer.htm and is passed to formmail.php. The only place that "v_firstname" appears in volunteer.htm is here: <font face="Arial, Helvetica, sans-serif">First name <input type="text" name="v_firstname" maxlength="15"> v_firstname does not appear anywhere in formmail.php. I suspect that it is passed through to the PHP script or the script somehow prints the name attribute. So, the question is, what do I need to edit to get rid of "v_firstname:" in the email? Thanks! formmail.php is here: http://www.dtheatre.com/scripts/sour.../formmail.phps |
|
| | #2 (permalink) |
| Civilians | mcp6453 wrote: > This message was posted in a PHP newsgroup that has low activity, and > I'm running out of time! > > I am trying to use Jack's FormMail script > (http://www.dtheatre.com/scripts/formmail). Since I'm brand new at PHP > and not very good at HTML, I have an easy question, which I will narrow > down. When the email arrives, it has this information: > > v_firstname: asdf > v_lastname: asdf > b_email: asdf@bellsouth.net > v_phone: asdf > v_cellphone: asdf > v_address: fdsa > v_city: fdsa > v_zip: 23432 > v_interested: join > v_volunteer: on > Submit: Submit > > The data is collected by an HTML file called volunteer.htm and is passed > to formmail.php. The only place that "v_firstname" appears in > volunteer.htm is here: > > <font face="Arial, Helvetica, sans-serif">First name <input > type="text" name="v_firstname" maxlength="15"> > > v_firstname does not appear anywhere in formmail.php. I suspect that it > is passed through to the PHP script or the script somehow prints the > name attribute. > > So, the question is, what do I need to edit to get rid of "v_firstname:" > in the email? > > Thanks! > > formmail.php is here: > http://www.dtheatre.com/scripts/sour.../formmail.phps I would suspect that just deleting the whole "first name" field (or commenting it out) would do the trick. Send a test submission afterwards to see if it shows. -- \\// Robert ayntryte @ (that new Google email thingy) dot com |
|
| | #3 (permalink) |
| Civilians | "mcp6453" <mcp6453@earthlink.net> wrote in message news:40E7601E.4CF0@earthlink.net... > This message was posted in a PHP newsgroup that has low activity, and > I'm running out of time! > > I am trying to use Jack's FormMail script > (http://www.dtheatre.com/scripts/formmail). Since I'm brand new at PHP > and not very good at HTML, I have an easy question, which I will narrow > down. When the email arrives, it has this information: > > v_firstname: asdf > v_lastname: asdf > b_email: asdf@bellsouth.net > v_phone: asdf > v_cellphone: asdf > v_address: fdsa > v_city: fdsa > v_zip: 23432 > v_interested: join > v_volunteer: on > Submit: Submit > > The data is collected by an HTML file called volunteer.htm and is passed > to formmail.php. The only place that "v_firstname" appears in > volunteer.htm is here: > > <font face="Arial, Helvetica, sans-serif">First name <input > type="text" name="v_firstname" maxlength="15"> > > v_firstname does not appear anywhere in formmail.php. I suspect that it > is passed through to the PHP script or the script somehow prints the > name attribute. > > So, the question is, what do I need to edit to get rid of "v_firstname:" > in the email? > > Thanks! > > formmail.php is here: > http://www.dtheatre.com/scripts/sour.../formmail.phps Your script does not deal with input fields individually - it simply collects all input fields into an array, and then (simplifying), puts the array into the outbound message. To remove any input field from the resulting message, remove the input field from the original form. "<input ....." indicates an input field in the form, as in '<input type="text" name="v_firstname"...'. So, delete or comment out any input field in the form that you don't want in the resulting email message. George |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Useful script perhaps | Toby Inkster | Web Design | 0 | 08-28-2005 00:00 |
| IE script Error | =?Utf-8?B?QWNjZXNzTnViaWU=?= | Microsoft Applications | 2 | 12-01-2004 16:00 |
| script.js | Kurt Van Keymeulen | Microsoft Applications | 5 | 08-02-2004 10:30 |
| Which Script Are They Using? | http://links.i6networks.com | Web Design | 2 | 08-02-2004 09:30 |
| VB script | Antony | Microsoft Applications | 1 | 06-16-2004 07:46 |
![]() | ![]() | ![]() |