Hello boys and girls, I've been trying to intergrate the
neat little script into my site and I've been having some
issues. I've narrowed most of the problems down to the
fact that I'm using PHP5, one of the main problems
seems to be that in the default PHP5 php.ini file
has 'register_long_arrays' set to 'Off'. After I set this
to 'On' I found that funtions like file download started
working.
I'm still having issues with getting delete and search to
work, for some reason I get a 404 error page. The script
passes this to my browser address bar
(http://arclite:8080/file_browser/method=post?
act=delete&subdir=&sortby=name&selfiles%5B%
5D=title1.jpg&renameto=©to=&aliasto=). I think
there is and issue with the script file name not being
there, but since I'm just learning PHP I'm not too sure.
Logged In: NO
if you do a search and replace on the source you can fix this:
change 'HTTP_GET_VARS' to '_GET'
change 'HTTP_POST_VARS' to '_POST'
change 'HTTP_SERVER_VARS' to '_SERVER'
the last one is causing your problem since the script needs to know what $_SERVER["PHP_SELF"] is. the older named arrays have been deprecated by default in php5.
cheers,
-zach