rbb213 Posted September 10, 2004 Posted September 10, 2004 where would that file go if you were to put that on a page to actually submit an email to someone?.. the file is an asp form, with ... <% contactfield1=Request("field1") contactfield2=Request("field2") contactfield3=Request("field3") contactfield4=Request("field4") mbody = "field1 : "&contactfield1&" | field2 : "&contactfield2&" | field3 : "&contactfield3&" | field4 : "&contactfield4 'email object for cdonts ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 'Set pmail = Server.CreateObject("CDONTS.Newmail") 'change the email to your email address 'pmail.From = "admin@redlineriders.org" 'pmail.To = "admin@redlineriders.org" 'pmail.Subject = " Website Contact enquiry " 'pmail.Body = mbody 'pmail.MailFormat = 0 'mime type 'pmail.BodyFormat = 0 'default value 1 for plain text type 'pmail.Send 'Set pmail=Nothing 'new mail 'DIM Mailer 'email object for CDO Windows 2003 ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Set objMessage = CreateObject("CDO.Message") objMessage.Subject = "Website Contact Enquiry" 'change the email to your email address objMessage.Sender = "admin@redlineriders.org" objMessage.To = "admin@redlineriders.org" objMessage.TextBody = mbody objMessage.Send set objMessage=Nothing response.write("response=ok") %> I know, im a bit tossed up in the air on this one, but its only a form, that once someone hits submit its supposed to send out an email to the said addy...but the problem is I dont know where that file should go. the file is set up in an flash website, but it stumps me to where it goes. Quote
TCH-Don Posted September 10, 2004 Posted September 10, 2004 You are on a linux server, not windows, so no .asp you will beed to use a php form script. Quote
rbb213 Posted September 10, 2004 Author Posted September 10, 2004 So if this was to be converted into a php page, where would that file be placed?... Talk about service with a smile.....Dang Don, that was super fast reply! Quote
woesap Posted September 10, 2004 Posted September 10, 2004 I think that won't work because behind .asp en .php are two different programming languages. Normally you make a page where the content etc for the mail is entered. Than you call a page (such as your example but then suitable for linux) to process that information into the mail and sends it. You can place that file anywhere within your site. As long as you use the correct URL to call the file from within your form. I don't know much abt using forms within flashpages. A good formscript you can get on this page. You may also search Hotscripts page. There are tons of programs there....... Good luck Quote
rbb213 Posted September 10, 2004 Author Posted September 10, 2004 Thanks! Woesap...I'll Look into it..... Back to the books again... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.