Technical question about forum

sloter

Starter
Hey,

I see the PHP tags are available when we type the message. Does that mean that we can directly write php code using this and it will get processed by the server and converted into regular page ? How do we do that ? If I do just a simple command this is what happens:

PHP:
 print("Hello World!");

or

PHP:
<?php print("Hello World!"); ?>
 
I think those tags are used to format PHP (or code) nicely for forums that discuss PHP or other programming. Notice the fixed-width font and fancy coloring. I don't think the code is actually processed.
 
uolj said:
I think those tags are used to format PHP (or code) nicely for forums that discuss PHP or other programming. Notice the fixed-width font and fancy coloring. I don't think the code is actually processed.
I was thinking the same. That's a real shame then, but I guess it would probably provide some security problems to have that kind of interaction with the server.
 
sloter said:
I was thinking the same. That's a real shame then, but I guess it would probably provide some security problems to have that kind of interaction with the server.
Huge security concerns. I am currently working on message board software that allows access to server-side objects without compromising security. It won't be ready to even demo for another six months, but it's slick.
 
monk said:
Huge security concerns. I am currently working on message board software that allows access to server-side objects without compromising security. It won't be ready to even demo for another six months, but it's slick.
You're smart.
 
Back
Top