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] "jholter" <webforumsuser@macromedia.com> wrote in message
news:dmleb9$s4e$1@forums.macromedia.com...
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