JOOMLA FICTION LAB
In php you can emulate an ajax request by inserting a proper header. With this header you can prevent users from directly accessing php pages that are meant only for ajax calls.

How to strip specific words from a string with php

by minitek Wednesday, 22 February 2012 11:46
With this simple php script you can remove any specified words from a string. This is very useful when you need to filter input to strip forbidden words.

How to shorten a text without cutting words in half in php

by minitek Tuesday, 10 January 2012 13:45
You can use this php script to shorten a text string into a specific number of words without cutting words in half and add three dots to the end of the string.