
This font files can be used to display True Type Fonts with php GD graphics ( imagefttext )
indexed TTF folders:
www.emc-zurich.ch/.ttf/
- [index download]
www.tut-vse.ru/ttf/Fonts/Special/
- [index download]
rbthemes.com/fonts/ttf-fossfonts-0.0.3/fonts/
- [index download]
www.ibiblio.org/pub/academic/political-science/freeburma/software/fonts/windows/
- [index download]
ratanaca.net/download/font/khmer-ttf-fonts/
- [index download]
misc.nybergh.net/pub/fonts/terminus/ttf/
- [index download]
www.tut-vse.ru/ttf/Fonts/Pict/
- [index download]
www.umich.edu/~archive/msdos/windows/fonts/truetype/
- [index download]
www.tut-vse.ru/ttf/Fonts/Symbol/
- [index download]
ftp.riken.go.jp/archives/tex-archive/fonts/cm/ps-type1/bakoma/ttf/
- [index download]
root.cern.ch/viewvc/trunk/fonts/
- ...

The best method is using YUM:
[root@server1 /]# yum install php-mcrypt
after finish, restart apache/httpd
[root@server1 /]# sudo /etc/init.d/httpd restart

Three methods for increasing PHP memory limit on your server:
in php.ini file
memory_limit = 32M to your
---------
in your default settings file
ini_set('memory_limit', '32M');
---------
in your .htaccess file
php_value memory_limit 32M

fast PHP function to check if youtube video is still valid:
<?php
function checkYoutubeId($id) {
if (!$data = @file_get_contents("http://gdata.youtube.com/feeds/api/videos/".$id)) return false;
if ($data == "Video not found") return false;
return true;
}
function checkYoutube($vid) {
if (strlen($vid) < 12) { return checkYoutubeId($vid); }
$preg1 = '@www.youtube.com\/watch\?v=(.*?)$@';
if ( preg_match($preg1, $vid, ...

XAMPP for Windows, Free Software:
Apache HTTPD + Openss
PHP Server
MySQL Server
phpMyAdmin Script
Mercury Mail Transport Syste
FileZilla FTP Serve
XAMPP CLI Bundle
Download links -> XAMPP for Windows

How to remove/Strip HTML tags from php $_POST variable:
foreach ($_POST as $key => $value) {
$_POST[$key] = addslashes(strip_tags($value));
}
foreach ($_GET as $key => $value) {
$_GET[$key] = addslashes(strip_tags($value));
}
strip_tags - tries to return a string with all HTML and PHP tags stripped from a ...
Categories: Bookmarks, Networking, PhP, Tech Tags: addslashes, code, GET, HTML tags, PhP, POST, Remove tags, Strip Tags, strip_tags

De multe ori poate ca am nevoie de ceva din manualul de php si nu-mi merge netul asa ca am facut o copie/mirror a site-ului php.net
INitial am incercat sa folosesc rsync (pe windows) dar, nu a mers sa iau siteu'l ...

using getcwd (Gets the current working directory)
$current_directory = getcwd();
using dirname (Returns directory name component of path)
$current_directory = dirname(__FILE__); <=== The Fastest
or
$current_directory = dirname($_SERVER["SCRIPT_FILENAME"]);
or
$current_directory = dirname( $_SERVER["DOCUMENT_ROOT"].$_SERVER["PHP_SELF"] );
using substr (Return part of a string) and strrpos (Find position of first occurrence ...
Categories: Bookmarks, PhP, Tech Tags: Current Folder, dirname, DOCUMENT_ROOT, getcwd, PhP, PHP Folder, php scripts, PHP_SELF, SCRIPT_FILENAME, strrpos, substr, _SERVER, __FILE__

Solution is simple, use mysql_insert_id() php function.
mysql_insert_id() returns the value generated for an AUTO_INCREMENT column by the previous INSERT or UPDATE statement. Use this function after you have performed an INSERT statement into a table that contains an AUTO_INCREMENT field, ...

List of ciphers which are currently supported by the mcrypt extension (libmcrypt-2.5.x API). The general rule with the mcrypt-2.2.x API is that you can access the cipher from PHP with MCRYPT_ciphername. With the libmcrypt-2.4.x & libmcrypt-2.5.x API it is possible ...
Categories: Bookmarks, Crypto, PhP, Tech Tags: 3DES CRYPT, BLOWFISH CRYPT, CRYPT RIJNDAEL, encrypt, libmcrypt, MCRYPT 3DES, mcrypt extension, mcrypt_module_open, PhP, RIJNDAEL CRYPT, SERPENT CRYPT, TWOFISH CRYPT