This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > April 2004 > Creating a .txt file depending on variables!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Creating a .txt file depending on variables!
|
|
| fasterthanlight 2004-03-30, 9:08 pm |
| ok, 3 variables:
userID
passID
name
format of the txt file should be like this:
userID=*********&passID=*****&name=**first**+**last**
can i do this in flash or do i have to use PERL or something
| |
| fasterthanlight 2004-03-30, 9:10 pm |
| *bump*
any takers?
ill probably just write a PERL script...
| |
| jmack007 2004-03-30, 9:10 pm |
| Hello --
Well, depending on the scope of your project you could use MX to store and
retrieve vars that allow password/ username verification before allowing access
to parts of your Flash site.
If you are just doing a small project that only a few people will have access
to you can store the vars in an array and loop through verifying each one by
one using actionscript. Would be a small app though. Not an enterprise app by
any means. Example, I had done a little interactive bracket for the Final Four
tourney that I allowed 12 people to access and make selections in some
brackets. (For recreational purposes only of course). The user's choices were
just stored in a text doc and retreived by the players logging in and seeing
how they were doing overall.
However, any larger applications such as registering for a subscription
service or to post and sell anything requires server-side scripts and probably
a database to store the info. I use XML/PHP/ mysql combo MOST frequently for
this BUT-- of course-- you can use ASP/Perl/JSP/CF/etc and any database you
desire.
Have a peek over at Kirupa.com When I first got a project early last year that
would require this kind of interaction in Flash MX the tuts there were a great
starting point. Had done it ad infinitum in PHP/DHTML-style apps but these
tutorials really helped me get up to speed in Flash MX doing server-side
interactions rapidly. Better than a book for those who know MX and just need
the basics.
--jmac
| |
| fasterthanlight 2004-04-01, 5:58 pm |
| I appreciate your response!
Unfortunatley I know I will need a database driven login do-hicky. I have
already created one at
http://www.couchpotato.no-ip.com/wtcs/ but of course you need to be registered
to login ;)
userID: 321321321
pass: hey
It functions well, right now the accounts are created using Perl, and I was
just wondering if I would be able to CREATE user's accounts in flash, instead
of using another language. Of course there would be the generic texfields [ie
user ID (in this case, the student's student number), password, name etc)
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|