Posts Tagged ‘php

Sometimes, an auto-generated number isn’t enough and what you really need is a unique identifier. Several people have different techniques for generating their unique identifiers. My favorite has been generating a random number and then hashing it through the md5 hash generator. Here’s an example I was once using:
<?php $unique_identifier = md5(rand(100000, 999999)); ?>
The problem [...]

Git is currently my favorite source code versioning tool and while I used Subversion, I knew about something called hooks that I never used.
Essentially, hooks allow you to execute custom scripts when you perform certain actions on your repository like committing files, pulling updates and so on. This is a very useful as you can [...]


About this blog

Tim Akinbo's Weblog is the personal weblog of Tim Akinbo. Here he discusses issues relating to technology. Special interests include the web, mobile technology and location based services.

Photostream

    Panel Session on Realizing Nigeria's Internet PotentialDelegates during Justin's Keynote PresentationBarCamp Attendees 1main hallmain hall 2main hall 3
  • Ola White: Its what we've been waiting for for so long... Its time to get the buzz on... i just hope it w [...]
  • Kizito S.M.: What I gather is that this G-Buzz is something like a blend between Facebook Updates and Twitter fol [...]
  • concept37: They are trying to out-facebook facebook and out-twitter twitter, Folks who want to do these things [...]
  • ray: Funny u took it from the LBS angle, which makes better sense. But from the social networking perspec [...]
  • Ahmad Mukoshy: I've been using uniqid() for months now ;) #Lolz . I came across it on the php docs web site af [...]