Upon submitting a file through a form, then attempting to move it to the target destination using 'move_uploaded_file', I am receiving the error: Warning: open_basedir restriction in effect
As I'm sure most of us are aware, this is the error generated due to the implimentation of safe-mode, however, move_uploaded_file is theoretically not supposed to be limited by safe-mode restrictions as it can only be performed on an uploaded file. Does anyone know why this error is occuring for me?
A bit of most-likely-relevent information: My web hosting provider was previously running PHP 4.X where X is some long forgotten number less than 4.2.2. They upgraded to 4.2.2 some months ago, and this is the first time since then I have checked on the previously functional code. (i.e. it was working and has not been modified since)
Thank you for any assistance you might offer,
Will Ralphs
open_basedir restriction using move_uploaded_file
Moderator: General Moderators
-
fredrick00
- Forum Newbie
- Posts: 1
- Joined: Wed Oct 30, 2002 10:53 am