Wednesday, April 9, 2008

batch file with php

How to run window batch file in php?
Step 1
Creata bacth file like that

mkdir %1

save the file name as test.bat


step-2

php program
<?
shell_exec("test.bat india");
?>

Run the php automaticaly create one floder



No comments:

Post a Comment