Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mailing Form Question...

Status
Not open for further replies.

PaulChilds

Technical User
May 21, 2002
195
Hi I have a form for people to fill in to join our mailing list (at - go to 'Contact Us' and the click on 'Join mailing list').

However, when it is sent back to me, the email message shows 'targetpage' and 'mailuser' and I don't want them to show up on the email.

Any ideas.

Cheers.

PC
 
not a good idea not to have a valkidation script on your forms

these fields are being passed and that is why yopu are seeing them
<INPUT TYPE=&quot;hidden&quot; NAME=&quot;targetpage&quot; value=&quot;<INPUT TYPE=&quot;hidden&quot; NAME=&quot;mailuser&quot; value=&quot;paul&quot;>

if you don't want them to be take them out, I'm sure they have a purpose but you can get around that obviously with a location.href on the targetpage field being a redirect aparently.

I would revert to the mailform.cgi taht you are using and see the impostance of these fields in the script A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
The code I have used at either end of the form is the recommended code by my ISP. I don't have access to my own CGI bin, so have to use their code, so I can't really change it too much.

I need targetpage and mailuser in the code of the form, but like I said before, don't want them appearing in the form when it returns as an email.

Any thoughts or am I stuck with it the ay it is?
 
your stuck with it seeing as you cannot access the script processing the form values and sending the email A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
What about using a form that calls a php page? That way you can just upload the php page into the root or wherever your pages are and you don't have to worry about the cgi-bin directory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top