Archive for April, 2008
Change System Property
I found this article on VistaArc’s blog and found it interesting. Thought I should share it here.
If you are using Windows XP, create a text file with the name ‘oeminfo.ini‘ in ‘C:\WINDOWS\System32‘ folder and type following lines in it:
[General] Read the rest of this entry »
Manufacturer="Type anything you want"
Model="Type anything you want"
IIS doesn’t support .htaccess!
IIS server doesn’t support .htaccess file!!!
This is a problem for most of us PHP developers. At least for me! Whenever I build a website, the default page is index.php. IIS doesn’t take index.php as the default page. It looks for default.html/index.html etc. I don’t have access to the configuration files of the server. What to do? If anybody have any professional idea, please suggest. I don’t have any idea how to solve this problem.
Then I figured out to use JavaScript. Create an index.html page which will just redirect to the index.php file. Simple… Only a single line to add in the JavaScript code segment:
window.location.href="index.php";
But this method was working for simple website redirection but faced problem when there is some parameters with the URL. Then I figured this following JavaScript code:
var cururl = window.location.href;
var splt = cururl.split('?');
var newurl = 'index.php';
if(splt.length > 1)
{
newurl = 'index.php?'+splt[1];
}
window.location.href = newurl;
I think this would be helpful for some people. If you have any other nice and professional approach to solve this please suggest here.
Finalizing CSE Website
Got a phone call from Atul at around 2:30 pm today (actually yesterday, its around 1am now). I have to rush to department. Sir called and asked to go and finalize the website today. Sir called… What can I do… Finished my lunch in a hurry and went to department.
Sir managed 3 PCs for our work. Worked until 9pm at department and almost finished the website. This is the re-designing of our departments website. The latest design is not very much attractive and I don’t like it. But we have to consider everyone’s choice… Thats why we had to compromise some special and web2.0 features planned earlier.
Whatever.. I’m too tired now to study Data Communication for next exam. But have to sit with the book now, otherwise there is a possibility to get a big 0 on the exam.
I’ve attached some advertise from text-link-ads at this site on test basis. Don’t know how that thing works. They says it takes some time, maybe days to view ads for the first time. So, can’t see them.










