I have the following code:
$info = getimagesize($this->tmp_name);
When I parse the $ info variable, I checked that it was empty.
- I checked that the GD library was installed.
- I checked the write permissions on folders.
- I checked the variable
$this->tmp_name
, its value was C: \ Windows \ Temp \ php85CD.tmp - I noticed the open_basedir directive was different: * D: \ Inetpub \ vhosts \ myite.com \ httpdocs * (should not be C: \ Windows \ Temp \ ?)
If not, what might be the problem, since the upload does not work?