Archive for the 'Source-code' Category

Send mail in Java

Simple Java program to send mail.

How to write a random quote on a page

Here is a simple but useful piece of PHP code.
Edit the following code to add your favorite quotes and then save it as “quotes.php”.

PHP and LDAP - how to connect php to a ldap directory server

LDAP - Lightweight Directory Access Protocol - is an application protocol for querying and modifying directory services running over TCP/IP.

PHP: Remove special chars and punctuation from strings

This function is useful for languages like Portuguese, french, etc..