Anyexample - anyexample.com - AnyExamples - latest examples feed

Latest News:

PHP multiple photo thumbnail generator 30 Nov -0001 | 12:00 am

Built-in PHP library gd does not have ready-to-use function for photo(jpeg) thumbnail generation. Although there are many such examples on the net, they are usually not suitable for effective generati...

IE7 JavaScript prompt() alternative 30 Nov -0001 | 12:00 am

By default Internet Explorer 7.0 disables standard JavaScript prompt() function due to security reasons. Although users can enable this function again it's very unlikely that they will do so. This art...

5 useful PHP functions for MySQL data fetching 30 Nov -0001 | 12:00 am

PHP usually comes with mysql extension mysql (mysql_... functions) which is rather low-level and requires writing too much code for a trivial tasks: error-checked execution of SQL queries, getting sin...

C++ dynamic array template class 30 Nov -0001 | 12:00 am

This article provides example of dynamic array implementation using C++ templates. It uses standard malloc/realloc memory allocation functions and simple "doubling size" resizing strategy. Our AeDynAr...

Making XML/XSLT driven site using PHP 30 Nov -0001 | 12:00 am

XML and XSLT technologies provides standard ways of separation of presentation and data. This article contains an example of simple php "xslt engine" for XML driven web-sites which implements caching ...

Bar chart HTML generator 30 Nov -0001 | 12:00 am

This article contains PHP function ae_bar_html for generating HTML/CSS based one-column bar charts. It is suitable for simple diagrams and does not require libgd.

Redirect function with permanent 301 redirect support 30 Nov -0001 | 12:00 am

Here is an example of simple function ae_redir() for HTTP redirect. It supports relative site paths and permanent(seo-compatible) redirects. There is also function ae_redir_die() which stops execution...

Completely disable any browser caching 30 Nov -0001 | 12:00 am

Here is a simple function which sends combination of headers that completely disable any browser caching.

Uploading files to Amazon S3 with REST API 30 Nov -0001 | 12:00 am

Here is an example of command line non-interactive php script which uploads file to Amazon S3 (Simple Storage Service). Additional libraries like HMAC-SHA1 are not required.

Gd / FreeType text label generator 30 Nov -0001 | 12:00 am

This is an example of using Gd / FreeType to generate image text labels with TTF font. Provided script could be used as "text rasterization service" to generate arbitrarily text-images for a web site....

Recently parsed news:

Recent searches: