KBD

Keith Devens .com

Wednesday, July 9, 2008 Flag waving
The reason to do animation is caricature. Good caricature picks out the essense of the statement and removes everything else.... – Brad Bird, writer and director, The Incredibles (The Incredibles DVD, behind the scenes, character design)
← Entry 1668Entry 1670 →

Daily link icon Monday, March 18, 2002

Entry 1669

PHP's magic quotes to be disabled by default?

It looks like they may disable magic quotes by default in PHP version 5. While that's a great step, it doesn't change the code you have to write unless it's gone altogether. If you want to write portable code that doesn't break when someone changes an ini setting, you have to test get_magic_quotes_gpc() everywhere. Next best, however, would be the ability to disable magic quotes on the script level - an ability which doesn't exist now because of the way PHP parses input. If I could turn magic quotes off at the top of my script I'd be very happy.

You know, if I ever got involved in hacking PHP, that'd be the first thing I'd want to fix. The PHP source seems very readable... I should really look into getting involved.

← Entry 1668Entry 1670 →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

July 2008
SunMonTueWedThuFriSat
 12345
6789101112
13141516171819
20212223242526
2728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

getElementsByClass function

http://pitfalls.wordpress.com/2008/​07/07/querying-it-jquery-way-getele​ments...

maxgandalf: Jul 7, 5:50am

Generated in about 0.159s.

(Used 8 db queries)

mobile phone