Dear friends,
I am new to PHP coding. I wrote a php script to display linux system hardware information in a browser. The script includes execution of linux commands and the result those command appended to one variable. To find usb information i wrote for loop within the script. When I am executing the script from linux terminal, it displays everything accurately. But the same script does not display the for loop result in case of browser. I attached my script with this post.
Please find a solution and let me know what I have to do.
Thanking you in advance.
regards,
Tata Rao,
pihealth.php
PHP developer,
Mobodexter