Hi! all
When we use file uploading via a form, then we can get the file name of the uploaded file (at the PHP script) easily.
But I want to get the full path of the source file of client PC. It can further explained as follows.
There are 3 files.
1. form.php : Contains HTML forms including File Upload Controls2. Verify.php : here users are given a chance to verify again their input submitted at form.php3. operation.php : If verified at verify.php normal data goes to DB, uploaded files should be moved to separate folder.
Now problem comes with verify.php with file uploads. With it I want show inputs again for verification. ?
As I understand when user select a file from his system, the path for the relavent file is accompanied into file upload control, not the actual file. When Only forms is submitted file comes in to paly… I’m not sure but I think so.
[B]So, if the path is accompanied with file upload control, and if we can get it it as a separate variable in the verify.php we can put a file upload control with readymade path. If user see it as he was mistakenly uploaded a incorrect file then he can correct it at verify.php. I don’t whether that is possible or not,
[B]If not possible, is there a way to get the source path of the file at client pc, so then we can show the path and say, “If wrong file Go <<Back>> and Upload correct one”. I think that is a feasible alternative.
The verify.php is a dummy of form.php which contains all inputs given at form.php in at appropriate form control
If there is a possible way or alternative, could someone please let me know…
Thanks and Best Regards