PDA

View Full Version : Flash server side IO.


antonmills
09-09-2005, 07:05 PM
I havent had chance to look in to this yet and have very little knowledge on the subject so I though it better to ask the guru's.

Two questions.
1. Is it possible for to update a text or XML file on a server that a swf is also located on? (it would be great if anyone knows if this can be done without php?)

2. Same question, but this time if the flash movie was located on a clients pc and connected to the server to update the xml sheet or text file.

Muchos Gracias
Ant

Xeef
09-09-2005, 07:13 PM
No you can't do it whit out PHP

not fully true you coud use another server side language like ASP,jave,cgi....

but you need one of them !

arianhojat
09-09-2005, 07:42 PM
Prob will have to use php or asp...

might be able to use Zinc in conjunction with your flash/fscommands to do it if you can have it run as a standalone FLash application (aka not on web) on clients computerm and have the xml locally.

saveTo = "myFile.txt";
saveContent = "This is my Text";
fscommand("mdm.savetofile", "saveTo,saveContent");


it also has support to connect to a mysql server
I havent used Zinc really though just throwing it out there.

http://www.multidmedia.com/support/learning/help/HTML/zinc/index.html

antonmills
09-09-2005, 08:12 PM
Cheers both, I thought it would have to be processed through a server side language but had to double check.

Ill look in to zinc tonight, it might be just the type of quick fix i need.
Other than that I guess i need to start learning php also.

Unless anyone has a php script which just does this type of thing?

Thanks all
Ant