Mhtml
09-02-2002, 10:05 AM
Ok a while ago I posted a question on how best to get around the problem of not being able to send email from a free brinkster page, I stated that I was going to post the messages to a page or a text file for reading an I've done it.
I'd like you peeps to have a look at my code and tell me how it could be made more efficient while keeping simplicity.
The dropbox is comprised of the following files:
getmessage.asp - the contact form
makemessage.asp - gets the form information and adds it to the dropped.htm file
dropped.htm - the file containing the compiled results
viewmessages.asp - includes the dropped.htm file (might also incorporate the create and delete dropped.htm pages)
createdropped.asp - creates the dropped.htm file after it is delted
deletedropped.asp - deletes the dropped.htm file
the purpose of deleting the file is when it gets so many responses that it is to long.
Also I have a function on it which I found was clever , I made it only display the users email address if they choose for me to reply..check it out!
thanks...
I'd like you peeps to have a look at my code and tell me how it could be made more efficient while keeping simplicity.
The dropbox is comprised of the following files:
getmessage.asp - the contact form
makemessage.asp - gets the form information and adds it to the dropped.htm file
dropped.htm - the file containing the compiled results
viewmessages.asp - includes the dropped.htm file (might also incorporate the create and delete dropped.htm pages)
createdropped.asp - creates the dropped.htm file after it is delted
deletedropped.asp - deletes the dropped.htm file
the purpose of deleting the file is when it gets so many responses that it is to long.
Also I have a function on it which I found was clever , I made it only display the users email address if they choose for me to reply..check it out!
thanks...