» Smart Phones, Web Design, Google or whatever
Archive for June, 2010
View Word .doc Files with 1 Click in Gmail
Jun 25th
The title of this post says it all: View Word .doc Files with 1 Click in Gmail
Of course, you’ve already been able to open some other documents like this in Google Docs such as PDFs…

Using PHP to redirect to another page
Jun 18th
Using PHP to redirect to another page is a common task, especially when you are working with email forms. Fill the form out, process it, then redirect to a “thank you” page:
<?php
header( “Location: http://www.example.com” ) ;
exit;
?>
You can also use variables for the URL like so:
<?php
$destURL = “http://www.example.com”;
header( “Location: ” . $destURL ) ;
exit;
?>
NOTE: The code above has to be processed before any HTML headers, so it needs to be placed above ANY HTML code.
NOTE 2: Watch the code above, depending upon my current CSS in my current theme the single quotes or even double quote may change to fancy quotes which will need to be edited if you cut-n-paste the code.
MORE info available on PHP.net’s header manual page
Using PHP to grab the Referer
Jun 18th
You can use PHP to track how someone got to a specific page by grabbing the referring page, called the referer. Use this code to get that info:
<?php
$myReferer = $_SERVER['HTTP_REFERER'];
?>
NOTE: Watch the code above, depending upon my current CSS in my current theme the single quotes or even double quote may change to fancy quotes which will need to be edited if you cut-n-paste the code.
MORE info available on PHP.net’s $_SERVER manual page
CSS: All Caps
Jun 16th
Need to have all caps and CSS seems the best way to do it? Maybe you don’t want to re-code an entire menu (like me today!).
Use this:
.allcaps {text-transform: uppercase;}
… and there’s no need to re-type a bunch of text links.
MORE INFO
Resize Desktop Icons in Windows 7
Jun 15th
I’ve got a new computer running Windows 7 Home Premium and at 1024×768 the desktop icons seemed huge. I found a nice shortcut to resize the desktop icons (I still don’t know the “right” way) that is right quick and intuitive.
Resize Desktop Icons in Windows 7
First, click the desktop once in an empty area to give it “focus”. Next, hold down the CTRL button and scroll with the mouse wheel. Scroll forward (up) to increase icon size, scroll backward (down) to decrease desktop icons and make them smaller. Note this will resize the icons – not the text under them.
Now I’ve also changed my screen resolution to 1280×1024 and they look even better, but I think I’ll monkey around with the size of the icon text some later.
Chrome Plus Gmail Equals LIVE Popout Windows
Jun 10th
Gmail is reminded us about popout windows back in March (when reading an email, chatting in Gmail, composing a message, replying , and forwarding email), adding that they had sped up page loading on email popout windows. They also mentioned that when you log out of your main Gmail window, that your popout windows also “expire”, or are logged out.
Today’s post Long lived new windows points out that Chrome users can now forget that last detail, and when they have logged out of the main Gmail window, their popout windows continue to be logged in.
MORE
Fast new windows
OTHER RECENT POSTS
Making it easier to video chat, voice chat, and group chat in Gmail
Google Maps previews in Gmail and Google Buzz
Gmail sweatshirts
