[wp-hackers] PHP one liner

Kitty kitty at mookitty.co.uk
Tue Dec 14 13:22:42 UTC 2004


On Tue, 2004-12-14 at 04:42, Oliver Schwarz wrote:
> nice code, could also be done with:
> <?php $page = basename ($_SERVER['PHP_SELF']); ?>

Yep, sure enough. The breadth of the PHP language can be huge, sometimes
annoyingly so. Don't get me started on the mashup naming conventions.
-- 
Cheers,		     Blog: http://blog.mookitty.co.uk
Kitty		     PC Repair: http://www.girltech.net
		     WP Plugins: http://mookitty.co.uk/devblog
Support proactive security: http://www.openbsd.org/orders.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : /pipermail/hackers_wordpress.org/attachments/20041214/37d00f2e/attachment.bin


More information about the hackers mailing list