January 19th in Linux/Unix, PHP Scripts by pbu .

TinyMCE Slow Loading Problem!

TinyMCE editor causes slow to load! Has anyone observed it especially when it intializes the editor for first time in the webpage? it takes about 5-10 seconds to load.

I am facing this terrible problem with my site. Everything seem to work fine including loading when i used the editor …

January 17th in Linux/Unix by pbu .

Install ClamAV in Centos with Cpanel

Installing antivirus is most important if you run a VPS or dedicated server, because of so many worms and trojans get in to your server often without notice and could compromise the server.

Cpanel WHM Installation

The easiest way to install clam antivirus in cpanel is through install plugin option in Cpanel …

January 17th in Linux/Unix by pbu .

PureFTP on Cpanel: Connection Refused Problem

PureFTP can cause bizarre behaviour often. Sometimes running in cpanel it could refuse your connection or you could face password authentication problem. I have faced this on my dedicated server many times and could be frustrating sometimes.

Here is how you fix the problem:

1. Login to WHM of Cpanel
2. Restart …

December 17th in Linux/Unix by pbu .

Changing Default Font in TinyMCE Editor

TinyMCE editor is a very good open source (GPL) html editor based on WYUSIWYG environment. It is javascript based and can be easily integrated to any PHP or ASP based scripts.

Download: http://tinymce.moxiecode.com/

It will automatically convert all text areas in your form into a rich text html editor.
If you want to …

November 28th in Linux/Unix, PHP Scripts by pbu .

Implementing Secure File Upload in PHP

Most PHP file upload scripts and content management system scripts (CMS scripts) require writable 777 permissions (rwxrwzrwz) to be set for certain folders for uploading photos and videos. Many security experts warn that setting 777 permission means that anybody can upload any content to your server, install malicious code, run …

September 25th in Linux/Unix by pbu .

Uploading Files using Unzip in Linux

If you want to upload large number of files in your webserver especially like CMS software it might take hours using standard FTP softwares. Instead to quickly upload the necessary files in your linux os, just follow the steps.

1. Upload the zipped file to your server using SSH. You can …

September 25th in Linux/Unix by pbu .

How to Upload Files using SSH

If you are using putty to upload files you might have problems in uploading a file to your server because of command line. This could especially come in handy if you are using VPS or dedicated server. Uploading by FTP softwares may not work because of permission problems.

To upload files …

September 17th in Linux/Unix by pbu .

Generating a Website Snapshot

I have been searching everywhere on the internet for a script atleast that works in linux to generate a snapshot of websites or URLs. If you are like me i believe the following resources would help you.

Khtml2Png – a command line shapshot generator in Linux. It is released under GPL. …

July 5th in Linux/Unix by pbu .

Install Webmin Server Control Panel for Debian/Ubuntu

Installing Webmin (server control panel) for Debian/Ubuntu is dead easy.

Just follow 3 steps.

1. Go to Root> console and download Webmin using wget command

wget http://webmin.com/…./webmin-X.YYY.tar.gz

2. Just follow the steps during the installer.

3. Once installation is finished, just point to URL you will get the webmin login screen.

http://localhost:10000/

http://ip.address:10000/

Thats it!

June 8th in Linux/Unix by pbu .

Enabling ModRewrite in XAMPP Apache

XAMPP is a very good Linux server package w/ Apache, MySQL,PHP  running in Windows just like server runs in linux. You can download http://www.apachefriends.org

I noticed that by default mod-rewrite is not enabled with apache server coming with it. It is very important to enable this module if you want to …