Notes on Java, Solaris, PHP, LDAP…

November 17, 2007

PHP and SQL notes

Filed under: Uncategorized — negev @ 8:04 pm
Tags: , ,

Installing PHP on Mac OS X:
./configure –with-ldap –with-apxs
make
sudo make install

Getting unique values from an array – PHP
use: array_keys( array_flip($arr) )
array_flip() – it switches keys and values
array_reverse() – it returns the array in reverse order, optionally preserving the keys

27 Mar 07
When opening a MySQL/SSH connection to another box takes really long (c.a. 6-7sec)
-> set skip-name-resolve=true in my.cnf

Sun LDAP and related-products:

  • Open DS. An community building an open source directory service.
  • Open SSO. A community working on an open source implementation of single sign on.

PHP arrays – items are kept in order they were added in, rather than sorted by values of keys!

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: