Starting LAMPP automatically on startup

April 3rd, 2008

For starting LAMPP automatically on startup, add the following line to you /etc/rc.local file /opt/lampp/lampp start where /opt/lampp is the location where XAMPP files are kept. You will have to substitute the path to your XAMPP in the above command. Do let me know whether it worked for you 😉


Server did not recognize the value of HTTP Header SOAPAction

March 26th, 2008

Error messages are quite annoying for any one, I am not an exception for it.. This is the latest one I received when I was testing a webservice client using PHP NuSOAP library.. Well my client’s webserver is still running on PHP4 so I cant use the built in SOAPClient for PHP5 🙁 I resolved […]


Is your application vulnerable to Cross Site Scripting (XSS)?

March 18th, 2008

Well.. One of the security tests you need to do in your web application is to verify that it is free from cross site scripting vulnerability. read more about cross site scripting (XSS) at http://en.wikipedia.org/wiki/Cross_site_scripting Here is the simple test to verify whether your web form is vulnerable to XSS or not. Just type in […]


XAMPP an easy LAMP installation solution

February 25th, 2008

Earlier I had messed up my LAMP test server trying to upgrade PHP from 4 to 5 and it was a real headache till I got everything to work.. Someone asked me a question – is there a simple way to install everything (Apache, MySQL PHP with necessary modules) in one shot without configuring each […]


PHPIDS – PHP Intrusion Detection System

February 19th, 2008

For those who are concerned about the security of their PHP powered websites, do not forget to check http://php-ids.org/ . I found this website today and I am too a newbie to this.. Looks great.. Will try and post my feedbacks. Meanwhile do check http://www.alt-php-faq.org/local/115/ which guides you to fight the spammers out. I had […]


PHP Charts – Free SWF/Image Charting tools

February 18th, 2008

I was researching some ready built charting libraries for displaying charts in PHP. Following are the ones I found interesting and good ones to try.. http://quimby.gnus.org/circus/chart/chart-manual.php – This one is a very lightweight charting library which creates image charts. http://www.maani.us/charts/index.php?menu=Download – With this one you can display dynamic charts in flash (requires flash player at […]


Fatal error: Call to undefined function mysql_connect() !!

February 13th, 2008

I was about to start using my first program on PHP5, then I received this irritating message. I was using PHP4 these days, so this error was something which revisited after a long time. In PHP4 I new what it means and how to rectify. The error indicates that PHP was unable to connect to […]


Protect your web forms from email header injection attacks

January 14th, 2008

Hi.. I am back from my native after the weekend.. and here is some useful stuff.. eMail Header Injection – What it is?  You have a web form, having some text fields and a submit button, the values are posted to a server sided page , which sends you the details submitted. Take a simple […]