prosoxi.com | Archive | PHP

Image Uploads with 100% Less Suck

Image Uploads with 100% Less Suck. Guaranteed.

Using a little bit of jQuery we can upload images without the suck.

Continue Reading

Posted in JavaScript - Ajax, PHP0 Comments

Display nested categories PHP Class

 

Creating categories and its sub categories is always prevalent when we are developing simple to huge applications. Basically we  will have the requirement of creating one- leveled subcategory of parent category but when we come across creating multi-leveled subcategories , then it  seems little vague, complex to meet the requirement. Here I have made a simple php class to create multi-leveled nested categories on select box, List and creating ‘BreadCrumb’ when navigated to those categories. Prime essence of this PHP class is use of recursive function ( calling parent function again and again ).

Continue Reading

Posted in PHP0 Comments

PHP extract() Function

Definition and Usage

The extract() function imports variables into the local symbol table from an array.

This function uses array keys as variable names and values as variable values. For each element it will create a variable in the current symbol table.

This function returns the number of variables extracted on success.

Continue Reading

Posted in PHP0 Comments

FFMPEG, XAMPP and Windows

http://www.apachefriends.org/f/viewtopic.php?f=16&t=32688

cdl_capture_2011-05-06-20_ 000

Continue Reading

Posted in PHP4 Comments

Image fun with PHP

This post is a demo of what the imagefilter() PHP function can do for you.

http://www.phpied.com/image-fun-with-php-part-2/

Continue Reading

Posted in PHP0 Comments

PHP imagefilter

Description

bool imagefilter ( resource $image , int $filtertype [, int $arg1 [, int $arg2 [, int $arg3 [, int $arg4 ]]]] )

imagefilter() applies the given filter filtertype on the image.

Continue Reading

Posted in PHP0 Comments

Converting Images to Grayscale using PHP and the GD Library

 

http://php.about.com/od/gdlibrary/ss/grayscale_gd.htm

Continue Reading

Posted in PHP0 Comments

.htaccess Session timeout


php_value session.cookie_lifetime 3600
php_value session.gc_maxlifetime 3600

printf("cookie: %s, gc: %s", ini_get('session.cookie_lifetime'), ini_get('session.gc_maxlifetime'));

Posted in PHP0 Comments

PHP remove key from associative array

$a = array(
‘a’ => 123,
‘b’ => 456,
‘c’ => 789,
‘d’ => 123
);

unset($a['b']);
print_r($a);

Posted in PHP0 Comments

PHP animated GIF with FFmpeg and PHP

The tools

To create the video preview, we need PHP >= 5.1 with the Imagick extension and FFmpeg. FFmpeg supports most of the existing video formats, has a command line interface, and is available under the LGPL license. Continue Reading

Posted in PHP0 Comments

Domain Finder

Domain Finder Tool by Truste.gr

read more for domains

Advertisers

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting

Adds