HI,
In a PHP script, i am using the system function to execute some commands to send file to a printer etc.
How ever, i am unable to execute the following command:
$cmd = 'host sqlplus xyz/abc@adm1 @/home/test.sql'
system($cmd);
Can any one tell if this is not possible to invoke this command from a php script?
Both php and the sqlplus script are on the same Unix box.
Thanks,
In a PHP script, i am using the system function to execute some commands to send file to a printer etc.
How ever, i am unable to execute the following command:
$cmd = 'host sqlplus xyz/abc@adm1 @/home/test.sql'
system($cmd);
Can any one tell if this is not possible to invoke this command from a php script?
Both php and the sqlplus script are on the same Unix box.
Thanks,