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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting a Form

Status
Not open for further replies.

emissions

Technical User
Mar 17, 2002
68
GB
I'm currently working on a intranet based application, that uses a number of forms to create, edit, and post information to a database. On one of the forms, I'm looking for the form to perform addtional objectives. If the user chooses an email address, and also chooses to FTP the form information to an external server.

does anyonwe know of a way to script/make the page look and post the form to the relevant destination, using both the Email and FTP (the ftp I have set-up a ftp.asp file that does post the information in txt format to the server, but I need a way to do both at the same time.

Thanks in advanced, I can give more information if required.
 
create two functions

function ftp

end function

function email

end function

then simply call them in the code

if request.form("email")=="some_email" then
call email
end if

if request.form("ftp")==true then
call ftp
end if


Bastien

Any one have a techie job in Toronto, I need to work...being laid off sucks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top