How to Get CPU Information on Linux
cat /proc/cpuinfo or less /proc/cpuinfo Memory Information cat /proc/meminfo PHP Version Information php -v Apache Version Information httpd -v
View ArticleChange MySQL Password via SSH
login ssh, type mysqladmin. A tip if you can not remember mysql password type mysql -uadmin -p`cat /etc/psa/.psa.shadow` mysql> USE mysql; mysql> SELECT * FROM user; mysql> SET PASSWORD FOR...
View ArticleDeny Directory Listing in .htaccess
Some webmasters upload a blank index.html for dont index directories. Thats a way of listing directories. But htaccess is more easier solution for this. Just add this code to your .htaccess file...
View ArticlePhp 5.2.9 Updated But Mysql Doesnt Work
I blogged Php 5.2.9 Upgrade. Some of my user updated with using this entry. But i miss something in these entry. Firstly, i have to say. If you upgrade php version, you have to upgrade mysql and...
View ArticleProtect Image From Other Sites
Sometimes other sites use our images, but there is no link us. Only it is fill our bandwidth limit. We can ban that users or we can show another image for that sites. You can write that image “This...
View ArticleImage Directory Security with htaccess
Some hackers or attackers try to upload script files in image upload files and they can see and change your files with that script. You can block this type file in that directories. You can forbidden...
View Articlehtaccess Tips, Tricks and Guide
I like .htaccess file, when i need anything that file help me. I collect htaccess tips, tricks and guide list from PerishablePress. I hope you’ll be enjoy. Stupid htaccess Tricks Better Default...
View ArticleIframe Virus jl.chura.pl Removal
Today i upload an index file to my web site and i saw an iframe that site. I am shocked. Because i never use any iframe. I enter another sites for checking. All web sites are iframed. In my explorer...
View ArticleCopy a Directory to Another Server
I need a script to my directory to another servers. Firstly, i tried to download from my site and upload another site but it is not so fast. Because there is lots of files in that directory. I wrote a...
View ArticleChange Time Zone with htaccess
In my server there are some sites from Turkey, some of from England, some of from Germany. I have got timezone problem in that sites. I found easy solution for this. Just add .htaccess this code:...
View Article
More Pages to Explore .....