George's Technology Blog

» Smart Phones, Web Design, Google or whatever

Follow me on TwitterRSS Feeds

  • Home
  • Battlefield
  • Crysis
  • Gears of War
  • Halo
  • Book Giveaway
  • About

Using PHP to grab the Referer

Jun 18th

Posted by George in Web Design

No comments

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

php

CSS: All Caps

Jun 16th

Posted by George in Web Design

No comments

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

CSS: text-transform on W3Schools site

css
Windows 7 Home Premium screenshot

Resize Desktop Icons in Windows 7

Jun 15th

Posted by George in Windows

No comments

Windows 7 Home Premium screenshot

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.

Windows, windows 7

Chrome Plus Gmail Equals LIVE Popout Windows

Jun 10th

Posted by George in Email and Gmail

No comments

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

gmail, google
Googlemail to Gmail

Gmail Triumphs in the UK

May 6th

Posted by George in Email and Gmail

No comments

The UK and Google win in the UK…

Since “gmail” is 50% fewer characters than “googlemail,” we estimate this name change will save approximately 60 million keystrokes a day. At about 217 microjoules per keystroke, that’s about the energy of 20 bonbons saved every day!

You might be wondering what I’m talking about, and its the new option for UK users of GoogleMail to switch from their @googlemail.com addresses to @gmail.com addresses. If you ‘re a Brit and want to make the switch, there’s a screesnshot below, and if you want more details have a read of the official Gmail post:  Google Mail is becoming Gmail in the UK.

Googlemail to Gmail

gmail, google

PHP: Find Server and Domain Paths

Apr 27th

Posted by George in Web Design

No comments

For building sites that can more easily be moved from one server to another, and allows simpler updating of common information like email address and phone number of the client.

Here’s some PHP to generate paths: both server paths and domain paths good for use in all sorts of ways for include and require statements.

<?
// for INCLUDE statements – this is the local server path
$urlPATH = “http://” . $_SERVER['SERVER_NAME'];
$srvPATH = $_SERVER['DOCUMENT_ROOT'];
include ($srvPATH.”/config-settings.php”);
?>

More later.

php
Gmail drang and drop attachments

Gmail Drag-n-Drop Attachments

Apr 19th

Posted by George in Email and Gmail

No comments

Gmail drang and drop attachmentsBeginning 4/15/2010 if you use Firefox or the Google Chrome browser you can drag and drop attachments into your email. Drag and drop attachments onto messages on the Gmail blog has some nice screenshots (minis below) of exactly how simple the new process is.

Its not working in FF 3.6.x for me, but I do have lots of add-ons. It worked great in Chrome, though. Great thing is that you don’t need to go into Gmail Labs or settings, its already activated.

chrome, gmail, google

PHP Do Until – Do While

Apr 16th

Posted by George in Web Design

No comments

The PHP Do While, just a quick post so I can find this later without Googling…

<?
$i = 0;
do
{
// do something
}
while ($i > 0);
i++;
?>

MORE
PHP Do While on PHP.net

