Is it possible to save files on a server from a flash movie?? I want to build a Contact Us form, however the server were I store my website does not support PHP, so I was thinking maybe I could make a contact form that insteadof sending an e-mail it would save a new test document on the server side!!
Is this possible?, and if yes how can I do it?
First of all, if your server doesn’t support PHP, it’s possible that it might support ASP in which case you can still send an e-mail using a component like ASPEmail (www.aspemail.com).
There’s always a way to send email, you should definately check out your hosting provider’s help docs or forums would be even better.
One rule though is the old cliche that “you get what you pay for” so if you’re hosting your site with a free hosting company like Geocities or something, there’s no chance of being able to send an e-mail. In that case, great companies like www.bravenet.com are great for giving you code which allows you to run mailing lists, forums and yes, MAILING FORMS!
Ye I know, at the moment I host my websites on the server of the college that I attend to. It supports ASP for sure, so what I will try is to make the cntact us form with ASP.
However for the save thing!! Is it possible, it would be great If one could save files and photos on the server side through the use of flash!
It’s possible, but it requires a javascript hook with some kind of a back end engine (ASP/PHP etc.).
What you do is build that script and then use FSCommands to pass the commands to it, in order to save files and stuff.
However possible, it is not recommended. For that you might wanna consider using something like Cold Fusion or the likes.
ColdFusion is a server-side solution made by Macromedia (creators of Flash) which lets you build server-client connection based applications.
As for the FSCommands, google for “FSCommands PHP or ASP”. It should get you started.