I want print result of the running code
Like this ( example ) :
<?php mkdir('folder1'); echo 'folder1 created'; echo 'dowloading large file, please wait...'; copy('FileLink', 'LargeFile.x'); echo 'the large file downloaded successfully'; // other codes.. ?>
if run this code, It takes a long time and shows the result in one place. I want to print all the results gradually, just like the Linux terminal. How can I do it?