top 8 google tools-for every one

  • Google Documents -- Share and edit documents with 
    others in real time, view them on the run with Google Docs
     mobile service, and use Google Notebook for web research
  • Google Spreadsheets -- Add real-time data to spreadsheets, 
    and generate charts and tables you can embed in web pages
  • Google Presentations -- View them on a mobile phone and
     save them as video
  • Gmail -- Send email to and from a mobile phone, 
    adjust Gmail's layout with a style sheet, and a lot more
  • iGoogle -- Create your own gadgets, program a
     screenscraper, add Flash games, and more.
  • Google Calendar -- Add web content events, public 
    calendars, and your Outlook Calendar to this application
  • Google Reader, Google Maps, Google Earth, and 
    Google SketchUp: the new 3D modeling software tool
  • Picasa, YouTube, and Google Video -- discover new 
    ways to customize and use these media management apps

php-Dynamic Variables

Sometimes it is useful to set and use variables dynamically. 
Normally, you assign a variable like this: 

$var = "hello";
 
Now let's say you want a variable whose name is the 
value of the $var variable. You can do that like this:

$$var = "World";
 
PHP parses $$var by first dereferencing the innermost 
variable, meaning that $var becomes "hello". The 
expression that's left is $"hello", which is just $hello.
 In other words, we have just created a new variable 
named hello and assigned it the value "World"
You can nest dynamic variables to an infinite level in 
 PHP, although once you get beyond two levels, it 
can be very confusing for someone who is trying to read your code.
There is a special syntax for using dynamic variables, and 
any other complex variable, inside quoted strings in PHP: 

echo "Hello ${$var}";
 
This syntax also helps resolve an ambiguity that occurs when
 variable arrays are used. Something like $$var[1] is 
ambiguous because it is impossible for PHP to know which
 level to apply the array index to. ${$var[1]} tells 
PHP to dereference the inner level first and apply the 
 array index to the result before dereferencing the outer level.
 ${$var}[1], on the other hand, tells PHP to apply the index
 to the outer level.
Initially, dynamic variables may not seem that useful, but there
 are times when they can shorten the amount of code you need 
to write to perform certain tasks. For example, say you have 
an associative array that looks like: 

$array["abc"] = "Hello";
$array["def"] = "World";
 
Associative arrays like this are returned by various functions
 in the PHP modules. mysql_fetch_array() is one example.
 The indices in the array usually refer to fields or entity names 
within the context of the module you are working with. It's
 handy to turn these entity names into real PHP variables, 
so you can refer to them as simply $abc and $def

security to POST-PHP

$_POST
 POST-method variables. Form field data from regular 
POST-method forms.
 
PHP automatically creates variables for all the data it receives
 in an HTTP request. This can include GET data, POST data,
 cookie data, and environment variables. The variables are 
either in PHP's global symbol table or in one of a number
 of superglobal arrays, depending on the value of the
 register_globals setting in your php.ini file. 

mysqli_real_escape_string can be add for security reson.

A common error people make when using sessions is that they
 tend to use it as a replacement for authentication -- or sometimes 
as an add-on to authentication. Authenticating a user once as he
 first enters your site and then using a session ID to identify that 
user throughout the rest of the site without further authentication 
can lead to a lot of problems if another person is somehow able
 to get the session ID. There are a number of ways to get the 
 session ID:
  • If you are not using SSL, session IDs may be sniffed
  • If you don't have proper entropy in your session IDs,
     they may be guessed
  • If you are using URL-based session IDs, they may 
    end up in proxy logs
  • If you are using URL-based session IDs, they may 
    end up bookmarked on publicly-accessible computers
Forcing HTTP Authentication on each page over SSL is the
 most secure way to avoid this problem, but it tends to be a 
bit inconvenient. Just keep the above points in mind when 
building a web application that uses sessions to store users' 
personal details.

PHP Expressions

