Error 500 in codeigniter using xampp

The cause of that error 500 mostly its because your using .htaccess in codeigniter, to solve that problem go to the directory of your xampp for example c:\xampp\apache\conf\ and open the file named “httpd.conf” and go to line 118 and remove the comment which is the number sign (#) or search the “mod_rewrite” then remove …

Bookmark Your Page Javascript , Add to Favorites script

1. Place the following javascript in the <HEAD>…</HEAD> section of your page html source. dont forget to put <script type=”text/javascript”>…</script> 1 2 3 4 5 6 7 8 9 10 11 12 function bookmarksite(title,url){ if (window.sidebar) window.sidebar.addPanel(title, url, ”); else if(window.opera &amp;&amp; window.print){ var elem = document.createElement(’a’); elem.setAttribute(’href’,url); elem.setAttribute(’title’,title); elem.setAttribute(’rel’,’sidebar’); elem.click(); }else if(document.all) window.external.AddFavorite(url, title); …

How to activate administrator account in Vista

Key decision – decide if you need a password for the administrator’s account that you are going to activate.  My point is that the local policy may insist on a complex password, thus you will not be able to activate the administrator with a blank password.  This technique also works on Windows Server 2008, however …

Insufficient System Resources Exist to Complete the API.

SYMPTOMS You use a computer that is running Microsoft Windows XP with Service Pack 2 (SP2), Microsoft Windows XP Tablet PC Edition 2005, or Microsoft Windows XP Media Center Edition 2005. When you try to put the computer in hibernation, the computer occasionally does not hibernate. When this problem occurs, you receive an error message …

Recovering from a forgotten root password

To perform a system administrator task, you have to know the root password. What happens if you forgot your root password? Not to worry. Just reboot your PC and you can reset the root password by following these steps: Reboot the PC(select reboot as you log out the of the GUI) or power up a …

Resetting Mysql root Password

‘Like locking your keys in the car, to forget your password after you’ve spent an hour installing and tweaking a new MySQL server can be an embarassment to say the least.’ [ad#squere-ads] Fortunately, if you have root access to that computer, all in NOT lost. Here are the steps when you found yourself in this …

Secure Programming in PHP

This article discusses the common threats and challenges of programming secure PHP applications and practical methods for doing so. Introduction The goal of this paper is not only to show common threats and challenges of programming secure PHP applications but also to show you practical methods for doing so. The wonderful thing about PHP is …

Getting Started with CodeIgniter

Actually CodeIgniter framework (CI) is nearly zero configuration. First is to put your CI files to your webserver, in this example will be using the web root directory of my webserver. Host : www.johnbernardabella.com Database : localhost Username : test Password : test After we need to modify system\application\config\config.php [ad#squere-ads] Look for : $config[‘base_url’] = …

Installing RoundCube in cPanel

First make sure you know your mysql root password, you have to replace DATABASEPASSWORD to your mysql root password. If you have already used RoundCube installation please make sure you remove any traces of it with, cd /usr/local/cpanel/base rm -rf roundcube* mysql -p -e ‘drop database roundcube’; chattr -i /usr/local/cpanel/base/frontend/x/webmaillogin.html chattr -i /usr/local/cpanel/base/webmaillogin.cgi /scripts/upcp [ad#squere-ads] …

Alternative for rm command

Ive been handling webserver with more than 1000 website and lots of unique visitors per month. Session are stored on the server hard drive and every end of the month i need to clean it up. Now i was puzzled by rm command. rm -f * in /tmp/ directory. The terminal choked and gave out: …