# testy-test

**URL:** <https://boards.straightdope.com/t/testy-test/206523>\
**Category:** About This Message Board\
**Created:** [October 9, 2003, 7:32pm UTC](https://boards.straightdope.com/t/testy-test/206523 "2003-10-09T19:32:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenensky](https://avatars.discourse-cdn.com/v4/letter/k/8dc957/32.png) [@kenensky](https://boards.straightdope.com/u/kenensky)\
**Post date:** [October 9, 2003, 7:32pm UTC](https://boards.straightdope.com/t/testy-test/206523/1 "2003-10-09T19:32:39Z")

</div>

It begins!  
(That wasn’t so hard, don’t know why I waited so long…) Hm,

```php
what's this do?

```

Ah, it’s nice and blue. Wish I had someone to quote or something to link. And this one:

```auto

monospace text?

```

Cool. Let’s see: Opal, 1920’s style death rays, and pie. Alright, I’m ready – off to GQ to ask about echoing ducks and -gry words and complain about the speed of the boards…

---

<div class="post-metadata">

**Author:** ![C\_K\_Dexter\_Haven](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@C\_K\_Dexter\_Haven](https://boards.straightdope.com/u/C_K_Dexter_Haven)\
**Post date:** [October 9, 2003, 9:14pm UTC](https://boards.straightdope.com/t/testy-test/206523/2 "2003-10-09T21:14:01Z")

</div>

Welcome to the Message Boards, **kenensky** , good luck.

---

<div class="post-metadata">

**Author:** ![Q.E.D](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Q.E.D](https://boards.straightdope.com/u/Q.E.D)\
**Post date:** [October 9, 2003, 10:01pm UTC](https://boards.straightdope.com/t/testy-test/206523/3 "2003-10-09T22:01:20Z")

</div>

The PHP tag does more than color text blue. It color-codes various PHP keywords, operators and constructs. Take a look at this code fragment, part of another bulletin board package I work with:

```php
elseif ($outputtype=='file' || $outputtype=='show')
{	if ($contenttype=='text')
	{	$mime = 'text/plain';
		$ext = '.txt';
	}
	else
	{	$mime = 'text/html';
		$ext = '.html';
	}
	if ($outputtype=='file')
	{	Header('Content-Disposition: filename=topic');
		Header("Content-type: application/octetstream");
	}
	else
	{	Header('Content-Disposition: inline');
		Header('Content-Type: '.$mime);
	}
	Header('Expires: 0');
	Header('Pragma: no-cache');
	echo $output;
}

```
