undertaker Posted March 7, 2011 Share Posted March 7, 2011 Hello, I would like to make a session which saves the input. To make this easier to understand i will explain my whole problem. I will have that image uploader: HTML: <input type="file" /......> <input type="submit".....> and some php behind it to upload the image. When the file will be uploaded, there will be the text if you want to continue to next page (other php file) to edit uploaded file. Now what i am asking you is: If the user clicks yes, i want the session to save name of uploaded image without extension and save it as variable, so i can use it on that another page and print it out. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/229865-sessions-help/ Share on other sites More sharing options...
undertaker Posted March 7, 2011 Author Share Posted March 7, 2011 HELP EDIT: Oh yeah, i forgot, and if possible, the sessions destroys when it is printed out, so i can use a it again when i upload another file. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/229865-sessions-help/#findComment-1183943 Share on other sites More sharing options...
undertaker Posted March 7, 2011 Author Share Posted March 7, 2011 OK figured it out Quote Link to comment https://forums.phpfreaks.com/topic/229865-sessions-help/#findComment-1183998 Share on other sites More sharing options...
cunoodle2 Posted March 7, 2011 Share Posted March 7, 2011 OK figured it out In order to help a future member could you please post your code on here in effort to possibly help someone else in the future with the same problem? Quote Link to comment https://forums.phpfreaks.com/topic/229865-sessions-help/#findComment-1184123 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.