PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The client has to upload the files; php has nothing to do with it.
And standard browsers will not consider any path given neither as default value for input/file nor as input/hidden.
And therefore the client will not upload any filedata. And therefore php will get no filedata.
Client send the value of an input/hidden as name=value string pair. According to your form's method this name=value pair will be represented by $_POST['textfield'] in php. If you want multiple input/hidden fields with the same name use name="textfield[]". $_POST['textfield'] wll be an array with the values of all name="textfield[]"-elements sent by the client.