Task Manager has been disabled by your administrator message
If your own pc suddenly displays this message when you’re trying to do something, chances are most probably some kind of malware has infected your pc. To remove this message, download this file and double-click it. It should now remove this problem forever. I got the file from some website while Googling thru the internet to fix this problem. If this file belongs to you, please contact me by commenting on this post so I can give you the proper credit.
p/s: However if this problem surfaces again, most probably because the malware is not yet removed from your system. Try running any updated anti-virus or anti-malware on your pc to clean the malware. By the way the file above is a free software called Remove Restriction Tool v 1.0.
Disclaimer: I take no responsibility for what the file may cause to your pc. The file works perfectly on my pc and most (if not all) other pc, so there’s a big chance it will work perfectly on your pc too.
Add comment November 6, 2009
Make javascript functions load last
Perhaps there’ll be a time when you need your javascript function to load last inside a page. Simply put the javascript code before the tag of your page. Done
!
For example:
alert(“This alert is displayed when everything else has been loaded!”);
//calls an ajax command, non ajax-commands works too
new Ajax.Updater(‘droparea’, ‘my-cart.php’, { method:’post’, parameters: { action: ‘display’}});
p/s: Take note that javascript functions won’t be loaded unless you explicitly calls it first
for example:
//The script below won’t be called
function hoyoyo(){
alert(“This alert is displayed when everything else has been loaded!”);
}
So just add a caller to the function to make it work
hoyoyo(); //calls the function below
function hoyoyo(){
alert(“This alert is displayed when everything else has been loaded!”);
}
Add comment November 6, 2009
php strloc / php string location
NO. PHP doesn’t have str loc, or string location. but php do have strpos (string position). which works very much the same i assume. go here for more info on this strpos http://www.php.net/manual/en/function.strpos.php
Add comment November 6, 2009
WordPress.org API key
You just installed wordpress.org and now you’re about to install some plugins which require the API key to work.. and you look everywhere in your wordpress.org for that API key but couldn’t find it. It’s because it’s not there. In other words, wordpress.org doesn’t have any API key. Yes, you read that right. You would never find any API key in wordpress.org.
So how do you install those plugins that need the API key, right? The answer is you have to create an account with wordpress.com and you’ll get the API key there. Yes, maybe you think you don’t need any account with wordpress.com since you already have your own wordpress.org running, but the fact is, the plugins that require the API key actually need wordpress.com to run. And most probably the plug-in was wrote by the good guys at wordpress.com.
So, head on to www.wordpress.com, register yourself a new account which probably you’ll never bother again in the future and get yourself an API key by logging in into your newly created account.
Add comment November 6, 2009
Php copy .. failed to open stream: Permission denied in …
Ever faced this problem when you’re trying to copy files using php? Well, as the error above said, you’re having a permission problem to access the source and/or destination file. I’ll describe two possible ways to overcome this problem:
1)If this problem happened on your local pc, you’ll just have to right click on the folder where the file resides, click Properties, and make sure the Read Only Attributes is not checked. Try running the code again.
2)If this problem happened on your internet(hosting) server, you’ll have to set the permission of the folder. If you’re using CPanel, go to File Manager, and browse to the parent directory of the folder, check (tick) the folder name, and click on the ‘Change Permissions’ button. Try enabling the folder’s Read, Write, and Execute for World and Group. Try running the code again.
For security reasons, after you’re sure that the code works, don’t forgot to tweak the permission settings so that only the minimal permission is granted. Sure you don’t want anyone out there to overwrite your files, don’t you?
Hope this post helps somebody out there!
Add comment November 6, 2009
Anyone can be a chef at TryMasak!
assalamualaikum and hi all

