In dos typing cls will clear the screen. C++ and C have ways you can clear the screen in dos too. PHP does not. Not even a bash file will change it or a program with the exec or system function.
The easiest way to "clear screen" is pretty ghetto but it works. Just echo new lines where you want to clear the screen =P.
while(true){
for ($i=0;$i<30;$i++){
echo "rn";
}Dont worry about doing it often because old lines aren't saved in the dos prompt, they're truncated once they get a certain length. Kinda the obvious solution, but people still ask.
Checkout my Mp3 and files search that uses google to find music/albums, anime, games and movies with direct downloads. It's very safe and easy to use, just search for a song, then right click save as to download it.
I make video tutorials on a variety of topics on youtube. Please help me out by adding me as a friend if you have a youtube account. It really helps.
Clicking the links above will give you a random but extremely high rated video. There are over 15,000 awesome videos indexed so click as many times as you'd like.
Save To Del.icio.us,
Submit to Digg,