Friday, January 27, 2006

FTP Publishing of my blog

I recently register with one of free hosting account, I am not sure what to do with that. Than I thought why not try FTP option of my Bloggers Account and try publishing my Blog there... I did that Every thing works fine. Great!!! But, Now I thought to host my blog again on blogspot.com so I change the setting in Admin panel for my Blog, BUT it is not publishing my blog any more. And my blog is closed for more that 8 hr before I am now able to publish it again. I will never try to experiment it with my blog as these 8 hr are too much for me to live without my blog Happy blogging, Sumit Gupta

Thursday, January 26, 2006

Linux Permissions

Hi, I have been doing web development for linux and windows from 2 years now, and i have come across only developers that really knows the difference between the two operating system, Most of them says whats the difference between two Operating system, after all they get apache running on both. The first difference is the way file permissions are implemented on two operating system. In this post I am only going to explain the File Permission required for PHP based website. First, What is File Permission? Simple, as word suggest permission give to the person who access the file. Now, Second question, who is the person? Well it can be File owner (linux user) , Group Member (Please read Linux Users manual for this) or anybody else in this world. Now Linux runs each service under one user and group. Now, the web server also runs as some user in the Linux Machine. This member is not the User and not the Group member of the group Site Owner generally is the member. So, we need to implement three Person ( User, Group, Everyone ) different permission. What all permission we can set? For this the answer is simple Read, Write , Execute... Now, To set run a PHP File you simply need to give Read permission unless you are running a system commands through PHP, that is either a call to File open, or Using CURL, or running exec function you just need to give Read permission to all three. But than who can you modify your script. So you need Write permission, Ahh, My group member should allow to modify the file... than you can give Write permission to him as well. Now, I want it to be public script any one can edit...Than Please don't read this post and simply run chmod 777 myfile Anyway's In typical condition we need to give 644 Permisson to a PHP script unless it is using some above suggested request in that case we need to give 755 a permission. Hope this is so some help in understanding the file permission on should give to run its PHP scripts... More on this will be posted on my site soon, till than bye from me Sumit Gupta

Tuesday, January 24, 2006

Boring Life

I cannot imagine my life without computer but last 10 days I have to live without it as my only computer get damage, and to get the replacement of damage components it took 10 days. It seems days are getting larger. But now I have my Pc back on track and now I will post more of my experience soon. As these 10 days are not just boring but also drain my brain as I work on my First X-cart project. Sumit Gupta

Tuesday, January 10, 2006

Why People Blame Others

Hi, Today i feel very disappointed by recieveing a support mail from X-Cart. X-cart (http://www.x-cart.com) is a Online Shopping Software, unlike OsCommerce its paid. Anyways, they have to say that People in few of countries Pirate Software so, they don't have anything for them. Well, why everybody blame others, They say few countries have more chances of piracy, but is there any country where there is no piracy at all. If No, than why blame on few countries only. If one doesn't do good work it doesn't mean whole coummunity is bad. If you ask for Free,Open source Software, than what if you have pirate software. It doesn't mean I support Pirate software but atleast you shouldn't blame other for some bad things, if you Feel something is bad, try imporve that. And if you are software developer Please put the Rate according to country ecomonic and believe me every one use original software. I hope for better future of softwares Good bye for now Sumit Gupta

Tuesday, January 03, 2006

My Brothers Blog

Yeppy my brother start its own blog... http://vikas3d.blogspot.com Do visit his blog Byeeeeeeeeeee Sumit Gupta