When you execute linux command in PHP functions like exec(), system() or shell_exec() there might be a problem in accessing certain files. Here the commands are executed by Apache and the user which executes it is www-data. This user does not have root access and if you use sudo, it will ask for password. This can be solved by editing the /etc/sudoers file.
Adding multiple domains to your Web Server ( Apache 2 )
July 9, 2011 by samay1) Create a root directory in your file system. Say for example, I want the root directory to be inside my home directory
Scraping Google using the Google Scraper Class
May 28, 2011 by samayA number of people involved with Internet Marketing and SEO find a need to scrap Google. I am not sure how, but it is useful to them in many ways.
Aaj kal to education bhi road pe bikta hai
May 21, 2011 by samayScript to identify shopping cart (e-commerce) system or the CMS used to build a website
May 20, 2011 by samayAs a part of my summer internship I was involved with scraping a large number of website and identifying the e-commerce system or CMS behind it. Spending a couple of hours I wrote a script which checked the website for the following shopping cart systems. (more…)
I’m just tired
April 8, 2011 by samayI’m just tired. Tired of every dream and expectation I had when I was a kid falling to pieces before my eyes. I wish people had been honest with me. I wish they´d tell me to prepare myself for a lifetime of disappointment and heartbreak.
Removing the text “This email was sent using the CakePHP Framework” from the CakePHP mail.
June 29, 2010 by samayThis text is attached to the bottom of the emails sent via CakePHP Email Component.
To remove this edit the following files
It happens only in India
March 31, 2010 by samayRecover, Reveal your password saved in the Browser
March 3, 2010 by samayA small Javascript snippet which I found on the internet does this job for you. Copy this script and store it as bookmark or paste it in the address bar to reveal password. (more…)
Paypal Issue (Problem) in India – Suspension of personal payment – A nightmare
February 11, 2010 by samayPaypal has been a trusted company and has been used by a number of small companies and freelancers across India as its allows them to bypass the tedious and expensive international bank transactions. It was on 6th Feb, that is five days from now that paypal has stopped all the services in India. You are not able to receive, send or withdraw money.

