Posterous

various ramblings

-- justin kelly

  • Blog
  • Home
  • Contact me
Archive for

September 2011

justin kelly


TwitterLaconi.ca/Identi.ca
justin kelly's profile »

Tags

  • linux (30)
  • php (20)
  • simple invoices (20)
  • bash (10)
  • chrome (10)
  • ubuntu (9)
  • google (8)
  • apache (5)
  • centos (5)
  • google apps (5)
  • View all 44 tags »
  • mysql (5)
  • dns (4)
  • shell (4)
  • svn (4)
  • zend_framework (4)
  • perl (3)
  • pinboard.in (3)
  • posterous (3)
  • project (3)
  • random (3)
  • vps (3)
  • bespin (2)
  • dropbox (2)
  • exlibris (2)
  • extensions (2)
  • gnu_screen (2)
  • hardware (2)
  • jquery (2)
  • media (2)
  • mongo (2)
  • vi (2)
  • aleph (1)
  • bzr (1)
  • dvcs (1)
  • git (1)
  • jolicloud (1)
  • json (1)
  • link (1)
  • netgear (1)
  • oracle (1)
  • rails (1)
  • redmine (1)
  • srv (1)
  • trac (1)

Archive

2012 (4)
January (4)
2011 (52)
December (3)
November (2)
September (8)
August (14)
July (8)
June (5)
May (7)
April (3)
January (2)
2010 (66)
October (5)
September (3)
August (2)
July (7)
June (6)
May (8)
April (8)
March (11)
February (13)
January (3)
2009 (31)
December (1)
November (2)
October (10)
September (10)
August (5)
March (1)
February (2)
Follow this Space »
You're following this Space (Edit)
You're a contributor here (Edit)
This is your Space (Edit)
Follow by email »
Get the latest updates in your email box automatically.
Loading...
Subscribe via RSS
September 19, 2011

Get the largest key in an array with PHP : How to

  • Edit
  • Delete
  • Tags
  • Autopost

Filed under  //

  • php
September 18, 2011

Get the number of seconds since Jan 1, 0001 in PHP : How to

  • Edit
  • Delete
  • Tags
  • Autopost
If you need to get the number of seconds since Jan 1, 0001 in PHP you can't use the normal date or time functions as they are based around Jan 1, 1970

Here is a simple function to get the number of seconds since Jan 1, 0001 (or any other date)

This date calc is required if you are using the ACH PaymentsGateway.com API

Requires PHP 5.3 and above

Filed under  //

  • php
September 16, 2011

Simple mcrypt encrypt & decrypt functions for PHP : How to

  • Edit
  • Delete
  • Tags
  • Autopost
After more searching through the php.net and stackoverflow comments below is the simplest way i have come around to encrypt & decrypt info in PHP

It works and only 1 line per function

Filed under  //

  • php
September 15, 2011

Simple PHP base64 encode/decode url safe functions : How to

  • Edit
  • Delete
  • Tags
  • Autopost

After searching through the php base64 comments I found the best way to safely encode and decode base64 url components

Filed under  //

  • php
September 3, 2011

@theage 10 articles today about sally pearsons gold at iaaf world champs, but only 1 line at richard colmans t54 gold wtf ??

  • Edit
  • Delete
  • Tags
  • Autopost
September 1, 2011

Creating a simple password confirmation field with Zend_Form : How to

  • Edit
  • Delete
  • Tags
  • Autopost

If you creating a user signup form with Zend_Form and need a password confirmation field just use the code below, its very simple but couldn't find any info on the zend framework site on how to do it

Filed under  //

  • php
  • zend_framework