Just wanna share a new and sensational site, www.trymasak.my! At trymasak there’re hundreds of no-frills video recipe of malay, chinese, indian and western cooking. You can rate those recipes, comment them, and even upload your own video recipes. It’s all free for life, so what are you waiting for, head on to www.trymasak.my now!
Add comment February 3, 2009
php session/cookies failed on certain page
Ever faced a situation where your supposed to be authenticated-by-session or cookie failed? it works initially, but on certain page, it fails.. and you don’t know what went wrong because you cold swear that the exact same piece of code works on the previous page but not on another page..!
Well, most probably here’s how your php authentication code look like, where you included it in every part of your php page, either using session or cookie. The example below uses session:
=======================================
session_start();
if ($_POST){
$_SESSION['user']=$_POST["user"];
$_SESSION['pass']=$_POST["pass"];
}
include (“dbconf.php”); //the php file that contains the database settings
// query for a user/pass match
$result = mysql_query(“select status from login
where user=’” . $_SESSION['user'] . “‘ and pass=’” . $_SESSION['pass'] . “‘ “) or die (mysql_error());
=======================================
Then the code above works for first page, second page… but on the 3rd page it returns an error. Or sometimes the session/cookie suddenly disappeared, and it returns invalid username/password! Let me tell you two thing:
1) The page before the session/cookie fails have a Submit button with the method set as POST.
2) Now let me tell you where it went wrong. See the line if ($_POST){ above? THAT’s WHERE it went wrong. Instead of writing only $_POST, you should write something like ($_POST['username'] || $_POST['password']) or whatever your username and password box named in the previous page. Because if you wrote only $_POST, and a page has a Submit button with method POST, the line if ($_POST) will trigger and passes the now empty $_POST["USER"] to $_SESSION['user'] since there are no input box named as USER or PASSWORD in the page (and even if they do, most probably it’s not meant for password authentication), and of course, the sql query below it will return an error since it now queries using an empty or wrong $_SESSION['user'] and $_SESSION['pass']!
I faced the above problem because I tend to copy paste codes from supposed-to-be session tutorial. IMHO, it’s a bad practise to write a tutorial which can complicate matters in the future, although probably they only meant to simplify things.
In summary, here’s how your session authentication should look like:
==============================
if ($_POST['username'] || $_POST['password'])
{
$_SESSION['username']=$_POST['username'];
$_SESSION['password']=$_POST['password'];
}
==================================
Hope this post helps someone out there!
Add comment August 18, 2008
PHP “Cannot send session cache limiter – headers already sent” error
I faced with this problem today, and Mr Google helped me to this site which helped me figure out how to solve the problem. Basically what the site says is “Make sure to check for and remove any spaces or carriage returns directly before or after your opening and closing php tags.” So for me, my problem is caused by this line:
==================================
<html><head><title>My Page</title></head>
<?PHP
include(“global.php”);
include(“adminAuth.php”);
?>
==================================
and to fix it, I simply put both the include lines at the uppermost, which becomes like this:
==================================
<?PHP
include(“global.php”);
include(“adminAuth.php”);
?>
<html><head><title>My Page</title></head> <–see now the html code is brought down
==================================
Alhamdulillah, thank God the problem is solved just by doing this. Anyway this problem only surfaced when I uploaded my php code to my internet server. The same code doesn’t give any problem on my localhost server. Which I think I can conclude that the error will only appear on certain PHP/apache version.
2 comments July 22, 2008
Windows Vista Sux – Stay Away From It
I’ve heard many people said it, but hey, it can’t be that bad, right? I mean, Microsoft has been in the OS area since a few decades ago. Anyway I don’t have the chance to try Vista until I got my Dell Inspiron 1420 which came with Windows Vista installed – which ultimately after 3 weeks of using it, I decided to get rid of it, forever. And here’s why (just partly, ok):
- Slow like heck.
- I got at least 5 BSOD (yes, the infamous blue screen of death) during my 3 weeks experience with Vista. (No, it’s not hardware problem. I’ve managed to run XP on the very same system without any BSOD)
- Firefox 3.0 will crash several times. Average once every 2 days.
- Sometimes Netbeans 6.0 will close itself without warning. Happens at least twice.
- Many small old programs won’t work as efficient as they did in Windows XP.
- Posting in forums indicates that many Inspiron 1420 users ditched Vista too.. most complained of Vista as too slow and unreliable.
- Among the last to detect cabled network connection in my office (others using XP detected it faster than my Vista).
Anyway I don’t know what’s so special of this Vista until it needs to eat too many system resources. The only thing I like about Vista is the game package it came with. Lame, isn’t it? Haha.
Hey, don’t regard this as a Microsoft bashing post. Instead, consider it as a pat-on-the-back to Microsoft, since their Windows XP has proven that it can stand the test of time.
Windows Vista is very unrealiable – worse than Windows ME. No wonder Intel has decided not to use Vista. And no wonder Microsoft has announced that a new Windows will be revealed at the end of 2009.
1 comment July 18, 2008