• PHP

    From Spectre@21:3/105 to Somebody on Sunday, September 22, 2019 23:06:00
    I need an assist with my non-existant php skills. :)

    +------------------------------------------------+
    | Global Australian BBS Registry |
    | Global Date: Sep-2019 | +================================================+

    The date is just a place holder, I was considering using the date from linux "date". My problem is... some way to figure out how to put the | in to close the box.

    the format from date is "Sunday 22 September 23:11:31 AEST 2019"
    I was thinking to just cut the day/date/month off it, count the characters then
    add enough spaces to pad and ban a | on the end...

    but the logic to do so in PHP eludes me.

    Spec


    --- --- SuperBBS v1.17-3 (Eval)
    * Origin: <Shoot'n the breeze on The Lower Planes> (21:3/105)