Q : How to use external scripts written in PHP language

A : there are many scripts written in PHP language for RaidenFTPD which can be found here

http://www.raidenftpd.com/en/plugin.html

however , the setup method is different for different versions of PHP , if you don't use the correct handler , the script can't work properly

PHP web site url : http://www.php.net/ , make sure to download PHP 4.x.x zip package , but not the installer version , and extract to a directory such as c:\php , note that the pathname should not contain a space character , and of course , you also need to copy php.ini to your windows directory

php 4.0x

example : edit your *.ftpd

event : onFileUploaded

php dir : c:\php

use php.exe

onFileUploaded=exec://c:\php\php.exe .....

 

php 4.1x ~ 4.2x

example : edit your *.ftpd

event : onFileUploaded

php dir : c:\php

use php-cli.exe

onFileUploaded=exec://c:\php\php-cli.exe .....

 

php 4.30

example : edit your *.ftpd

event : onFileUploaded

php dir : c:\php

use [php-folder]\cli\php.exe

onFileUploaded=exec://c:\php\cli\php.exe .....

 

php 4.32 ~ ? suprise ?! it's back to old style again ...

example : edit your *.ftpd

event : onFileUploaded

php dir : c:\php

use [php-folder]\php.exe

onFileUploaded=exec://c:\php\php.exe .....

AND!! edit your c:\php\php.ini , make sure register_argc_argv = On

 

That's ALL

Copyright © RaidenFTPD TEAM , ALL RIGHTS RESERVED

REVISION 2.4 , 2003/07/22

The copyrighted works contained in this information service shall not be copied, reproduced, varied, altered, modified, adapted, distributed, performed and displayed in any form without the written permission of the copyright owner. All trademarks belong to their respective owners .