PHP/Ajax

by on March 13th, 2009

Plugins are cool. Every WordPress powered blog uses different plugins. They give your blog wings. There are few things you must be aware of before using plugins. What I do, I just test the plugin before I actually use it. All the plugins out there are not trustworthy. Even if any plugin comes by a trusted source, it can have bugs which will make your blogging life a bit complicated. I regularly check plugins, update plugins whenever any update is available and remove the plugin which contain any bug. Here are few popular WPplugins I noticed some bugs in them recently.

{ read more }

xss-attacks

Recently Kaspersky, Bit-defender, Face book websites were attacked via XSS and SQL Injections and their databases were exposed. Screen shots about their vulnerability and database tables were posted over internet.

Kaspersky is one of the leading companies in the security and antivirus market. Their website is down right now (9 feb 09, 6:42 pm) as I checked it, which was hacked recently. They are in maintenance mode. It seems as though they are not able to secure their own data bases. The companies who claim to secure our computers are not secure themselves. Seems incredible but unfortunately, its true. Through SQL injection some hackers were able to expose users, activation codes, lists of bugs, admins, shop and many more tables of their database. This is just a security alert though. No loss to customers and company as I suppose because the team involved is saying that their purpose is to alert the big companies about security measures. They have posted all the names of the tables in database though. Now I suppose we will see the new secure Kaspersky website. I have used myself this antivirus for quite a long time and then I had shifted to another one.

{ read more }

free-web-hosting

Absolutely (appsolutely) FREE UNLIMITED Web Hosting offer for some specific content management systems i.e. WordPress, Drupal, ZenPhoto, phpBB, MediaWiki, Google apps etc. is here.

No banners or ads.
All free for life.
Automatic One-Click Software Installations
Bring your own domain – or get one from them free

{ read more }

iMatrix is a new FaceBook Application which converts any image into a cool Matrixed Text. You can use that text based image anywhere, lets say in email signatures or in website. For example we convert following image into iMatrixed Text:

{ read more }

There are some situations where simple code may work properly in case of PHP online or at localhost if register_globals are on. But not necessarily if register_globals are off.

Warning: Undefined Index – Use of Undefined constant selected
Warning: Header already sent

Sometimes messages like above that header already sent or undefined variable/ index can appear.

{ read more }

Suppose we have a website and we want to get the user IP address and want to display it for him or we want to store it and get a log for the hits of website. Also sometimes users may share same IP address for internet sharing & usage so his PC’s IP will be something like 192.168.0.2 (Proxy Case) and actual IP address which he is using for internet, shared by his internet service provider will be different. We can find these both IP by this simple example of PHP code.

{ read more }

by on February 24th, 2008

Setting up a database connection can be a difficult task. Search Google and the scripts you will find will amaze you. These are lengthy and boring. Here is the easy most method to create a dbconnection for PHP and mysql.

{ read more }

pmb

PHP Personal Management Book is available for download, absolutely free. PHP Personal Management Book is a complete PHP CMS for personal record management and covers more than just Address Book or Phone Book requirements. The purpose of this software is to enable you manage upcoming events which matter to you most and help you remember and manage your contacts and expenditures in well-organized manner. PMB is PHP based open source absolutely free software for Home PC or Online Web Application usage.

{ read more }