PDA

View Full Version : Mail form ( I know, but this one's different )



Voetsjoeba
May 10th, 2003, 11:26 AM
Hi,

I have one of the most asked questions for you guys. How can I create a mail form in Flash ? I know, it's been asked a million times before but this one's different. You see the server I'm on has UNIX servers, and don't support anything. Real crap, not even PHP, AS, CGI, ... nothing.

So now what do I do to create a mail form without PHP, AS, Perl, CGI, ... ? I have no idea at all, all those forms use PHP.

lostinbeta
May 10th, 2003, 01:19 PM
Well then you can't do it. You need either CGI, ASP, or PHP to be able to create a mail form. Sorry.

λ
May 10th, 2003, 01:33 PM
I know this probably isn't much help, but change web host. Most web hosts today should support some kind of server-side scripting.

lostinbeta
May 10th, 2003, 01:36 PM
Yeah I believe http://www.tripod.lycos.co.uk/ actually supports PHP and it is a free host.

I would recommend switching hosts if you have no support for any server-side language.


njs: Please embed the font in your footer, im getting like an 8 px times new roman... its bad...lol.

Voetsjoeba
May 10th, 2003, 01:46 PM
Yeah, but I don't wanna change host :-\ The one I have now supports FTP upload and 50MB space, and those r things I really can't miss :-\

As for the footer: could you please send me a screenshot, 'cause it's a graphic, no actual text is in it. I'm about to change it soon anyway. Here's how it looks like to me

lostinbeta
May 10th, 2003, 01:47 PM
The font problem was directed to njs12345 (I used njs for short).

lostinbeta
May 10th, 2003, 01:49 PM
I just checked out http://www.tripod.lycos.co.uk/

50MB space
FTP Support
PHP/mySQL Support

You can check out what you get here...

http://www.tripod.lycos.co.uk/myaccount/freehosting/

λ
May 10th, 2003, 01:56 PM
About my footer... yeah i noticed that. I'm gonna fix it soon anyway.

Thanks for telling me tho.

Voetsjoaba: I believe there is a way using LoadVars/Loadmovie and System.secury.allowDomain to run scripts on another domain... so you could run the script off lycos... you could try looking into that.

Voetsjoeba
May 10th, 2003, 02:08 PM
Oooh, I thought the footer comment was ment for me, sry :)

By the way, I found a great free host giving 200MB away with PHP support, yaaaay :beam: If I can combine that with what njs told me, it just might work :beam: Now let's see if it has FTP support :beam: By the way, the host is http://www.webspace-empire.com

lostinbeta
May 10th, 2003, 08:46 PM
njs: I believe Flash considers loading information off of another server a security risk and does not allow the retreival of data off of another server. I know there is a way around this, but I believe you must have full control over the actual server itself to be able to do it, I could be wrong though.

And there is no such thing as System.security.allowDomain that I know of.

lostinbeta
May 10th, 2003, 08:59 PM
Heres a list of all the system properties Flash can get/do....

http://www.lostinbeta.com/experimental/systemCapabiltiesMX.html

λ
May 11th, 2003, 11:01 AM
It's a method, not a property:here (http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary721.html)
actually, I'm not sure whether that would work.

anyway, here (http://www.macromedia.com/support/flash/ts/documents/load_xdomain.htm) is a TechNote that documents ways around that problem

kode
May 11th, 2003, 11:35 AM
hey lost, =)


as a side note...

there are three properties more in the System.capabilities object: input, serverString and isDebugger. ;)

lostinbeta
May 11th, 2003, 11:55 AM
njs: Thanks for that link =)

Kax: Those are things I did not know. Do you have links so I can read up on these (if they are in the AS reference at macromedia just tell me and I will check that out later since I have that saved in my favorites so I don't need a link), I would search myself, but I can't be on long so I can't do that now.

kode
May 11th, 2003, 12:06 PM
nope, you won't find them in as reference. :-\

i think there's something about those properties at colin moock's site, i'm not sure.
if not, run a search on google, surely you'll find something. :)

and if someone can explain it... i guess that person would be senocular. :P

lostinbeta
May 11th, 2003, 12:13 PM
Or you :P hehehe

kode
May 11th, 2003, 12:19 PM
me!? :stunned:

... i can't even explain why the sky is blue!! :P

lostinbeta
May 11th, 2003, 12:25 PM
LOL... yeah uh huh... suuuuure!!! Any reason not to share your knowledge right Kax ;) ;)

kode
May 11th, 2003, 12:37 PM
nah... i'd love to, but i just can't. :(
i was born to throw snippets of code here and there... :P

lostinbeta
May 11th, 2003, 12:38 PM
LOL... ok.. you keep telling yourself that ;)

I used to not be able to explain things, and I still have a lot of trouble, but i'm slowly getting better since i've been helping out here.

kode
May 11th, 2003, 12:44 PM
2137 (2138 now) posts, in 90% of those posts i've been helping out people... and still, i can't explain why/how. :-\

maybe it's because of my lack of english terms... ?

λ
May 11th, 2003, 12:56 PM
All three of those terms are in Moock's ASDG:

capabilities.serverString, Property

URL encodes the values of the capabilies object. For example, the screenResolution properties are formatted as R=1600x1200.

capabilities.isDebugger, Property

Indicates whether the Player is a debugging version. This is only true with the Player provided with the authoring tool.

capabilities.input, Property

Indicates the type of input device provided by the system hardware. Currently the only property for this is "point", meaning a mouse-style device.

kode
May 11th, 2003, 01:03 PM
hmmm... sometimes i really think i should buy some books. :P

thanks, njs. =)

λ
May 11th, 2003, 01:08 PM
You're welcome kax.:)

lostinbeta
May 11th, 2003, 04:23 PM
Originally posted by kax
hmmm... sometimes i really think i should buy some books. :P

thanks, njs. =)

Same, if only those books weren't like 50$US grrr :angry: :(