Multiple local files processing

See all posts See thread Reply

Re: Multiple local files processing new!
by colin, 13 years, 9 months ago
Before instantiating the class with your file, you need to move it to a location allowed by open_basedir. Check the PHP on how to do that. But basically, you can do it only with move_upload_file, as it is the function which allows you to access a file protected by open_basedir.

In fact, if the class is directly receiving the form, then it will automatically use move_upload_file for you. I am not sure why you need to have another script calling a second script. But doing so, you need first to move the files before you can process them as local files.Reply