Code solutions to PHP, JS, CSS

Spread your code soluces to the world

Love me

Search results for : result    (3)

Automatic search result page (htaccess)

Here is a simple method using htaccess to turn an URL www.yoursite.com/keyword to a search results page. Htaccess code obviously not include the search engine. It only transmits the variable q to be treated by your internal search engine. Elegant and efficient solution to capture a indexing bot a on keyword page. If your data is in MySQL...
solucior.com/37-Automatic_search_result_page.html

Simple function for PHP syntax highlighting (php)

This little function uses the PHP syntax highlighting displaying the result in a table with line numbers. Hard to do simplest. You can add CSS. This function is used by solucior.com
solucior.com/12-Simple_function_for_PHP_syntax_highlighting.html

Make dir and upload files via FTP (php)

These two functions simplify the creating directory and files upload by FTP in PHP.
solucior.com/10-Make_dir_and_upload_files_via_FTP.html