Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Log reader
  • Hi, So I was thinking of creating a log reader and share the code with you guys... Ironicly, I need your help :D
    The idea was that you enter the date range and you get two simple columns: 1- left: menu with each day
    2- right: logs of that specific date + filter search on type of log Now I know how to program all this (well kinda) except for the most important part.
    I can't seem to use the read() and read_dir() method on the directory logs
    $dirs = File::read_dir(DOCROOT.'fuel/app/logs/');
      print_r($dirs);
    
    = empty, altough I have around 30 days of log files. Any workaround? Regards
  • Ow there goes my dream of being the first :) That was actually exactly what I imagined it to be. Thanks for the link!
  • i'm sure you'll do it better :)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion