Hello
I want to create application where user can post his avatar from own computer.
This will be jpg with user's picture.
How I can transport this file to server side and back?
Or that must be array of pixels?
My own ideas that keep in UserVariables url to this file on server side, and upload it to there via PHP.
Maybe you have better ideas or that realize in SFS?
Thanks for help
Avatar from user comp
The simplest way is to use a server side PHP script to handle the upload directly from Flash (if you use Flash 8 or later)How I can transport this file to server side and back?
Or that must be array of pixels?
Then, as you suggested, you can store the URL in a user variable
With the next SmartFoxServer release (1.5) we'll add native support for flash uploads, so there will be no need to use external PHP scripts etc...