Archive for February, 2010

Beauty by definition


What is beauty? Something pleasant, smooth, easing or something else that makes a sense of feeling good. How can we define beauty? How can we measure it? Well it is relative to the tastes of the human being. We say a thing is beautified when external ornament is applied. We say a thing natural beauty [...]

Tags:

(1) Comment

I smell a rat


I have just created a thread in webhostingtalk.com about a review of my host. The thing is that my site is moved from the initial server. One of the guy from that forum traced it and replied it. They smell a rat about my correctness of information. It is true that I bought my hosting [...]

No Comments

A river cruise


Recently my batch arranged a river cruise from Buriganga river to Meghna river. I had never attended a river cruise before. As we were the organizing batch, we had a lot of duties. I was assigned the duty of transportation from Department to Ship and ship to department (return). My friends were assigned other tasks. [...]

(1) Comment

Buggy header in php


Today, I got a problem in a php script. I was using header() function in the if-else branching. The code is something like
if(condition1)
{
header(”Location:dummy.php?err=1″);
}
else
{
header(”Location:dummy.php?err=2″);
}
if(condition2)
{
header(”Location:dummy.php?err=3″);
}
else
{
header(”Location:dummy.php?err=4″);
}
a contition may fullfill both condition 1 and 2. But in this case I want to go through the first if clause. I run the script and saw that the final page is [...]

No Comments

File permission in Ubuntu


I use ubuntu. I found a problem in ubuntu file permission. I have made a php script to delete a file. The file run on CentOs server correctly, but if I run that script on my ubuntu localhost, it shows me a warning saying “Warning: unlink(toberemoved.php) [function.unlink]: Permission denied in /var/www/remover.php on line 5“.
The [...]

No Comments

Color Your Life###2


Sometimes I takeĀ  photos. I found a virtual pond type thing in front of your department. I saw some shrubs udner the water. I took a photo of it.

No Comments

Export mysql database


Yesterday My classmate Rinku asked me how to export mysql database. He said that using PhpMyAdmin is pain to download the database everyday. So he needs a button which will do the job of PhpMyAdmin in a single step. That is why he needs the system of exporting a database. I knew how to import [...]

No Comments

Move uploaded file problem


Today I faced a new problem in php coding. I was coding a simple file uploader class. I used regular script as I do. A warning is found at move_uploaded_file() function. I passed some time googling about it. I found that the function cannot access the directory I have mentioned. I made a command on [...]

No Comments

3 Idiots


Few days ago I watched the bollywood movie 3 idiots. The things that impress me is that, they have expressed, many difficulty, situation of student life and mostly what may happen if the teachers are confined to old views. That is why I am writing this post. Although the film is a comedy, it has [...]

No Comments