Reply to Re: The Mediator pattern in PHP 5

Your name:

Reply:


Posted by Oli Filth on 10/10/68 11:34

FluffyCat wrote:
> I finally pieced together what I think is a good example of the
> Mediator Pattern in PHP 5. See what you think.
>
> http://www.fluffycat.com/PHP-Design-Patterns/Mediator/
>
>
>
> I have, per request, tried to simplify my test program structure a
> bit. testMediator.php has only one html tag in it - a <BR>. This is
> in my new writeln() function, which adds '<'.'BR'.'>' to each line and
> echos. If you just add a '<BR>' after each line the program would run
> fine, but the source code would not display properly.

htmlspecialchars()?
http://php.net/htmlspecialchars

--
Oli

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация