KBD

Keith Devens .com

Monday, December 1, 2008 Flag waving
in God I trust; I will not be afraid. What can mortal man do to me? – David (Psalm 56:4)
← New URL scheme workingCaching with Smarty →

Daily link icon Sunday, March 23, 2003

New Archive URLs

Hey, check me out...

http://www.keithdevens.com/weblog/archive
http://www.keithdevens.com/weblog/archive/2003
http://www.keithdevens.com/weblog/archive/2003/Mar
http://www.keithdevens.com/weblog/archive/2003/Mar/23

Smiley

How do you like the formats?

← New URL scheme workingCaching with Smarty →

Comments XML gif

ideoplastos (http://www.ideoplastos.net) wrote:

Cool!

∴ ideoplastos | 23-Mar-2003 11:29am est | http://www.ideoplastos.net | #1630

ideoplastos (http://www.ideoplastos.net) wrote:

Whoops?:Notice: Undefined index: preview in /home/keith/kbdcms/Modules/weblog_module.php on line 182

Notice: Undefined index: email in /home/keith/kbdcms/Models/weblog_model.php on line 80

∴ ideoplastos | 23-Mar-2003 11:29am est | http://www.ideoplastos.net | #1631

Keith (http://www.keithdevens.com/) wrote:

Thanks. I severly broke my site for a while early this morning. I was working on my KISML parser (shhhh) to add a feature I wanted, but I was too lazy to copy the library so I wouldn't have to work on my live site, so things broke for a while.

Furthermore, I turned on all PHP notices from my .htaccess file, so no longer can I say things like:

$foo = $arr['bar'];

I have to say:

$foo = (isset($arr['bar']) ? $arr['bar'] : NULL)

Every fucking time so that PHP doesn't give me notices. That's why you were getting the warning. Thanks for letting me know.

Keith | 23-Mar-2003 1:37pm est | http://www.keithdevens.com/ | #1632

Keith (http://www.keithdevens.com/) wrote:

In fact, to fix this error, I had to turn a line from

$c_email = addslashes($comment["email"]);

into:

$c_email = isset($comment['email']) ? addslashes($comment["email"]) : NULL;

How annoying is that?

Keith | 23-Mar-2003 1:39pm est | http://www.keithdevens.com/ | #1633

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)
:

December 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



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

Recent comments XML

new⇒Free image hosting sites

Well, TinyPic has this in its​FAQ:

> Images and videos is in​your accoun...

Keith: Dec 1, 1:13am

Join a NameValueCollection into a querystring in C#

Well with a lamba expression, this​is what I came up​with:

?!code:csharp...

Gustaf Lindqvist: Nov 30, 4:38pm

Why no generic OrderedDictionary?

Check​http://www.codeproject.com/KB/recip​es/GenericOrderedDictionary.aspx?d...

Gabrielk: Nov 27, 6:57am

WhatIsMyIP.com

http://www.thesysteminfo.com is​another good alternate to​whatismp.com... I...

Kripz: Nov 26, 8:51pm

Girls, please don't get breast implants

Actually I think it's sweet when a​man loves a woman whether she's big​or n...

218.186.12.228: Nov 26, 9:40am

Generated in about 0.171s.

(Used 8 db queries)

mobile phone