hey!
I want to write a script that is activated when someone uploads a file to a certain folder.
I want to write this in ioftpd.ini:
OnUploadComplete = EXEC ..\php\php.exe -n C:\ioFTPD\scripts\blabla.php
and in the script file write something like this:
if($filedir==/somedir/){ do something }
where $filedir is the path to the file uploaded.
My question is:
Is there a variabel that holds the location/path to the file uploaded on OnUploadComplete?