[WEB][ADMN]PHP Console colour/color processing

Discussion in 'Bukkit Tools' started by CEssentials, Mar 26, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    CEssentials

    I'm creating a control panel with php and while designing the console, I created the php script to read from logs/latest.log, but I'm not able to process the console's color codes and it shows up on the webpage like this:

    [09:21:13] [Server thread/INFO]: [Server] hi

    The text shows up in the console like this:

    [09:21:13 INFO]: [Server] hi

    Yes, that is purple

    What could be a good way to process this into colour through a php script?

    Thanks in advance!
     
  2. Offline

    moose517

    well unless the logs have color codes there really is no way to get colored messages.
     
  3. Offline

    JWhy

  4. Offline

    MCMatters

    May i get your code? I need a way to do the same way and i might be able to fix :p CEssentials
     
Thread Status:
Not open for further replies.

Share This Page