doddsey_65 Posted February 19, 2011 Share Posted February 19, 2011 i am using the fancy upload script for post attachments on my forum. the problem is that when a user starts a new post and adds an attachment the attachment is uploaded before the post is complete. so how would i associate the attachment with the post that they are going to post when i have no post id to go off? i had tried not uploading the files straight away and instead populate an input box with the filenames but i cant figure it out with this script. Anyone got any other options or ideas? Quote Link to comment https://forums.phpfreaks.com/topic/228191-file-uploading/ Share on other sites More sharing options...
BlueSkyIS Posted February 19, 2011 Share Posted February 19, 2011 use session to store the info for uploaded files until the form is posted. when the form is posted, the list of uploaded files will be in session vars. Quote Link to comment https://forums.phpfreaks.com/topic/228191-file-uploading/#findComment-1176791 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.