Working with CURL libraries in PHP

cURL is command line protocol for transferring data using different protocols. PHP library that provides usage of cURL data transfer is called libcurl and can be easily implemented. For most linux systems, installation of curl with PHP can be done with following command as root:

apt-get install php5-curl

For Debian like systems, restart Apache with command:

/etc/init.d/apache2 restart

And you are ready for using cURL extension. Complete guide and documentation for using and setting up curl on different systems can be found at http://curl.haxx.se

(more…)

Read More

Preventing Cross-Site Scripting

Security is very important part of the work when it comes to building web applications. There are many methods you can use in order to make your web application more secure. Very often, improved security can be a hassle for regular users, and that is the price you need to pay for more secure application. (more…)

Read More