Programming

PHP, Perl, Pyhon, bash, javascript and jQuery and probably other languages to come. This category is all about programming!


Security risk using register_globals

php code

Security risk using register_globals There’s a security risk involved when enabling in your server register_globals, not sure if any of you noticed but I just remembered this and thought I should shout it to you all just so you are more careful. I’m currently working on a little project, not sure what will come out of

How to change php timezone on your server

Timezone map

How to change php timezone on your server Normally when using a shared hosting service, the server you are being hosted on has a different timezone set. So your scripts may be displaying a different time than what you expect. Fixing this is not hard at all, however some users think that the server timezone

How to fix mysql server has gone away error

How to fix mysql server has gone away error

How to fix mysql server has gone away error Today I thought about right something about this particular error which pops up in certain specific cases Mysql server has gone away I’ve seen this a couple of times on some of my clients and they all thought that this issue was a direct cause of

PHP mysql_real_escape_string example

mysql feature

PHP mysql_real_escape_string example PHP mysql_real_escape_string is a measure to prevent hackers from attacking your mysql database and leaking out specific information. Normally account level information that would then be used further in their attack and hacking your website completely. There are other PHP functions that could be used to prevent XSS attacks or sql injections,

The best PHP CMS Framework comparison

PHP Frameworks trends search

The best PHP CMS Framework comparison Lets say you are thinking of starting a project, an e-commerce project at that. Probably want to sell some products or services online, doesn’t really matter, but will involve having a billing account of some sort and ability to capture payments directly online. Sounds really fun right? Now, most of

PHP math operations and operators

math

PHP math operations and operators PHP is a very powerful language that can help you to perform mathematical operations really easy. Math expressions are made up of operators and operands. You can perform easy operations like adding, subtracting, multiplying or dividing with PHP. Even comparison operators can be used with this language (greater than, less

PHP Currency converter tutorial

Currency converter tutorial

PHP Currency converter tutorial This post will be a php currency converter tutorial where I’ll be showing you what I did in a few minutes based on the XML received directly from ECB (European Central Bank). The idea itself is simple and can be used in any projects you own / have. It can of

jQuery effects tutorial

jquery_logo

jQuery effects tutorial In this tutorial we will talk about jquery effects. For building interactive web applications you need to be able to show, hide, animate elements on your page. For this, jquery comes with a great set of methods for easing your work. This tutorial covers all the important jQuery methods to create visual effects.

Programming jokes

comic

Programming jokes A few months ago I wrote an article about funny comments encountered in different applications taken from the web. The holidays are coming so it is time to have more fun and relax a bit. Let’s spend some time on an article about programming jokes. These are all found over the internet, and

jQuery ajax tutorial example

jquery_logo

jQuery ajax tutorial example This is probably the most interesting and yet complicated thing from our tutorial series. This is the magic that modern websites are using in order to update in real time their content, database, etc. What is AJAX ? Ajax stands for Asynchronous JavaScript and XML. From Wikipedia, it is a group of interrelated web development techniques used on

Request an article ←