[thelist] Pass vars to HTML in PHP

Christian Heilmann codepo8 at gmail.com
Mon Apr 10 04:36:46 CDT 2006

> <table>
>   <tr>
>     <td bgcolor="#<?php echo ((strlen($_GET['color'])==6) ?
> $_GET['color']  : '339933' ); ?>">
> Although i haven't tested it.
> You probably know all this anyway, but I thought it worth pointing out for
> those who don't.

Ouh I wished I had time. Shall we have a "write the most malicious
code in 6 characters" competition? :-)

Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/

More information about the thelist mailing list