jeet_0077 Posted July 11, 2007 Share Posted July 11, 2007 Hi, I am using a form where there is an option to upload file. When I brows a file and submits the form with other fields the file is getting uploaded. But if any server side validation fails it will be in the same page. All the text fields and other input filelds are populated with the previously entered things but the input type file does not contain the entered file path. Is it possible to retain the file path in input type file? If so can you please help me out how to do that. Thanks... Quote Link to comment Share on other sites More sharing options...
teng84 Posted July 11, 2007 Share Posted July 11, 2007 if you use the php self then maybe im not quite sure but i think it possible with php self Quote Link to comment Share on other sites More sharing options...
jeet_0077 Posted July 12, 2007 Author Share Posted July 12, 2007 Hi, Thanks for the reply I did try with PHP_SELF but wount work out. I guess it is not possible to get the brows path after refresh. Quote Link to comment Share on other sites More sharing options...
JayBachatero Posted July 12, 2007 Share Posted July 12, 2007 Did you try saving it in a session var? Quote Link to comment 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.