Web development »

Social shared counter – count URL shares in popular social networks

Social shared counter – count URL shares in popular social networks

RussianRoot April 11, 2014 0

It is very important to have social shares statistics. There is a very interesting and friendly tool to count social shares is a www.sharedcounter.com it is free

Read More »
Modify HTTP Headers (Examples)

Modify HTTP Headers (Examples)

RussianRoot February 17, 2014 0

Many examples that show how to use the header() function of PHP [crayon-5a5de5cbb5403513359437/]  

Read More »
HOW TO CREATE A PASSWORD FOR A .HTPASSWD FILE USING PHP

HOW TO CREATE A PASSWORD FOR A .HTPASSWD FILE USING PHP

RussianRoot July 1, 2013 0

Below is a PHP script that generates a password for .htpasswd from the clear text password stored in $clearTextPassword. Please note: For Apache servers running on Windows you have to use the htpasswd program to

Read More »
Password Protect a Directory Using .htaccess

Password Protect a Directory Using .htaccess

RussianRoot July 1, 2013 0

Protecting files on your website from unauthorized users can be very important. Even more important is the method by which you accomplish this task. You could use PHP to listen for login authorization information

Read More »
30 Popular .htaccess code snippets (.Htaccess Code Snippets, Examples, Tips And Tricks)

30 Popular .htaccess code snippets (.Htaccess Code Snippets, Examples, Tips And Tricks)

RussianRoot June 28, 2013 0

“A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration„. (FromWikipedia) The .htaccess method will only effect the folder in

Read More »
Disable execution of PHP, Perl, Python, Java in .htaccess

Disable execution of PHP, Perl, Python, Java in .htaccess

RussianRoot June 28, 2013 0

Hello everyone! Sometimes you need to disable execution of scripts under certain folder using .htaccess. It’s useful if you have any security issue on server and want to stop execution of dynamic languages or

Read More »
XML string to PHP array

XML string to PHP array

RussianRoot June 28, 2013 0

Sometimes you come to a moment when you need to convert xml to php array. It may have different reasons. So here i am going to show how it works. To do it, simply

Read More »
Uploading a file using Curl in PHP

Uploading a file using Curl in PHP

RussianRoot February 20, 2013 0

Hello World! Today i will show you how to submit file in php using cURL. The most important is to add “@” symbol at the beginnig of the path. That was all the magic^^

Read More »
Updated: List of HTTP status codes

Updated: List of HTTP status codes

RussianRoot July 19, 2012 0

1xx informational 100 client should continue with request 101 server is switching protocols 102 server has received and is processing the request 103 resume aborted PUT or POST requests 122 URI is longer than

Read More »
301 Redirects

301 Redirects

RussianRoot July 17, 2012 0

Hello World! This is the best, the cleanest, simple and search-engine friendly way to redirect an URL to another URL. Redirect a single page As you see, first we write the keyword (Redirect), then

Read More »