Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 why make variables if they're not used: pop_mail
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 20 August 2002 :  15:58:31  Show Profile
pop_mail.asp has this code in it:
strFrom = Request.Form("YEmail")
strFromName = Request.Form("YName")


But the only variable of those two that's actually used is strFrom:
if strFrom <> "" then
strSender = strFrom
end if


The only other line that could use those variables calls the form again:
strMessage = strMessage & "You received the following message from : " & Request.Form("YName") & " (" & Request.Form("YEmail") & ") " & vbNewline & vbNewline

Any reason why they're defined but not really used?

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 20 August 2002 :  16:06:11  Show Profile
Never mind... stupid question. I just checked inc_mail.asp and found the answer to my question.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07