Category: PHP

Automatically put words for autocompleting

While I was looking through a site about migrate sharepoint, I saw a search field with autocompleting and the first idea I have is to develop a code that will automatically put those words for autocompleting that are more often happen in the texts (more…)

Move JavaScript codes from a file to an other file

An example to move the JavaScript codes from a file to an other file: (more…)

Search text in the directory files

An example for searching text (a word or phrase) in the directory files: (more…)

Grayscale

This is an image manipulation script that makes the selected photos grayscale and in the case of mouseover the colors are restored. It is easy to use, just put “grayscale” as the classes of the images. It used PHP and JavaScript for developing the script. (more…)

Sort texts by matching the word

An example for sorting texts in array by matching the word in them: (more…)

Tags of the file content

This function is used for leading out all tags with their counts from the file. (more…)

Select matching words from two texts

This function returns matching words array from two texts or returns false in case of not matching any words. (more…)

Write rss to a file

This function is used for writing rss to a file. (more…)

Send message to the emails included in the file

This function is used for sending message to the emails included in the file text. (more…)

Highlight words in a text

This function is used to search and highlight words from the text. (more…)