Welcome to Hogville!      Do Not Sell My Personal Information

BBC "code" tags and php functions in signature

Started by InternetDrama, December 06, 2017, 03:30:41 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

InternetDrama

December 06, 2017, 03:30:41 pm Last Edit: December 06, 2017, 05:02:06 pm by InternetDrama
I was trying to edit my signature to say
"Today is (today's date), and Texas still sucks."

But the BBC code tag and php are blocked. I fully understand why as soon as I saw it doesn't work. I wouldn't want just any schmuck to have the ability to execute code on my server, but is there some other method to read the server date and insert into my text?



FWIW, my code was
<?php echo "Today is " . date(m/d/Y) . ", and Texas still sucks."; ?>
Texas still sucks.

NaturalStateReb

"It's a trap!"--Houston Nutt and Admiral Ackbar, although Ackbar never called that play or ate that frito pie.