ULX

Author Topic: PHP Support in the MOTD  (Read 2195 times)

0 Members and 1 Guest are viewing this topic.

Killers

  • Guest
PHP Support in the MOTD
« on: October 29, 2007, 05:32:11 PM »
PHP to be Support in the MOTD  :D

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: PHP Support in the MOTD
« Reply #1 on: October 29, 2007, 07:25:58 PM »
The MOTD uses the built in HTML VGUI control. I don't remember if we support pointing to an external website for the MOTD (if not we should), but the only way to use PHP is to host your MOTD on a webserver with PHP installed.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: PHP Support in the MOTD
« Reply #2 on: October 30, 2007, 05:34:36 AM »
A bit more clear to those who don't understand... PHP is 'WEB' server side scripting. The Gmod motd file you view is treated as a client side. All the gmod server does is attempt to feed it to you in raw format. No "real" language parsing is done before it gets fed.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming