[nycphp-talk] updating code from php 3 to 5.2.6: pity me!
y2rob at aol.com
y2rob at aol.com
Fri Jun 5 15:58:37 EDT 2009
wait there's no more HTTP_POST_VARS....crap damn to hell?!?!?!?
:P
~rob
-----Original Message-----
From: David Mintz <david at davidmintz.org>
To: NYPHP Talk <talk at lists.nyphp.org>
Sent: Fri, 5 Jun 2009 2:37 pm
Subject: [nycphp-talk] updating code from php 3 to 5.2.6: pity me!
Just want you all to feel sorry for me for a second.
Once upon a time, in the days of PHP3, someone coded a site (ok, it was me). Besides being a poster child for some of the world's worst practices, this code presumes register_globals and does a? lot of other long-deprecated things. At long last, I am migrating to? a new host and updating to PHP5. And discovering, for example, that there's no such thing as HTTP_POST_VARS any more.? I am also introducing a nifty new language construct knowns as 'foreach.' Gonna to be doing a lot of grepping and perl -i -p -e '/bad code/good code/g' today.
End of whine.
--
David Mintz
http://davidmintz.org/
The subtle source is clear and bright
The tributary streams flow through the darkness
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20090605/7b0e77df/attachment.html>
More information about the talk
mailing list