Hi,
I am running some task in VB and I want to change the task using PHP. So I created a dll in vb. And I created a new folder call scheduletask and included the task file and schtask.exe and cmd.exe and gave the folder for execute permission for everyone.
In my php code Iam calling the dll file using com and redirect the otuput of the text file to the same folder scheduletask. When I run code through the command prompt its changing the task and redirecting the output, when I run through the browser its creating and empty txt file under the folder shceduletask but not execting the shell.
I have been working on this for 1 week still I am not able find sol. I tried using php directly to change the task but still the same problem.
Help please...
code in php
<html>
<body>
<?php
echo "hi";
$obj=new com("news123.new12");
echo "2";
$output=$obj->test();
echo $output;
echo "bye";
?>
</body>
</html>
Thanks