01-06-2004, 06:45 PM
|
#1 |
| Junior Member
Join Date: Dec 2003
Posts: 5
| path on OnUploadComplete
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?
|
| |