An expression is the basic building block of the language.
 Anything with a value can be thought of as an expression. 
Examples include:
5
5+5
$a
$a==5
sqrt(9)
By combining many of these basic expressions, you can
 build larger, more complex expressions.
Note that the echo statement we've used in numerous 
examples cannot be part of a complex expression because
 it does not have a return value. The print statement, on
 the other hand, can be used as part of complex expression
 -- it does have a return value. In all other respects, echo 
and print are identical: they output data.

Expressions are combined and manipulated using operators.

The control structures in PHP are very similar to those
 used by the C language. Control structures are used to 
control the logical flow through a PHP script. PHP's control 
structures have two syntaxes that can be used interchangeably. 
The first form uses C-style curly braces to enclose statement 
 blocks, while the second style uses a more verbose syntax 
that includes explicit ending statements. The first style is 
preferable when the control structure is completely within 
a PHP code block. The second style is useful when the 
construct spans a large section of intermixed code and 
HTML. The two styles are completely interchangeable, 
however, so it is really a matter of personal preference 
which one you use. 

The if statement is a standard conditional found in most languages.
 Here are the two syntaxes for the if statement:
if(expr) {            if(expr):
  statements            statements
} elseif(expr) {      elseif(expr):
  statements            statements
} else {              else:
  statements            statements
}                     endif;
The if statement causes particular code to be executed if
 the expression it acts on is true. With the first form, 
you can omit the braces if you only need to execute a 
single statement.


Sony Xperia T3

It's been joined by the Sony Xperia T3, which is exclusively
sold by Carphone Warehouse. All three colors are already
 up for grabs - white, black, and purple. That said, the device
 isn't yet being offered with Pay as you go deals or in SIM-free
 form. If you want one, you'll need to sign a contract with an operator.
 The handset can be yours for free if you choose a plan that costs
at least £22.50 per month.

 That option is at Vodafone and brings with it 300 minutes,
unlimited texts, and 250MB of data each month. There are
 many other choices available though, from EE and O2 as
well. As you'd expect, if you want to get more benefits per
month, you need to pick a more expensive plan. The Xperia
T3 is a mid-range phablet that comes with a 5.3-inch 720p
touchscreen, an 8 MP rear camera with LED flash, and a
1.1 MP front snapper.

It's powered by a Qualcomm
Snapdragon 400 chipset with a 1.4 GHz quad-core
CPU, with 1GB of RAM and 8GB of built-in expandable
 storage.

LG -G Watch

Users have complained that the corrosion is causing them
discomfort due to the metal-to-skin contact, as well as problems
 with charging the device; some users aren't able to get their
smartwatches to charge at all. While this seems like an entirely
 hardware issue, LG assures that an OTA software update will
fix the problem. Just how can a software update stop the metallic
 charging connectors from corroding, you ask? Well, the G
Watch constantly streams a current to the watches bottom
conductors - even when the device isn't charging. As a result,
when the watch makes contact with your sweat-covered skin,
 grime builds up and boom, that's where the corrosion begins.
 So what's LG to do? A rep breaks it down: "LG will be rolling
out a maintenance release over the next few days that will disable
 the current when the G Watch is not in the charging dock..
.[this will be] completely safe and unlikely to affect charging.

" If the software update does what LG intends, then the Korean
 tech manufacturer will save itself a lot of money in product recalls.
 The update was pushed out yesterday, so time will tell if this solves
 the corrosion issue and if not, then LG will surely have a lot of irate
 customers on its hands.

Blue HTC One-M8

Last week the HTC One -M8 went on sale in the UK in two new hues
- red and pink. That said, there's another color version of the
 handset that's been leaked quite a few times so far but hasn't
managed to make it to store shelves just yet: blue. A render
showing it appeared in May, followed by this shade of the One
 M8 going up for pre-order in the UK. Intriguingly though,
it hasn't yet launched over there, and the aforementioned
pre-order page is no longer accessible.

