[thelist] Links and Spiders (PHP solution)

Lachlan Cannon luminosity at members.evolt.org
Sun Dec 29 20:51:01 CST 2002

Timothy J. Luoma wrote:
> My site is not so busy that I'm too concerned about efficiency, and I'm a
> pretty new PHP slasher ("hacker" seemed too refined for what I do).
> Can I just leave off the quotes, even around things like $MESSAGE that
> might be multiline, etc?

Yep, you never need quotes around variables. Personally I use '' for my
quotes and concatenation when I chuck a variable in so my variables
never get a string around them, eg.
$content = '<h1>'.$_SERVER['HTTP_REFERER'].'</h1>';
and so on.
Web: http://illuminosity.net/
E-mail: lach @ illuminosity.net
MSN: luminosity @ members.evolt.org

More information about the thelist mailing list