i've tried that several times but it doesnt work here. here's my test script
<? exec("cls"); echo"/**************************** ******************************/"; ?> This does'nt clear the previous lines of MS-DOS. Any ideas why? > you will want to issue a "cls" command to the shell with the exec > command for using the back ticks... > > That should do it for you... > > example: > > exec( "cls" ); > > That should do it for you... > > Ray > > On Mon, 2003-02-10 at 21:20, Michael P. Carel wrote: > > Hi to all, > > > > Is there anyone who could help me regarding php-cli in windows. What should > > be the syntax to make the screen clear before echoing something? > > Is there a good reference in php-cli? > > > > Thanks in advance for the replies. > > > > > > > > mike > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php