KBD

Keith Devens .com

Tuesday, October 14, 2008 Flag waving
And certainly both Horses were doing, if not all they could, all they thought they could, which is not quite... – C.S. Lewis (The Horse and His Boy, ch 10)
← Entry 1191Entry 1193 →

Daily link icon Monday, January 7, 2002

Entry 1192

Damn. Is there any way to turn off the Zend Optimizer?! It's making debugging my scripts much harder... basically, you run your script one time and it works, output is there, etc. Then you change something and break your script, but you don't know because the optimizer has cached the last working copy and sends that to the browser. That's the same type of behavior you get with JSP code, and was one of the things that made developing in that environment such a pain in the butt.

Well, I solved my problem without turning the optimizer off. Turns out the version of mcrypt my current host is using accepts a blank encryption key, while my new host's version of mycrypt doesn't! So all I had to do was make up a key and feed it to mcrypt and everything worked.

← Entry 1191Entry 1193 →

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

October 2008
SunMonTueWedThuFriSat
 1234
567891011
12131415161718
19202122232425
262728293031 



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

Recent comments XML

new⇒Spider solitaire

I have now won, at the "Difficult"​level, 186 games of Spider​Solitaire.  I...

75.179.28.113: Oct 13, 9:34am

Girls, please don't get breast implants

Please, don't marry him.

You​want to get surgery to make​yourself more i...

gigi: Oct 12, 11:47pm

I hate PHP

Elliot Anderson,

Dude!! You the​man! The reverse replacement for​array_u...

Alex Ndungu: Oct 11, 1:35am

Call a function from a string in Python

?!code:
some_object.__getattribute​__('method_name')()
?!/code

is​the s...

Patrick Corcoran: Oct 8, 3:53pm

Sed one-liners

Hi.

I wanted to let you know​that I wrote an article "Famous Sed​One-Lin...

Peteris Krumins: Oct 8, 3:05am

Generated in about 0.219s.

(Used 8 db queries)

mobile phone