Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple jpg upload

Status
Not open for further replies.

puremm

Technical User
Oct 30, 2006
23
0
0
GB
WE've had a slight issue over the last 24hrs and serach every where on google... We have a file upload script which uploads a array of image onto server via php... Now we can get teh correct variables across, but the basename($_FILES['Filedata']['name'], remains a blank... below is the upload section;

for(var i:Number = 0; i < list.length; i++) {
file = list;
file.postData = "id=" + id + "&acc=" + acc;
trace("Filename: " + file.name);
trace("Folder String: " + id);
trace("Account: " + acc);
trace(file.addListener(this));
file.upload("upload_inc.php");
}

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top