journal
all ![]() | Rob is 20,117 days old today. |
Sept 2007 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Nov 2007 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2006 jan feb mar apr may jun jul aug sep oct nov dec
2008 jan feb mar apr may jun jul aug sep oct nov dec |< << more >> >| |
Entries this day: The_world_is_becoming_a_better_place To_do Today_at_work Train_ride_nihongo The world is becoming a better place 5:27pm JST Wednesday 31 October 2007 (day 13734) Thanks to free software, the world is getting better and better. HI Ed Thank you for your Flickr extension! Unfortunately, it won't work on my webserver. I tracked down the reason and added a check to your code. http://wiki.edsimpson.co.uk/index.php/Flickr_Extension#Installation I added if(! ini_get('allow_url_fopen')) { $output = "<strong class='error'>Flickr.php error: this PHP install does not allow_url_fopen</strong>"; return $output; } I'm going to check into my webhost provider (dreamhost) to see if I can change the setting. Thanks! - Rob -- The love that you give is the pain that you release. Basically, I found some awesome free software extension that lets me add to the already awesome free software that powers wikipedia. The extension, unfortunately, won't work on my server because of a security thing they've got set up. So I went to the extension author's site and made the change (in his wiki) as mentioned above, then sent him the email. Awesome. 6:04pm JST Even better: Dreamhost documentation showed exactly how to use a more secure tool to do this. Even gave the code sample. Now it works on my server, and I've patched the code mentioned above with the code below. # use cURL if we can't use file_get_contents if(ini_get('allow_url_fopen')) { $rsp = file_get_contents($url); } else { $ch = curl_init(); $timeout = 5; // set to zero for no timeout curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $rsp = curl_exec($ch); curl_close($ch); }permalink To do 5:04pm JST Wednesday 31 October 2007 (day 13734)
7:50pm JST Oh wait. fuck all that. I need to make the image thing work with SmugMug permalinkToday at work 5:17pm JST Wednesday 31 October 2007 (day 13734) Pretty good day at work today, if I count all the stuff I did for my website and chatforest. For work, I explained what was causing an error that they were about to retract all the files that got moved online today to fix (it wouldn't have fixed it), and I added my nice date checking code to another page with dates. permalinkTrain ride nihongo 2007年10月31日(水)19時17分 (13734日目) かえる!かえる!カエ〜〜ル!ケロッ み2! 三つ
18:59中目黒にとちゃく おけ。
路武は座る permalinkprev day next day |