How to validate Flash absolute url paths

You may want to dynamically change the way your flash file behaves based on where it’s hosted. To do so, you should utilize the “_url” variable to obtain the absolute path of your flash file. Continue Reading »

PHP Remove last character from string

Want to remove the last character from your text. Just use Substr_Replace. This is how. Continue Reading »

PHP replace only first occurrence of a string match.

How to replace only the first occurrence of a string in php.

Continue Reading »

Php Remove Non-Alphanumeric Characters

How to strip all symbols and numbers from a string of alphanumeric text. This php code will help you delete, remove, strip and erase any non-alphanumeric characters, and then return the data without the unwanted characters. Continue Reading »

Portion() function for trimming text

Returns the portion of text specified by the start and length parameters. This help to trim text down for display in a small area or to give a sample of a larger body of text.
Continue Reading »

PHP strip remove white space from end of string

Need to remove the white space at the end of a string before recording the data. Use PHP’s rtrim().
Continue Reading »