Jeremy Wright sets sail to uncharted waters
July 27, 2009
Jeremy Wright publicly announced today that he has has left the helm of b5media.
My family owes a lot to Jeremy Wright. With Aaron Brazell, Jeremy brought me into b5media, full time in this world of new media.
I’d not have made many of the friends I have today or traveled to some of the places I’ve been, without Jeremy and his dream for b5. He’s a good friend and a good man.
Times have not always been easy, but Jeremy has had the courage to make the difficult decisions that allowed my family and many others to still put food on the table. This is only due to Jeremy’s leadership and the strength of those at b5’s helm. Other companies in our market space have not been fortunate enough to have the same caliber of leadership.
Thank you for all the hard work over the years Jeremy, from all of us.
Brian Layman’s Weekly Twitter Update for 2009-07-26
July 26, 2009
- Interesting way to make a font: http://bit.ly/OdpMy #
- I suddenly was hearing voices and beeps! I have http://wechoosethemoon.org/ open & they just seperated the lunar module for landing in 2 hrs #
- Ironically, George Orwell’s books are remotely removed from Kindles b/c you aren't allowed to "own" them. http://bit.ly/dbqQO HT @everyjoe #
- RT @tweetmeme Ensight – Jeremy Wright » How Google’s App Suite SHOULD Work http://bit.ly/15i51I #
- Rain rain go away come again sm other day. No seriously. I know for a fact it isn't raining 1/8 of a mile away & it's bn pouring 4 3hrs here #
- RT @RaquelTWG:"I just won Settlers of Catan for the first time ever." w00t! 3 Cheers for Raquel!!! Hip Hip… #
- Hiding from 2.5 hours of rain – Photo: http://bkite.com/09QYA #
- RT @APeatling: Just checked in a complete re-write of the forums component in BuddyPress. No more bbPress integration nightmares. Still WIP. #
- 4 hungry barn swallow chicks… – Photo: http://bkite.com/09R5m #
- MOM! MOM! MOM! MOM! MOM! MOM! MOM! MOM! MOM! – Photo: http://bkite.com/09R5y #
- RT @whitelabelspace: Bolden: NASA 'cannot continue to survive on the path that we are on right now' New NASA Administrator http://tr.im/tq0D #
- RT @TechCrunch Amazon Buys Zappos… whoa… http://tcrn.ch/Fo3 #
- RT @wailinglist NEW DESIGN: "BAILOUTS – From each according to his ability, to each according to his lack thereof." http://www.cli.gs/7LYG3e #
- NP, that's the same access I have except when I use Kelly's PW. You are also now marked as this meeting's organizer. #
- RT @wptavern: Great article explaining the similarities & diff between the founders of WP and Drupal – http://is.gd/1ItAt #
- RT @cre8tivkjI saw this in Family Fun Magazine. It looks like a total blast for my kids. It's the Foamerator: http://bit.ly/2u9cls #
- RT @kimparsell @jefflee Join me @brianlayman, @wptavern & 12+ more at OH #WordPress #meetup tonight 7-10PM @cowork_akron http://bit.ly/LYn0H #
- RT @alexknowshtml: wanna get 110 viewers on your justin.tv stream in 5 minutes? stream an encounter with the police. (NOT recommended – b.) #
- The Cambridge Incident Rpt & the Supplement created 1hr after call to scene. Read b4 you judge: http://bit.ly/14UuLq #
- An explanation that fits everything is that this Harvard Prof has just made himself to hot (for whoever broke down his door AGAIN) to touch. #
- Have a nice full turn out for the WordPress meetup. All the corners of the tables are full! It's a good sign.. – http://bkite.com/09VK6 #
- Sitting at the table with @InventionRocks @wptavern @jefflee @kimparsell @myfivebest @Jeffcharles1 and half a dozen others, talkin WordPress #
- The NorthEast Ohio WordPress Meetup ppl just informed me that the Taco Bell dog died. poor Gidget
(( # - Eastwood, per usual, far exceeded any expectations I might've had for Gran Tarino. It was v good. The language will be v offensive to some. #
- yum. Peanut butter toast & coffee #
- I'll be listening to the Blog World/New Media Expo 2009 Update on #BlogTalkRadio – http://tobtr.com/s/621678 #
- My condolences go out to the bloggers caught up in the turmoil around Shiny Media right now http://bit.ly/Exu5h It can't be easy atm… #
- Importing another 30 or so blogs into a WordPress Mu setup… This stuff is habit forming… #
- Giving up on work for the day… time to get some other odds and ends done for now. #
- At District Conference again. Denise is a Delegate again this year. The kids are off having fun and I'm seeing s… – http://bkite.com/09ZxG #
- Any one else at the Church of the Brethren, Northern Ohio District Conference? #COB #
- RT @DebNg: I want to interview bloggers who received sponsorships 2 conferences, etc.If that's you or someone you know, DM DebNG #
- The current topic is the discorporation of the Eagle Creek Church of the Brethren est. 1875 in Hancock County, OH – http://bkite.com/09ZLm #
- The location of Eagle Creek, probably once supported dozens of farming families. http://bit.ly/14WKCy Now corpor… – http://bkite.com/09ZMh #
- Recognizing pastors who have served their churches well for years. The last four have served for 62, 63, 64 and … – http://bkite.com/0a05e #
- The elder care center is reporting. They are worried about the impact of a section of the new health care bill r… – http://bkite.com/0a0gx #
- Monthly counseling ppl to move from a senior center to a hospice, "just take a pill and die", helps pay for the … – http://bkite.com/0a0hk #
- Brian is life castng from his phone again? What's that all about??? http://qik.ly/Z6FG #
- The Jack and Deb Miller Chapel at Ashland U – Photo: http://bkite.com/0a12g #
Brian Layman’s Weekly Twitter Update for 2009-07-19
July 19, 2009
- RT @tweetmeme TehCrunch and The Twitter Documents | One By One Media http://bit.ly/PyrGo #
- RT @CaseySoftware: – An Open Source Language Smackdown! Laura Thomson (@lxt) is in PHP's corner. Be there or be a Rails guy http://bit. … #
- RT @CaseySoftware: http://bit.ly/KQzUC An Open Source Language Smackdown! July 22 7pm PST Be there or be a Rails guy #
- RT @donncha: RT @buddypressdev: BuddyPress 1.0.3 is out now, with full support for WordPress MU 2.8.1: http://bit.ly/liqH8 #
- Follow the virtual Lunar landing 2day: Apollo 11 @AP11_SPACECRAFT Mission Control: @AP11_CAPCOM Lunar Module: @AP11_EAGLE #
- RT @campingblogger & @vatourismpr: Feed your hunger 4 outdoor adventure at Heart of Appalachia & Blue Ridge State Parks http://bit.ly/3vH1a7 #
- RT @technosailor: Berkman Center publishes "legal opinion" on the @TechCrunch / @twitter stolen documents issue. http://bit.ly/QpwgQ #
- RT @rhettmc: PEZ is trying to shut down the museum featured in our song. Spread the word, don't let this happen http://bit.ly/TLimH #PEZFAIL #
- Hey Tomorrow is the 3rd Friday Akron Tweetup Our 5th tweetup. Are ya comin? Venue: http://bit.ly/3cKGR5 Target Time: 6pm #
- RT: @SuzukiScoop said "Custom B-King anyone? SWEET!: http://bit.ly/DYP5l " Whoa SWEET bike! #
- RT @johncmayer: The reason beds have space underneath them is so that you can have a place to put your cereal bowl when you're done with it. #
- RT @chrispirillo: CNN.com Live with @guykawasaki now: http://live.pirillo.com/ – on @TechCrunch publishing Twitter docs. #
- RT @CallieSink: More of the best of Akron #FF @AllysonFord @downtownakron @jodibrooks @TheBizWoman @paulbeen79 @ericmansfield #
- RT @taxgirl "Darn those GS and their false advertising! I have been eating Thin Mints for weeks now & am, in fact, not thinner." same here:( #
- I've changed Skype to have my cell # for caller ID. Now when use skype to call & find my lost my phone, I get voicemail &no ringing. FAIL
# - Boy you can get lots of retweets from bots if you include, in all caps, the word FAIL and probably #FAIL #
- HEY @bigdog_33 Congrats man! @lildog_0.1 looks half grown already. http://bit.ly/17lWpE He's thinkin"You're gonna post this aren't you…" #
- Workin at my Akron office. Rode the bike in which was cool but for the last 2 min when I was wishing I had a sn… – http://bkite.com/09HJx #
- RT @joetek: Wow! Powerful clip of Mr Rogers at the Senate talking about Public Broadcasting: http://bit.ly/CEc3U (via @liamnickerson) #
- Mr. Fred Rogers lobbies for & wins $20mil for the founding of the Corporation for Public Broadcasting http://bit.ly/CEc3U #
- Please unfollow or block @ebusaf for direct message spam, costing ppl $$ for text msgs & ruining a useful @Twitter feature #unfollowRT #
Brian Layman’s Weekly Twitter Update for 2009-07-12
July 12, 2009
- Wow – Feeling MUCH more energetic after an unplanned 5 hour nap… #
- Well I proved I can still sleep on the hard ground in a tent without an air matress or cushion… Yay me!… ow… #
- Oh& the missing vidcam, last seen in possession of my 6yo 3 wks ago, was found yesterday in the boy's toychest "no idea how it got there"
# - Please unfollow @fit_coach for unsolicited DM spam & text message charges on our cell phone bills #UnfollowRT #
- Getting ready to get back to work after the long holiday weekend. #
- Now trying to figure out why @jeremywright is talking about @MaryeAudet and Spandex… & I'm wondring what Marye was up to over the weekend #
- OOOOhhhhh Super hero outfits! That's what @MaryeAudet and @jeremywright were talking of. Well as long as the spandex is used in a classy way #
- XHTML 2 RIP – XHTML senile – HTML 4 the standard – HTML 5 matures in 2022 Read: http://bit.ly/antXf & http://bit.ly/jaGsc #
- RT@indytide: Please Mr. President, no more stimulus. The original stimulus, that was to be stimulated by the 2nd stimulus, never stimulated. #
- RT @markshaw: Twitter is a communication channel and not a broadcast station. So listen & engage with people. #favorited #
- RT @tw3nty3ight: Check it out! 28Photos.com Giveaway!!!!! http://trunc.it/r305 Please RT! #OHIO #
- RT @linklamont: Live Broadcast at 4:30pm today. Read the scoop- http://bit.ly/igF5 #
- Man, who know Dee Snider was an inspirational writer… http://bit.ly/8iBsC #
- On Facebook (or just about any online forum)? New Algorithm Can Guess Your SSN – http://bit.ly/QbByn #
- hmm, having serious doubts that half the people there, including Michael, believe that they are going to see the King #
- Cool, another celeb on Twitter. Be sure to follow @joshzepps You've seen him Discovery's Brink & Nick at Night's The Hunt & on Starz #
- Brian Lundmark, Thriller Wedding Dance dude, asks "Can you submit an entire state to FailBlog?" http://rockwoodcomic.com #
- 12 minutes till the time and date is 12:34:56 7/8/9 Wait for it… WAIT FOR IT… #
- Watching The Fall Guy episode 2 on Hulu while eating a bowl of Corn Pops (can you say comfort food) and waitng for 12:34:56 7/8/9 #
- badaboom badabing… #
- RT @angsuman: Tech 101: How a denial-of-service cyber attack works, and how to keep your computer safe ( http://bit.ly/31OwC ) #
- Want a sneak peek at the new b5University logo? Or maybe $200 for your winning logo design? Go to http://bit.ly/b5ULogos #
- RT @Ustream: CBS News on UStream: H1N1 DC Briefing Live- Did anyone get the Swing Flu this year? http://bit.ly/18bAGy #
- ooo #SuperChick's Rock What You Got for only $5 cool http://bit.ly/juC4T http://www.superchickonline.com/blog/ Good band #
- Having definite second & third thoughts about the left over spaghetti I didn't finish for lunch. As long as it isn't a 2nd sighting I'm good #
- RT @problogger: Advertise on ProBlogger – we have a couple of ad spots open. Contact chad@b5media.com or contact him @NINJACHAD #
- Have had to reset my wiresless router 3 times in as many days. Not cool #
- RT @caseymultimedia: Anyone love Firefly? I made a Behind-the-Scenes video for the new movie, Browncoats: Redemption: http://bit.ly/11UYgD #
- Make that 4 times #
- RT @joetek: Rogers debuts 50Mbps internet service! Say what? http://bit.ly/fB9Ne #
- RT @twilight_tweet Robert Pattinson Rocks the Blue Shirt on ‘Remember Me’ Set (Just a test folks really – dont be scared) http://is.gd/1sDYj #
- Don't download "flash updates" from any short-url link on twitter for a cpl days. Dets on the Koobface.DC Twitter worm: http://bit.ly/5OVF5 #
Brian Layman’s Weekly Twitter Update for 2009-07-05
July 5, 2009
- RT @dlayphoto: Can u help? #Eric needs a new heart. Please spread the word. http://weloveeric.com #fryretweet #
- I've had 3 wins in 3 days. That's a good thing… #
- RT @problogger: New at ProBlogger: Become a Blogger Reopens for 5 Days Only – Now Cheaper Than Ever http://twurl.nl/5ad6wk #
- Hey @jeremywright Happy Birthday Mr. Thirty Something… #
- RT @cstricklin & @southernmuse: At five minutes and six seconds after 4:00 am on July 8, the time and date will be: 04:05:06 07/08/09. #
- This is too funny: RT @weirdnews: Crowd grabs goodies and foils airline stunt http://bit.ly/17QfTc #
- We've launched several site reskins w/ Albert Culver's @TRESemme. Whatja think? http://bravofan.com http://newtotv.com http://starked.com #
- RT @cathymcrae & @newsjunkie365: CNN I love you but MSNBC talking terrorism. Fox News talking economy. CNN talking Michael Jackson. #CNNfail #
- 3/2009 Hossa "if I go somewhere else I cd hv more but I'm willing to take less to stay [in Detroit]." 7/2009:12yr $63mil Chicago deal signed #
- Cool picture of a volcano erupting as seen from the space station. It zooms in really cleanly too http://bit.ly/15ICit #
- In a post written by MoJo JoJo, Joomla drops all non 100% GPL extensions from its on-line directory http://bit.ly/ynLVP (HT @technosailor) #
- Do you use #WordPress MU?@donncha is looking for input: Do you use get_blog_option()? Feedback please http://bit.ly/uhI9R #
- RT @blogworld: check out @debng 's post Why it Pays for Brands to Monitor the Social Networks. Also read Rebeka's cmt: http://bit.ly/12Tcv6 #
- RT @technosailor: The Washington Post did more today to kill mjr media than bloggers cd ever do – RT @batterista: WP RIP http://bit.ly/tYxHQ #
- RT @ScottAllen: Lisa Marie Presley's heart-wrenching post about Michael Jackson & parallels to her father: http://is.gd/1lGUM -Worth reading #
- RT @joetek & @photomatt: bbPress has gone 1.0! http://bit.ly/bbpress10 #
- It is hard to do the right thing when it won't be appreciated & will be seen as being naive instead of focused See also http://bit.ly/19pnIE #
- Thus my total inability to make any progress on anything today. #
- Congratulations to Aaron @technosailor Brazell former @b5media Directory of Technology on his WordPress book deal: http://tinyurl.com/lrt9jl #
- RT @joetek: This is just bizzare! RT @everyjoe: Football Player Fined for Michael Jackson Tribute http://tinyurl.com/ksbd3j #
- Please unfollow @briankellyicon for unsolicited DM spam & text message charges on our cell phone bills #UnfollowRT #
- RT @campingblogger: RT @AlpineInstitute @NatlParkService Independence Day celebrations and programs in your National Parks http://ow.ly/gsKB #
- RT @sxswPublic Service Annncment: One more week to get your Music, Film Interactive panel ideas in for SXSW 2010 http://panelpicker.sxsw.com #
- RT @linklamont: Happy 4th! Thanks for sharing our Fireworks Song for the holiday! http://bit.ly/Z5gtU #
- I don't understand why ppl are still talking of Sarah Palin. She's not now & nevr was a serious candidate for any executive office position. #
- Apparently , I sometimes stuttutter when I type "fedederal" #
- Brian is life castng from his phone again? What's that all about???
http://qik.com/video/2081030 # - Brian is life castng from his phone again? What's that all about???
http://qik.com/video/2081199 # - Brian is life castng from his phone again? What's that all about???
http://qik.com/video/2081495 # - Brian is life castng from his phone again? What's that all about???
http://qik.com/video/2081737 # - Brian is life castng from his phone again? What's that all about???
http://qik.com/video/2082246 #
How do you get the current directory name in PHP?
July 1, 2009
I ran into a situation where I wanted to get the name of the directory I was in, in PHP. To be clear, I didn’t want the full path, just the directory/folder name
To be clear, if I was working in the directory:
/home/username/public_html/addonname
I wanted to have addonname returned.
I worked out two solutions.
The first solution used the getcwd() function which returns the full directory path as shown above but to use the basename function to get the part I needed. It worked so… “echo basename(getcwd());” returns “addonname” in this scenario.
That would meet my needs perfectly. I believe that matches my requirements in spirit, but was not literally correct. That statement returned the current working directory, but not the directory where the file was located. In fact, PHP 4 and PHP 5 differ when getcwd() is called from the command line. If you are in the ‘/’ directory and execute “php /test/talktome.php“, a php 4 getcwd() in that file will return the path “/test” while PHP 5 will correctly return ‘/’.
To resolve this, this next call works even better:
“echo basename(dirname(__FILE__));“
Does anyone want to do some speed tests to see which is faster after 10,000 calls? Let us know your results.

