Validate a PHP Session-ID
If you must work with a PHP Session-ID, sometimes it is better to check if these Session-ID is valid. /** * Checks a Session-ID * * @author Thomas Deuling <tdeuling@gmail.com> * @param string...
View ArticlePHP Regular Expression to validate strings
Hi at all Since a long time i’m searching for a regex in PHP, that filter some letters as sample names. But the solutions that i’ve found could not filter all letters i need. The most ones didn’t gets...
View ArticleAdd or edit Code snippets and templates in Aptana Studio 3
I’ve searched now for a while, to edit and create some code snippets and code templates within Aptana Studio 3. These code snippets should help to make my work more efficient and faster, when the...
View ArticleHow to get PHP-Includes work under Typo3 4.5
By updating some Typo3 websites to the current version 4.5, i have the problem that the PHP-Includes no longer work. Now, at first i have a look about, how and from where the PHP-File is included. The...
View ArticleBest practice for using the PHP 5.3 Ternary operator
The Ternary Operator is very useful for short expressions. I use it as sample very often to check GET or POST Variables, and give them in empty-cases a default-value. Instead of making an examination...
View ArticleHow to use Namespaces and Sub-Namespaces with PHP 5.3
If you want to implement a huge project, it will be better when you encapsulate your modules and classes into several Namespaces and Sub-Namespaces. But why should you use namespaces? Namespaces are...
View ArticleGenerate function completion / autocompleter for Aptana Studio 3 PHP Projects
If you develop large Projects, it is really helpful to get all the available functions over an autocompleter, because you didn’t have to look each function-name and his parameters. The realization...
View ArticleCreating an AJAX OpenLaszlo Preloader for SWF Files
Since the SWF9 runtime in OpenLaszlo, the internal splashscreen isn’t anymore available. So if you need some preloader animation with a progressbar, you must implement an ajax-loader. You also have the...
View ArticleBest way to add or edit Code snippets and templates in Aptana Studio 3
This post is created with and for Ubuntu-Linux installations. It is a continuation and improvement of this post. By starting up Aptana Studio 3, the system creates a folder in the users home directory...
View ArticleFlow3, the new Framework that is also used for developing Typo3 5
Wow, that’s nice .. Just now I watched a video introduction to Flow3, and I must say I really like it. Absolute new technology, methodologies and programming paradigms. Everything is completely...
View Article