View Single Post
Old 03-25-2005, 10:35 AM  
r3flux
Member
 
Join Date: Feb 2005
Posts: 48
Default Problem with PHP execution

heya ioftpd forum!

i want to call a php script through a site command.

my ioFTPD.ini looks like:

[FTP_Custom_Commands]
mycommand = EXEC php.exe -q s:\htdocs\jobs\command.php

[FTP_SITE_Permissions]
mycommand = 1M


content from command.php

PHP Code:
<?php echo "test 1 2 3"?>
(just for testing )

when i now perform this command in on the ftp, i'll only get this return message:

Code:
[R] site mycommand
[R] 200 Command successful.
but no response from the script ...

any idea what i've done wrong?

thx for help!
r3flux is offline   Reply With Quote