03-11-2006, 05:33 AM
microchip13 Wrote:
-------------------------------------------------------
> $variable123 = exec("cat /tmp/sunupdown.txt");
I'd use fread() instead. I avoid any calls to system functions like that if there is a built-in PHP function that accomplishes the same thing.
http://us3.php.net/manual/en/function.fread.php
-------------------------------------------------------
> $variable123 = exec("cat /tmp/sunupdown.txt");
I'd use fread() instead. I avoid any calls to system functions like that if there is a built-in PHP function that accomplishes the same thing.
http://us3.php.net/manual/en/function.fread.php