Archive for March, 2010

Find out PHP execution time

function microtime_float ()
{
list ($msec, $sec) = explode(‘ ‘, microtime());
$microtime = (float)$msec + (float)$sec;
return $microtime;
}
$startdebug = microtime_float();

$end = microtime_float();

echo ‘Script Execution Time: ‘ . round($end – $startdebug, 3) . ‘ seconds’;

, , , ,

No Comments

Reading Text Global Resources Hang with photoshop

HOW TO SOLVE THIS PROBLEM.

1. Find the file called “Adobe Photoshop CS Prefs.psp” in the following folder:

C:\Documents and Settings\user\Application Data\Adobe\Photoshop\8.0\Adobe Photoshop CS Settings\

* note: user will be whatever your are loged in as.

3. Delete this file or rename it to: Adobe Photoshop CS Prefs-old.psp (i just put “-old” at the end) – or whatver you want. The goal is so that photoshop doesnt use this .psp file again when it starts to load.

4. start photoshop again.

, , , , , , , , , , ,

No Comments