KBD

Keith Devens .com

Thursday, December 4, 2008 Flag waving
If we wish to count lines of code, we should not regard them as *lines produced* but as *lines spent*. – Edsger Dijkstra
← QuickiesExplanation of PHP's new debug_backtrace() function →

Daily link icon Tuesday, January 14, 2003

Woo! PHP 4.3.0!

I just noticed, because of an error message that now points to the PHP documentation, that Hosting Matters just upgraded the server my site runs on to PHP 4.3.0. Woo. --with-pear too, which I don't think we had before (now I can try out ITX if I want to Smiley winking ). 4.3.0 has GD included, so I may do funky stuff with graphics soon Smiley

But oops, they didn't compile it with the IMAP libraries, so now my e-mail program doesn't work... time to put in a support ticket...

I also noticed that the use_trans_sid session flag was re-enabled for my site. It turns out it's only changeable at the "PHP_INI_SYSTEM" and "PHP_INI_PERDIR" level, and can't be changed at run time by ini_set, even though the code I used before:

<?php
ini_set
('session.use_trans_sid''0');
?>

seemed to disable it. So I wonder if this is a new restriction on it. Anyway, I disabled it at the .htaccess level by adding this line:

php_flag session.use_trans_sid off

As a side note, aside from the output of PHP's highlight_string() and similar functions not being valid XHTML, their URL rewriting isn't valid either because it doesn't escape the ampersands (&) that are added to URL's to append the PHPSESSID. Though, Mark Pilgrim probably doesn't care anymore Smiley winking

← QuickiesExplanation of PHP's new debug_backtrace() function →

Comments XML gif

Diego A. wrote:

Grrrrrrrr... You lucky, lucky brainiac! Smiley sticking out its tongue

Especially with GD. Maybe one day i can finally use hostmatters. One project fell through, and i can't give up my $25 per year hosting since it still is great. A lot of features have been given up for price and security, but i still love them. Also, I have nothing else that justifies using hostmatters.com even for that great price for so much quality and features.

∴ Diego A. | 14-Jan-2003 2:37am est | #1266

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 4 posts

Recent comments XML

Girls, please don't get breast implants

I have 34 A breast but at 22 years​old they seem to be growing again​which ...

76.64.120.153: Dec 3, 10:00am

Perl 6 1.0 in March?

Doh, my mistake. I'm aware of the​relation between Parrot and Rakudo​but I'...

Keith: Dec 2, 1:03am

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

Generated in about 0.196s.

(Used 8 db queries)

mobile phone