On Mon, Jun 03, 2002 at 11:15:15AM -0600, Jas wrote:
>
> In order to view the contents of the file in the
> text area I had to setup a eregi_replace("<","&a&") string.
&'s are not legal in HTML. You need to escape them. When pulling stuff
out of the file, use htmlspecialchars() before displayi
You should either do this with ereg, or strtolower and not a combination of
the two, and in all actuality strtolower is specifically desinged to do this
very easily so I would go with it.
";
$contents = strtolower($contents);
?>
Should do what you want.
--
phill
"Ian LeBlanc" <[EMAIL PROTECTED
2 matches
Mail list logo