If you create a MD5 of the filename, why not create a MD5 within flash of
the original name.
MD5 classes can be found, here is one:
http://www.meychi.com/archive/000031.php
 

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Rich Rodecker
> Verzonden: zaterdag 26 augustus 2006 0:48
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] File upload : getting Flash to 
> know the new name
> 
> as far as I've seen there's no way to return any values from 
> a file upload.
> There was something I saw where you could return different 
> HTTP header codes back to flash to get some sort of control 
> over what was sent back, but even that still wouldnt send 
> back any data.
> 
> jeroen's suggestion might work, or if you have a lot of data 
> maybe you can even save a text file to the server and read 
> that in after the onComplete.
> 
> 
> 
> On 8/25/06, Serge Jespers <[EMAIL PROTECTED]> wrote:
> >
> > Yeah... I see where you're going with that... Can also read 
> the value 
> > from my database but I thought it must have been possible 
> to have my 
> > upload.php return that new name to Flash. That would have made more 
> > sense, but I guess that's not possible then...?
> >
> > S
> >
> >
> >
> > > Hi Serge,
> > >
> > > Maybe store the new name into the $_SESSION and request 
> it when the 
> > > onComplete event is dispatched?
> > > Or am I mis-understanding the situation?
> > >
> > > Greets,
> > > Jeroen
> > >
> > > Serge Jespers wrote:
> > >> Hey guys,
> > >>
> > >> I'm doing a fileUpload in this project and in my PHP script, I 
> > >> rename the file (make an MD5 from it).
> > >> I was just wondering how I can get Flash to understand this new 
> > >> filename... Is this possible at all?
> > >>
> > >> Thanks for your fast responses ;-)
> > >>
> > >> Serge
> > >> _______________________________________________
> > >> Flashcoders@chattyfig.figleaf.com
> > >> To change your subscription options or search the archive:
> > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >>
> > >> Brought to you by Fig Leaf Software Premier Authorized Adobe 
> > >> Consulting and Training http://www.figleaf.com 
> > >> http://training.figleaf.com
> > > _______________________________________________
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training 
> > > http://www.figleaf.com http://training.figleaf.com
> >
> > _______________________________________________
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training 
> > http://www.figleaf.com http://training.figleaf.com
> >
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to