Archives for: "July 2009"
Phone Number RegExp - PHP
Jul 30th
Matching a phone number, with a regular expression, and disregarding any extraneous characters.Useful for searches, not validation.<?php$aPhoneNumbers=array('7085556232','1(708)555-6232','(708)555-6232','708.555.6232','1.708.555.… more »
SugarCRM Extension/Modules/Integration Notes
Jul 24th
Under custom/Extension/modules/[module to extend/modify]/Ext/Menus add a [new module].ext.php file with the additional menu options.
If you want to change a menu option, loop through the menu array and replace that option with the new one, in the menu.e… more »
Rebuilding PHP Under CentOS5
Jul 7th
Configure firewall to allow httpd requests: system-config-securitylevel
Get PHP development RPM: http://rpm.pbone.net/index.php3/stat/4/idpl/8077900/com/php-devel-5.1.6-20.el5.i386.rpm.html
Get PHP source RPM: ftp://ftp.pbone.net/mirror/ftp.cen… more »