If you're wondering what may be going on here, the answer
 might surprise you. It turns out that the blue HTC One M8
 will be an exclusive to Three Ireland. What you see above
 is a shot of some kind of a promotional material from said
operator, which proudly boasts that it will start selling the
 new color sometime before the end of August. It's not out
of the ordinary for carriers to get exclusive colors, but this
flyer seems to imply that the blue HTC One M8 won't be
available anywhere else in Europe.

Samsung Galaxy Mega

Samsung Galaxy Mega

Samsung may want to add another feature to its Galaxy Mega
phone's spec sheet: that the device is bullet proof. A Taiwanese
man was shot in the chest during a heated dispute about a
misplaced wallet. The shooter was apparently not pleased
with the man who found said wallet and shot him, thinking that
 he was a thief. The phone ultimately protected the man who
 was shot; stopping the bullet from entering his body and
saving him from any serious harm. The Mega didn't even
need the Kevlar coating that some of Motorola's offerings
 are dressed in to stop the slug, either; it's all-plastic body
did the job just fine. To refresh your memory- the Galaxy
 Mega is a phablet with a 6.3" screen with 1.5GB RAM,
a 1.7GHz dual-core processor, LTE, an 8MP camera,
1.9MP selfie unit, 3200mAh battery, and a microSD card slot.

Google Translate

Google Translate is a free, multilingual statistical
 machine-translation service provided by Google Inc.
 to translate written text from one language into another.
Free Translation for Spanish, French, English, German,
 Portuguese, Russian and Italian languages.

One way of catering for the long tail of keywords
 is to ensure that each of your pages has a unique
title and, ideally, rather unique content as well.
Another is to add translations of your pages for a
multitude of languages, which will generate a
multitude of new ways to find you there are paid
online services to which you can submit a text file,
 and then pick the languages you want it to be
 translated into by native speakers.

http://translate.google.com

Spotlight on the Stars-James Franco


James Edward Franco born April 19, 1978 is an American actor,
 director, producer, teacher, author. His first prominent acting
 role was a lead part.

Howdy ladies and gentleman For this week’s spotlight piece,
 I wanted to go ahead and take a look at a rather unique A-lister
. Someone who vacillates between humongous Hollywood
blockbusters and odd little independent films, always doing his
 own thing. The A-lister in question? None other than James Franco.
 He’s many things to many people, but he’s

 unquestionably a star. He’s given a few incredibly good performances,
 but he’s never a boring actor to watch. He’s easily one of Tinseltown’s
 most interesting actors to follow. Almost constantly engaging in some
 form of art, Franco is at his core, just that…an artist. He may be a bit
 of a weirdo to some, but he’s an A-lister regardless and deserves this
 tribute. Franco wasn’t always considered a “weird” star.

He got his start basically as a heartthrob. He first came on to
people’s radars when he was cast in the cult Judd Apatow
television show Freaks and Geeks, though he became someone
 to really watch when he played James Dean in the TV movie
of the same name. From there, he shot to the A-list by playing
Harry Osborne in the Spider-Man trilogy from Sam Raimi. In
 Spider-Man, Spider-Man 2, and Spider-Man 3 he built up
his star power, but at the same time he was trying to become
a leading man in things like Annapolis, City by the Sea,
Flyboys, The Great Raid, and Tristan + Isolde. Between
 those movies and the Spidey trilogy, he was someone you
expected to be a serious actor. That made his comedic turn
a Golden Globe nominated one, at that in The Pineapple
Express all the more interesting. From there, he began to
branch out even more, playing Alan Ginsberg in Howl,
taking an acclaimed supporting role in Milk, and of course
his Oscar nominated tour de force in 127 Hours. He has
since made a name for himself by trying just about anything
 once. After he made his debut guest starring on television
 programs in the late 90′s, Franco has gone on to amass
nearly 100 roles to his credit.