Ok, here's the scenario:
A textarea in a CMS is used to put text onto a web page. So far so good, fairly standard stuff. Somewhere amongst that text is a call to an external snippet of php. Example text in the textarea:
[FONT=Courier New]Please complete the form below to register
[script]form.php[/script]
Don't forget to complete all fields[/FONT].
The CMS will parse this and output the result to the web page. When it hits [script]form.php[/script] it will pull in that external PHP file, which will contain some PHP and some HTML.
Then this whole block of text will be output. The problem is, this whole block of text will contain various other tags that PHP is happily turning into HTML (ie an
will be turned into a standard <img> tag). The processing of all of this text is not finished when a [script] tag is found: in the example above, there's additional text after the [script] tag.
How to tell PHP to effectively process that external snippet and place the result of the processing into the text at the point of the [script] tag, as HTML. Calling include() or require() will cause that snippet to be processed and output at the point it's called, not along with the rest of the text.