Scripts and functions in PHP (+ SQL, JS)
PHP: Explode function alternative
PHP: Script for substitution of explode function - allows to split a string by words and save them as an array elements (values). This algorithm (in comparison to explode function) allows to set whole array of delimiters at once (dot, exclamation mark, question mark, etc.) and keep an information about them.
PHP: Random sample of images
PHP function for random selection of requested number of files (or all) having entered extensions from entered directory at the server (webhosting). Typically for selection and insertion of needed number of random images.
PHP: Recalculate image size
PHP function for calculation of new size of image due to limits for maximal width and height. Keeps aspect ratio.
HTML Convertor
HTML converter:For escaping of HTML tags, ampersands and quotation marks
for adding of HTML tags for new line <br />
for removing of HTML tags
for adding of non breaking spaces for Czech and Polish language (as much as possible) and to change short hyphen - to long dash –
for removing of Czech and Polish diacritic when keeping original basic character.