Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Some PHP Help!
#5
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


Reply


Messages In This Thread
Need Some PHP Help! - by microchip13 - 03-11-2006, 03:35 AM
Re: Need Some PHP Help! - by TheTominator - 03-11-2006, 04:40 AM
Re: Need Some PHP Help! - by microchip13 - 03-11-2006, 05:08 AM
Re: Need Some PHP Help! - by TheTominator - 03-11-2006, 05:23 AM
Re: Need Some PHP Help! - by TheTominator - 03-11-2006, 05:33 AM
Re: Need Some PHP Help! - by microchip13 - 03-11-2006, 05:37 AM
Re: Need Some PHP Help! - by shadow - 03-11-2006, 07:00 AM
Re: Need Some PHP Help! - by microchip13 - 03-11-2006, 02:18 PM
Re: Need Some PHP Help! - by TheTominator - 03-11-2006, 04:08 PM
Re: Need Some PHP Help! - by wowzer - 03-11-2006, 04:13 PM
Re: Need Some PHP Help! - by microchip13 - 03-11-2006, 10:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)