Quote:
Originally Posted by Ecron Daemon
It seems impossible to change the directory destination of the files uploaded!
I put the two files of this hack on a subdirectory of the forum and with chdir I make the file read global.php. The Problem is that all the files uploaded, are in the root forum directory and not in the subdirectory where the 2 hack files are.
Any suggestion?
|
After this line:
Code:
$file_name = stripslashes($file_name);
$file_name = str_replace("'","",$file_name);
add this:
Code:
$file_name = 'YOURSERVERPATH'.$file_name;
and replace YOURSERVERPATH with for example /srv/www/htdocs/forum/httpuploadir
Cheers,