Re: php-cli

From: Date: Tue, 11 Feb 2003 06:20:54 +0000
Subject: Re: php-cli
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-135165@lists.php.net to get a copy of this message
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

« previous php.general (#135165) next »