Archive for the 'PHP' Category

Sheep In The Box Source Code Release

Tuesday, September 26th, 2006

Many of you who attended HITBSecConf06 might seen Sheep In The Box on the big projector. Basically it’s a php script that read ettercap sniffed log file. For those are interested to setup one and play around with it, here is the php source code release. Have fun!

Error in suphp.c on line

Friday, July 7th, 2006

Am experimenting suphp on several servers for security reason. During installation, I have encoutered few error messages and problems. Here are what I want to share;
Error in suphp.c on line xxx
After suphp installation, fire up apache web server. Misconfiguration error message displayed on the site, and it said, “read error log file”. tail the error [...]

PostgreSQL 8.1.4 Security Patch Release

Monday, May 29th, 2006

Late is better than never! PostgreSQL has release latest security patch version 8.1.4 last week. There is possible of SQL injection attack if you are still runing older version of PostgreSQL with multibyte encoding. Read the release FAQ here.

Apache and PHP Setup on Mac OS X

Sunday, April 9th, 2006

This special tutorial is for a friend who would like to learn PHP on Mac but do not know how to setup Apache and PHP. Follow few step below and I think your Apple Powerbook should work.
Step 1: Edit Apache conf File
First open the terminal program in your Mac, it can be found in Application [...]

PHP: The difference between “include” and “require”

Monday, March 20th, 2006

I want to explain what the difference is between include and require in PHP because next time I won’t need to explain it in MSN again, can just show my blog.
Include and require does the same thing, which is it includes certain files. But why not just use include, why sometimes use require as [...]

array_merge

Tuesday, January 17th, 2006

Having problem during coding, was thinking how to join an array after results returned from several database tables, then Sogua found a function for me call array_merge() in PHP. After studied PHP documentation and I have found PHP built-in a lot cool array functions such as array_reverse, array_flip, array_diff_assoc and etc. These array functions have [...]

PHP5.1.2 released

Thursday, January 12th, 2006

The PHP development team is proud to announce the release of PHP 5.1.2.
This release combines small feature enhancements with a fair number of
bug fixes and addresses three security issues. All PHP 5 users are
encouraged to upgrade to this release.
The security issues resolved include the following:
* HTTP Response Splitting has been addressed [...]

PHP 5.0.5 Released

Wednesday, September 7th, 2005

PHP 5.0.5 released, is time to patch all the servers? PHP5.1 release month ago, I have to spend some time to test out the compatibilities with our current CMS, from what I read the in the NEWS file, it seem allright with our current CMS system. We would love the updated PCRE extension. Let see [...]

Malaysia PHP User Group First Meet Up

Saturday, February 26th, 2005

Today, we manage to organize Malaysia PHP User Group inaugural meeting, suprice to see the people are there to discuss about open source, PHP programming and giving idea on how to keep Malaysia PHP User Group growth and helping others on PHP web development. Ditesh is the person who gave us a lot tips and [...]