php
« First...1020«2223242526»3040...Last »
  • Search

  • join our mailing list
    * indicates required
    Close

  • Recent Posts

    • My Internet Connection – Comcast Diary
    • Marware Screen Protector for the Kindle Fire
    • Kindle Fire Screen Care
    • MW3 Multiplayer Weapon Proficiencies
    • MW3 Multiplayer Weapon Attachments
    • COD Modern Warfare 3 Multiplayer Perks
    • COD Modern Warfare 3 Sniper Rifles
    • MW3 Best Defense Against Loss of Red Dot after EMP
    • COD: MW3 How Do I Reach Next Prestige Level? Earn Prestige Tokens?
    • MW3 Weapon Focus: G36C Assault Rifle
    • Recent comments
    • Popular posts
    • Archives
    • Tags
    • Categories
    • Email and Gmail (103)
    • Internet (54)
      • Blogging (7)
      • Google (23)
        • Adsense (1)
    • Scams (3)
    • Technology (61)
      • Computers (17)
      • Mobile Computing (3)
      • Mobile Devices (12)
      • Organizing (5)
    • Video Games (102)
    • Web Design (27)
      • SEO (2)
      • Site Content Management (1)
    • Windows (7)
    amd android battlefield book giveaway cell phone chat chrome cricket crysis css dead space email EndWar firefox gcalendar gears of war gmail gmail contacts gmail labels godaddy google google docs green green technology hack halo halo wars ipod touch mass effect microsoft mw3 new design phishing php safer surfing security smartphones tips & hints Tom Clancy Windows windows 7 windows xp wordpress xbox xbox 360
    • May 2012 (1)
    • April 2012 (1)
    • March 2012 (1)
    • February 2012 (17)
    • January 2012 (12)
    • December 2011 (6)
    • October 2011 (4)
    • September 2011 (11)
    • August 2011 (18)
    • July 2011 (5)
    • June 2011 (12)
    • May 2011 (4)
    • April 2011 (7)
    • March 2011 (4)
    • February 2011 (8)
    • January 2011 (8)
    • December 2010 (1)
    • November 2010 (10)
    • October 2010 (18)
    • September 2010 (21)
    • August 2010 (11)
    • July 2010 (2)
    • June 2010 (6)
    • May 2010 (1)
    • April 2010 (5)
    • March 2010 (6)
    • December 2009 (4)
    • November 2009 (6)
    • October 2009 (10)
    • September 2009 (11)
    • August 2009 (8)
    • July 2009 (9)
    • June 2009 (11)
    • May 2009 (7)
    • April 2009 (12)
    • March 2009 (9)
    • February 2009 (11)
    • January 2009 (10)
    • December 2008 (20)
    • November 2008 (16)
    • October 2008 (6)
    • September 2008 (7)
    • More Gmail Themes (15)
    • Cricket Wireless – My Cricket Adventures 12/3/2008 (7)
    • Gears of War 2 Takes Aim at Used Game Sales (6)
    • One of the Guys to Blame When Gmail Goes Down (6)
    • Google gets Greener (5)
    • Gears of War 2 Tip: Intestinal Fortitude – Avoid Suffocating (5)
    • Gmail Mobile on iPhone and Android – Faster, Better (5)
    • Gears of War 2 Aiming (4)
    • Gears of War 2 Intestinal Fortitude’s Avoid Jets and Pools of Acid (4)
    • Gmail Spam Filter, New Controls, and Multiple Inboxes (4)
    • George: No insider info, but Google has this: https://www.google.com/search?q=black+ops+2+perks
    • Billy: Any idea on what the Black Ops 2 ones will be?
    • Mike: The download link doesn't work anymore. Can someone please share the hotfix? /Mike
    • George: Nice in a good way, or is that a sarcastic nice?
    • sayed reza: nice
    • Sonia: Hello, There is another automated tool design for doing such task ,like backup, restore,...
    • Al @ Las Vegas SEO: I'm pretty sure I like this new look but I would like to see some options for new skins. Looking at...
    • Patricia L.: Thank you! Thank you! Thank you! I've been trying to figure out how to transfer photos for what...
  • Tech Reading

    Make Use Of
    Life Hacker

  • Video Games

    Video Games
    Mass Effect Wikia
    IGN Video Games
    New & Used Video Games
    Gamespot
    EA Games

  • Site Archives

    • May 2012 (1)
    • April 2012 (1)
    • March 2012 (1)
    • February 2012 (17)
    • January 2012 (12)
    • December 2011 (6)
    • October 2011 (4)
    • September 2011 (11)
    • August 2011 (18)
    • July 2011 (5)
    • June 2011 (12)
    • May 2011 (4)
    • April 2011 (7)
    • March 2011 (4)
    • February 2011 (8)
    • January 2011 (8)
    • December 2010 (1)
    • November 2010 (10)
    • October 2010 (18)
    • September 2010 (21)
    • August 2010 (11)
    • July 2010 (2)
    • June 2010 (6)
    • May 2010 (1)
    • April 2010 (5)
    • March 2010 (6)
    • December 2009 (4)
    • November 2009 (6)
    • October 2009 (10)
    • September 2009 (11)
    • August 2009 (8)
    • July 2009 (9)
    • June 2009 (11)
    • May 2009 (7)
    • April 2009 (12)
    • March 2009 (9)
    • February 2009 (11)
    • January 2009 (10)
    • December 2008 (20)
    • November 2008 (16)
    • October 2008 (6)
    • September 2008 (7)
    • Tags

      amd android battlefield book giveaway cell phone chat chrome cricket crysis css dead space email EndWar firefox gcalendar gears of war gmail gmail contacts gmail labels godaddy google google docs green green technology hack halo halo wars ipod touch mass effect microsoft mw3 new design phishing php safer surfing security smartphones tips & hints Tom Clancy Windows windows 7 windows xp wordpress xbox xbox 360
    • Categories

      • Email and Gmail
      • Internet
        • Blogging
        • Google
          • Adsense
      • Scams
      • Technology
        • Computers
        • Mobile Computing
        • Mobile Devices
        • Organizing
      • Video Games
      • Web Design
        • SEO
        • Site Content Management
      • Windows
    • Recent Comments

      • George on MW3 Multiplayer Weapon Proficiencies
      • Billy on MW3 Multiplayer Weapon Proficiencies
      • Mike on Get Dreamweaver 8 Working On Windows 7
      • George on Google +1 Button Coming Soon to Adsense
      • sayed reza on Google +1 Button Coming Soon to Adsense
      • Sonia on Organize Gmail + Your Desktop
      • Al @ Las Vegas SEO on Google, Gmail and GCalendar New Look
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top