Groups | Blog | Home
all groups > flash data integration > november 2005 >

flash data integration : File Reference and LoadVars


Motion Maker
11/30/2005 11:40:02 PM
To do it with one PHP script, I tried this and it worked:

file_fr.upload("upload.php?testvar=Hello World " +Date());

--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
I am building a application that allows users to upload images for a gallery
along with information such as title and caption using FileReference and
LoadVars. I was wondering if there is a way to pass the FileReference and my
LoadVars Object together to one PHP file so that the image and information
can
be uploaded and submitted to the database in one shot rather then using the

FileReference.upload() command then sending a SendAndLoad() on my LoadVars
object.

Ideally I would hope that I can add the FileReference to my LoadVars and
then
send the LoadVars but im not sure if it will send the $_FILES to the php doc
with its information.

Thanks
JustenHolter

jholter
11/30/2005 11:58:33 PM
I am building a application that allows users to upload images for a gallery
along with information such as title and caption using FileReference and
LoadVars. I was wondering if there is a way to pass the FileReference and my
LoadVars Object together to one PHP file so that the image and information can
be uploaded and submitted to the database in one shot rather then using the

FileReference.upload() command then sending a SendAndLoad() on my LoadVars
object.

Ideally I would hope that I can add the FileReference to my LoadVars and then
send the LoadVars but im not sure if it will send the $_FILES to the php doc
with its information.

Thanks
JustenHolter
jholter
12/1/2005 3:36:13 PM
Thanks for the reply, Sending the information over GET is deff one possiblity
but I think given the fact that I will be sending captions and photo Titles I
would want to look for a method that sends it through the POST because of the
character limit on GET
AddThis Social Bookmark Button