Posts Tagged ‘path’

Seo-Place your keywords

Tuesday, July 15th, 2008

The most important elements to insert keywords into are the URL (domain name + path + filename) and title of your web page. Also, a low-level URL (www.mysite.com/page.htm) is considered more important than a higher level URL (www.mysite.com/subdir/anothersubdir/page.htm). Check out the Dutch website Nu.nl for a good example. Notice how every newsitem has it’s own title in the titlebar and how every item’s html file is named after its title. These tricks make you score!

It’s also important to use your keywords in the body of your site, frequency (a lot) and proximity (close to each other) are important. The higher in a page, the more important a keyword is considered to be. Text in headline (h1 or h2), bold or caps is considered more important than regular text.

windows :Turn off the low disk space windows notification Baloon Tip

Monday, June 30th, 2008

start regedit,
add/update value “NoLowDiskSpaceChecks” to DWORD = 1
path: HKEY_CURRENT_USER -> Software -> Microsoft -> Windows -> CurrentVersion -> Policies -> Explorer
requires a logoff or reboot

Windows:Open Windows Explorer in a specific path/directory

Monday, June 30th, 2008

Make a short cut with target
%SystemRoot%explorer.exe /n, /e, D:

PHP:Change/modify configuration values for ‘include_path’ in php ini configuration runtime

Monday, June 30th, 2008

ini_set(’include_path’, ‘/usr/share/code’ . PATH_SEPARATOR . ini_get(’include_path’));

PHP:get/retrieve file basename,extension,path,dirname

Monday, June 30th, 2008

$file = ‘/dir/some.gif’;
var_dump( pathinfo( $file ) );
Result:
array(3) {
["dirname"]=>
string(4) “/dir”
["basename"]=>
string(8) “some.gif”
["extension"]=>
string(3) “gif”
}
// or
$file_ext = substr($file, strrpos($file,”.”)+1);