Bookmark and Share

Base URL with PHP

March 17th, 2014

Sometimes you face the situation when it is impossible to do without a base URL on a webpage. One of the examples that come to mind is a use of URL in AJAX requests. Read More

If you want to limit text and do not cut html use this function. Read More

PHP – Close html tags

August 10th, 2013

Use this function to close HTML tags with PHP. Read More

This function lets you trim a string to a specified length, either by character length, or by keeping whole words intact. Read More

Change width and height for the image or iframe in PHP Read More

Return an image URL for Youtube video from URL Read More

Shuffle associative and non-associative PHP array while preserving key, value pairs. It returns the shuffled array. Read More