Sunday, January 20, 2013

How to Connect in Twitter API Using PHP

Connecting to twitter is very tiring because you have to make all the strings required by the twitter API correct. So lets start

First you need to do it to create an application in https://dev.twitter.com and fill the requirements there. Once finished you will have your $consumerKey and $consumerSecret.
I have declared a session start here so that we can just get our tokens directly once we obtain it.

 <?php   
 session_start();  
   $host = "https://api.twitter.com/oauth/request_token";  
   $consumerKey = "h0YUvJVE6AdYBsBLxhL7Nw";  
   $consumerSecret = "AYS7EcrqzcjambZIHsZtXZxOGn0VfJRgYJrqI5aqQ0&";  
   $nonce = time();  
   $timestamp = time();  
   $oauth_signature_method = "HMAC-SHA1";  
   $callback = "";  

All of these variable are self-explanatory since it is all the variables needed by the Twitter API. Note that you should set your $callback in your twitter application.
First, we should obtain the $signature_base_string. In the first $signature_base_string that we will create it using the variables above.

$signature_base_string = "POST&". rawurlencode($host).'&'  
               .rawurlencode("oauth_callback=").rawurlencode($callback)  
               .rawurlencode("&oauth_consumer_key=". ($consumerKey))  
               .rawurlencode("&oauth_nonce=". rawurlencode($nonce))  
               .rawurlencode("&oauth_signature_method=".$oauth_signature_method)  
               .rawurlencode("&oauth_timestamp=".$timestamp)  
               .rawurlencode("&oauth_version=1.1");  
First thing you should note is that strings that will be put in the $signature_base_string should be URL Encoded. This is a dummy $signature_base_string because we still don't have the $oauth_signature.
The $signature_base_string would look something like this:

 POST&https%253A%252F%252Fapi.twitter.com%252Foauth%252Frequest_token%26oauth_consumer_key%3Dh0YUvJVE6AdYBsBLxhL7Nw%2Coauth_nonce%3D1358732765%2Coauth_signature_method%3DHMAC-SHA1%2Coauth_timestamp%3D1358732765%2Coauth_version%3D1.1%2Coatuh_signature%3DuV%2FogNLV%2FwS%2FVYNpdxbxtF5TJro%3D  

Since we have now created our $signature_base_string, we can now make our $oauth_signature. (If you want to clarify things on what these variables represents, you should read a bit in https://dev.twitter.com/docs/auth/creating-signature).

 $oauth_signature = base64_encode(hash_hmac('sha1', $signature_base_string, $consumerSecret,true));  

The signature is calculated by passing the signature base string and signing key to the HMAC-SHA1 hashing algorithm. The details of the algorithm are explained in depth here, but thankfully there are implementations of HMAC-SHA1 available for every popular language. For example, PHP has the hash_hmac function (https://dev.twitter.com/docs/auth/creating-signature).

 We will now write our HTTP header that will be used in our cUrl method.

   $r = "Authorization: OAuth ".'oauth_callback="'.$callback.'"'  
                 .', oauth_consumer_key="'. rawurlencode($consumerKey)  
                 .'", oauth_nonce="'. rawurlencode($nonce)  
                 .'", oauth_signature_method="'.$oauth_signature_method  
                 .'", oauth_timestamp="'.$timestamp  
                 .'", oauth_version="1.1'  
                 .'", oauth_signature="'.rawurlencode($oauth_signature).'"';  
  $r = array($r,'Expect:');  

We will now use cUrl with the settings that we wanted and call the cUrl method.

  $options = array(CURLOPT_HTTPHEADER=>$r,  
            CURLOPT_HEADER=>false,  
            CURLOPT_URL=>$host,  
            CURLOPT_POST=>true,  
            CURLOPT_POSTFIELDS => "",  
            CURLOPT_RETURNTRANSFER=>true,  
            CURLOPT_SSL_VERIFYPEER=>false);  
   $ch = curl_init();  
   curl_setopt_array($ch, $options);  
   $response= curl_exec($ch);  

After executing this, our $response will contain the oauth_token and the oauth_token_secret. We can save it in our session that it can be used in later transactions.

  $response_array = explode('&', $response);  
   $_SESSION['oauth_token'] = $response_array[0];  
   $_SESSION['oauth_token_secret'] = $response_array[1];  

Once we obtain our tokens needed, we can now redirect to our page to the twitter to authenticate us.
  header("Location: https://api.twitter.com/oauth/authenticate?".$response_array[0]);  

Here is the full source code:

 <?php    
   session_start();  
   $host = "https://api.twitter.com/oauth/request_token";  
   $consumerKey = "h0YUvJVE6AdYBsBLxhL7Nw";  
   $consumerSecret = "AYS7EcrqzcjambZIHsZtXZxOGn0VfJRgYJrqI5aqQ0&";  
   $nonce = time();  
   $timestamp = time();  
   $oauth_signature_method = "HMAC-SHA1";  
   $callback= "";+  
   $signature_base_string = "POST&". rawurlencode($host).'&'  
               .rawurlencode("oauth_callback=").rawurlencode($callback)  
               .rawurlencode("&oauth_consumer_key=". ($consumerKey))  
               .rawurlencode("&oauth_nonce=". rawurlencode($nonce))  
               .rawurlencode("&oauth_signature_method=".$oauth_signature_method)  
               .rawurlencode("&oauth_timestamp=".$timestamp)  
               .rawurlencode("&oauth_version=1.1");  
   $oauth_signature = base64_encode(hash_hmac('sha1', $signature_base_string, $consumerSecret,true));  
   $r = "Authorization: OAuth ".'oauth_callback="'.$callback.'"'  
                 .', oauth_consumer_key="'. rawurlencode($consumerKey)  
                 .'", oauth_nonce="'. rawurlencode($nonce)  
                 .'", oauth_signature_method="'.$oauth_signature_method  
                 .'", oauth_timestamp="'.$timestamp  
                 .'", oauth_version="1.1'  
                 .'", oauth_signature="'.rawurlencode($oauth_signature).'"';  
   $r = array($r,'Expect:');  
   $options = array(CURLOPT_HTTPHEADER=>$r,  
            CURLOPT_HEADER=>false,  
            CURLOPT_URL=>$host,  
            CURLOPT_POST=>true,  
            CURLOPT_POSTFIELDS => "",  
            CURLOPT_RETURNTRANSFER=>true,  
            CURLOPT_SSL_VERIFYPEER=>false);  
   $ch = curl_init();  
   curl_setopt_array($ch, $options);  
   $response= curl_exec($ch);  
   $response_array = explode('&', $response);  
   $_SESSION['oauth_token'] = $response_array[0];  
   $_SESSION['oauth_token_secret'] = $response_array[1];  
  header("Location: https://api.twitter.com/oauth/authenticate?".$response_array[0]);  
 ?>  

In my next post, I will show how to create a post status request in twitter.



Monday, October 1, 2012

Media Nowadays


Media has been the part of the people's lives. It may be on the television, on radio or in many other devices that concerning about media. But how does the media influenced our lives? For me, media did gave me a lot of information that I needed for me to learn. Media gave me shows where I can laugh and relax for some time. It fulfilled my needs for the hunger of entertainment. When it comes to the mass media news, my dilemma arises. The media news can easily manipulate information to make the people think the other way around. They either gives us the beautiful lies or the ugly truth. Media in terms of entertainment is where I appreciate much than media news.

Wednesday, August 15, 2012

A Place Where Every People Must See


A place where every people has this unique personality of always smiling and always easy to approach, who wouldn’t want to stay that kind of place?
                A place surrounded by gigantic mountains and attached by the vast sea. With this kind of city, it would be impossible for the people not to utilize the gift of nature. Fortunately, Iligan City possesses this one of a kind beauty that all Iliganons are proud of.
                In speaking of tourist spots Iligan, there would be countless spots but I just want to enumerate somethings.
                One known tourist spot in Iligan is the bizarre length of of Maria Cristina falls which is labeled as the Philippines longest waterfall. With a glance of it, you will be mesmerized with one of the wonders of nature. A wonder that was preserved and instead of just used for the eye pleasure, it was utilized to power up turbines to lighten up the city.
                In terms of pools, Timoga is just one the many place in Iligan can represent to. With the water so cold, it would be a perfect get-away from the summer. If you want a place in the pool with your kids, kiddie pool in Timoga would be the most suitable place for them. An accommodation for the children wherein you can always be sure that they will always be safe. If you want to go for a dive, there will always a place for you with a diving board with a height which can enable you to make different diving stances.

                Would you still be up for the weekend? Well, Iligan will always be there you. The night market will be there for you in the public plaza during weekends. If you don’t have the enough penny, ukay-ukay in the night market is always there. Even the prices are cheap, quality will always be there. Street foods like kwek-kwek, balot, etc. are what you want? There will always a place for that in the market and you wouldn’t need to budget your money because the foods are just so cheap and are just enough to surely grant your satisfaction.

                 If you just want a place savor the beauty of nature, you can just go to the city hall located in Pala-o and you can see a place with a wonderful view of the Iligan city. You can see from the above the explicit beauty of Iligan city has to offer. It’s just not top view of the city you can see in the city hall that is unique, it’s also on that place that it was built is also unique because of the landscape is going up which will be a perfect spot for jogging exercise during the early morning. It’s not just that, children are also perfectly suitable in the city hall as there are places that are specially made for them.  
                These are just one of the few reasons why you should go to Iligan, there are plenty more. So don’t hesitate to choose Iligan for a vacation because Iligan has many things to offer! 


An official entry to the Iligan BLogging Contest 2012

                

Monday, August 13, 2012

#7 The Lorax



"UNLESS someone like you cares a whole awful lot, nothing is going to get better. It’s not." - Dr.Seuss

    Development of the humanity comes with a great price.  As we people approach the new era, the era of the machines Mother Nature is now just left in the corner, left unaided in the darkness. In the movie “The Lorax”, it relates to what is happening in the modern times.
                There was a boy named Ted who was eager to find a genuine tree to impress this lassie girl of his dreams since at that time, things are made mostly by plastics. His pursuit in finding a tree just to amaze his crush turned out to be a bigger quest as this was the reason for the society to open their eyes and grasp the unpleasant truth that was concealed to them for a long time.
                As Ted goes out in the village called “Thneed-Ville”, he met a guy called the “Onceler”. The Onceler told everything to Ted why every trees ceased to exist anymore.
                The Onceler was this man who was so determined that his research will be a huge success. His research was to invent an all-purpose cloth however, in order to yield such cloth, the leaves of a Truffula tree is necessary.  As soon as the Onceler cut down the glooming Truffula tree, the guardian of the nature, known as the “Lorax”, came out to voice out for the trees. The research of the Oncler came to be a really big hit that made him a prosperous man.  He needed to cut more trees to create more of his product but little did he know that trees were ceasing to exist any longer.  As the last tree was cut down, the Lorax can’t do anything. Instead, he just left a word “unless” carved in a rock.

                The Onceler entrusted Ted to plant the last seed of the Truffula tree to restore the balance in the world. Of course, the government of Thneed-Ville, Aloysius O'Hare, didn’t agree with Ted to plant the seed as this could the reason for his business to fall down. But Ted used the power of the society as he let the people show the wasteland around their pleasing city. In the end, Ted was able to plant the last seed and restored the true beauty of nature.


Monday, July 30, 2012

#5 My Thoughts


In the word they call “peace”, how much can you sacrifice to achieve it? The peace can easily be said but difficult to do. What would you give in? Happiness for you own or sacrifice something from yourself for the good of others?
                Ming-ming, the drama that I watched depicts on how the early generation of Muslims that settled here in the Philippines on managing peace between tribe. Redo is a common thing back in the days and their clan has a redo with another clan. Redo is committing revenge to a family or clan. The saying “an eye for an eye” relates to it. In the drama Ming-ming, Aye, as I remembered their names, was chosen in their clan to have an arranged marriage to another man of their rival clan to preserve peace between clan. But Aye didn’t want the man engaged to her because she described him as “a man with distorted face”. For a month, Aye was sent somewhere in Luzon to study there but that opportunity of studying there for knowledge was not been followed. She was just wasting time and money. She committed a relationship that wasn’t for her. Every person in this world has the right to make their own decision. Making the best judgment out of all the choices but then, this was not the situation in the past. The decision of the elders will always be followed and respected. For all these decision can benefit the entire clan. It could gain glory and prosperity for both clans if there is an agreement between the two. Like in the case of Aye, she will be married to another man, not only for the benefit of peace but with the wealth. After Ar and Pi knew what Aye was doing while being sent away to study, Aye was demanded to go home to their province and stay there. Yet it was too late for them to take the action because Aye was already committed a sin, a child was already developing in her womb. Aye was pregnant but with a wrong father. In order to prevent in a war that might wage, Ar and Pi hid it as a secret and make everyone believes that the father of Aye’s child is of the other clans’ man. However, Aye would still prefer being with the true father of her child than with the other man that she was been arranged to marry. She thought selfishly that she didn’t consider in her actions the consequences that might arose. Many people have this trait, always rushing decisions that thinking is not a part of the process anymore and only considering the advantages can bring to him. Time have past and the identity of Aye’s child named Ming-Ming was been discovered. Things have been revealed. Ming-ming was sent away from her mother and imprisoned. Ming-ming being felt that she was all alone, committed a suicide.
In the decisions we make in our life, there will always be a corresponding reaction to it. We must take responsibility of our actions and make a stand of it.

Sunday, July 22, 2012

#4 Gratifying Experience







It was my 2nd year of stay in my high school at Philippine Science High School- Central Mindanao Campus when one of the subjects that I needed to tackle was computer programming. Of course at first, I didn’t know a single thing about programming. I was absolutely empty minded on what to do. After a few lectures of that subject, I did felt that I was really into programming. All I needed to do was to read in advance to gain more information about it. Well, I did literally read a book or two cover to cover just to have knowledge on how programming really works. After I finished reading it, my mind started to tack ideas from the book like from simple “Begin and end statements” to “recursive functions” and so on. Well, my teacher didn't expect me to learn those many kinds of idea in just a short period of time. He did applauded me for the excellent performance that I was giving him in the field that he was teaching us.
                The performance that I had been showing off gave me an opportunity to join in computer programming contests. Well, that was too much for me to handle because I would be one of the contestant that will bring the name of ourschool along with my teammate Danica. There was an event held in IIT called ICCF (Iligan City Computing Fair, I’m not really sure if that is what ICCF stands for). One category for the contests of the said event was computer programming. A week before the contest, me and my teammate did a lot of practicing in solving programming problems. Of course at that time, we were so confident that we will win the trophy. But a few moments before the contest, we were informed that college students our opponents would be college students. That lowered my confidence in winning because at that time, I was still in 3rd year high school and I was competing with college students already who  have more knowledge about programming than I do. When the competition started, my hands were shaking because of I was really nervous. I can’t even concentrate on what to do and how to manage my time properly in answering programming problems. In short, I was devastated at that time. At the end of the competition, my adviser was really disappointed for my performance but quitting didn’t occur into my mind. I swore to my adviser and to myself that I will win the next competition that I will be joining.
                Few months later, my adviser told me again that there would be another contest that I would be joining that would be held in Davao City. The moment I received the news, I did practice harder in solving programming problems from dawn to evening, That was how so disparate I was to win the contest. While traveling, I questioned myself, what if I still can’t win this time? If I will lose again, this will just prove of how a failure I am. Still, my confidence didn’t go off that I would not return empty handed. So during the contest, a set of programming problems were given to us. As I opened one by one the papers being handed to us, things rushed into my mind on what kind of problems would come out  and how difficult the problems could be(by the way, my opponents this time are high school students). As I read the problem, I knew that I can solve this things right away because I have already encountered similar problems like this. As a matter of fact, I was the first one to finish solving the problems. While other students were still solving, I just played minesweeper and solitaire on the computer in from of them just to pressure them. That was how confident I was that I would win that time. At the end of the competition, winners were announced and as I hoped that I will win first place, I didn't. But as the second placer was announced my name echoed. I really don’t know what didn’t went right in solving those problems. Still, I was happy because I did win in that said competition. Well that same thing still happened on the national level of the said event. Being so confident yet clumsy, I just ranked 3rd place. Lol.

Sunday, July 15, 2012

#3 Sweet Unforgettable Day Reaction




The story is about a woman who truly misses her mom and even though years have already passed since the death of her mother, she can still feel the emptiness and depression after their lost.Well, who wouldn't feel that same way that the one who was responsible on giving birth of us and the one who cared very much for us would go away? Each and everyone of us would feel that sad emotion deep inside us. It was not only her but all the other members of the family felt the same way. They missed the light of their home and the woman  who cared for all of them. As a child, we should cherish our loved ones because we wouldn't know when will the time int which they cannot be with us anymore. The best thing that we could just do is  to make every moment special and  cherish the love that is being shared to us. 

Then there comes this day where there was a  wedding which was held in their house and while finishing the decorations and arrangement for the wedding, there was this scent in the room that passed through their nostrils and suddenly they remembered someone. It was the very scent that their mother was using. The recalling of their mom just by a scent tells that they really misses the presence of their deceased mother. They wouldn’t leave the room because they really want to be with their mom even though it was only the scent of their mother which remained. They cherished it very much and imagined that she was there with them. They remembered the times that she was still alive and to make every moment special but all they could do was to mourn about the death of their mother.
As the wedding started the scent vanished slowly. Even though it was only a moment that they did feel the presence of their mom, they still made it unforgettable. 
                

#2 AN INTRODUCTION TO MYSELF





Hmm, so what is the best description that I can give to myself? Am I Responsible? Not quite. Am I Intelligent? I don’t think so. How about lazy? Yes, that must be it.
                So you are thinking now that if I’m lazy, why did I wrote this blog? Simple, it’s because I need to have something to pass in the activity that my subject teacher has given to me. I’m that lazy but responsible guy. I do thing that needed to be done in time but not exerting more effort to do other things that can give me an advantage on my studies. There were already times when I thought of changing my way of handling things like working on my school requirements but I didn’t change because my mind is already used in this kind of setup, to just simply do things that needed to be done without minding on other things. I would just let my brain work if cramming occurs and keeping myself calm and thinking that everything’s gonna be okay in the end.
                So much in my personality, we should go now to my interests and hobbies. Firstly, I am interested on computers. Not interested in the games in the computers but interested on how it really works. From the simple things, on how it operates to its complicated building blocks on why it worked like that. I am just so fascinated that a simple box can do multiple functions in one time and that is why I dig more information on computers. Now let’s go to my hobbies. I love playing football and I’m fond of programming applications in computers. I know that I’m not that very well in playing football but hey, who says I can’t play it? As long as I am having fun on playing it then I will continue doing it. Then on computer programming, I’m not boasting that I’m that very good on programming but I can program many things on computer that can ease that job of a user.
                And I think this is how I’m gonna end on how I describe myself.

Sunday, July 8, 2012

#1 I Stop to Say Thank You To My Parents


  





                Discipline, patience and consideration. These are the values that my parents taught me. They are the ones who provided me the love that I have always wanted. They didn't let me down in times of failures because they always encourage me to do the same task again with the assurance that I will be successful on accomplishing it.
                When I was still a child, I felt the lack of love from my parents because of the childish reason of not giving me all the things that I wanted, like toys. But today, I can see that they still love me no matter what. As I continue to grow up, my parents are still there, guiding me and at the same time teaching me how to discipline myself. They made me realize that not all things can be acquired directly. That there must be hard work to be able to acquire those things that I want for life and being a spoiled brat won’t do well on myself. My parents also taught me to avoid being so dependent on them and explained to me that time will come that they can’t help me anymore and I should stand on my own feet to face my own problems in my life.

              Lastly, they showed and taught me what consideration really is. Even though I have done many mistakes in my life, still they didn't mistreated me for what I've done. They have instill in my mind that there is always a room for improvement and a time to correct my mistakes  because there is no such thing as “too late to change”.

                For all the things that my parents have imparted to me, I would like to give my warmest gratitude and thank you. 

Friday, July 30, 2010

Disney Buys Marvel: One Year Later


Now that it has been almost a year since Disney bought Marvel for $4 billion, we thought you'd like to see some of the projects they have in development.

Beastbi

The Little Rougemaid

Fantastic Four

The Incredibles Hulk

Iron Wall-E

Beauty And The Thor

The Lion Thing

Punisherladdin

Silver Surfer And The Seven Dwarfs

Spiderman Of The Caribbean

Venom Pan

X-Men

Sunday, July 25, 2010


Ethics as a concept suggests the notion of correct or incorrect practices relative to various concerns or fields of study

Hacking or accessing other people’s profile without their permission and make them to be humiliated in public just to make their life miserable is not what the internet made for. Internet was made for the people to interact to each other not to humiliate each other or make their life miserable.

This summary is not available. Please click here to view the post.

Saturday, July 10, 2010

End Foundation Day

Mana gyud ang foundation...sus bahala pag na 4th ang blue ug gamay ray mga bag.ong blue league daug gyapun ang lithium sa 2nd day sa foundation day!!

Saturday, July 3, 2010

Google Earth

Columbus and Magellan had it rough. Exploration these days is quite literally an armchair activity, as high-resolution satellite images and tools like Google Earth make it possible for anyone with an Internet connection to pour over the globe with a fine-toothed comb. There are entire online communities devoted to finding and cataloging the most unusual locales worldwide, creating 21st-century atlases of minutiae. It isn't just for hobbyists either — Google Earth has helped scientists find previously unknown ruins and police locate clandestine marijuana fields. Here are ten of the most unusual discoveries.

10. Atlantis Found?

Might these be the ruins of the lost continent of Atlantis? Eager explorers certainly thought so, trumpeting this grid off the coast of Africa as streets in the mythical sunken city. Observers noted the area appeared to be the size of Wales, making such a large grid an impressive feat of ancient urban planning. The real explanation is far less fun: Google Earth engineers soon announced that the grid pattern was merely a digital artifact created by the sonar boats collecting mapping data. Whispers still linger, but it doesn't look like anyone will be dredging up a forgotten civilization anytime soon.

See on Google Maps

9. Firefox Crop Circles

Maybe alien technology isn't so foreign after all. This Firefox crop circle sprouted up in a corn field in Oregon, but its origins are no mystery. In 2006, the Oregon State University Linux Users group created the giant logo — spanning more than 45,000 square feet — to celebrate the Web browser's 50 millionth download.

See on Google Maps

8. UFO Landing Pads, Maybe?

Here's a true Google Earth mystery. These odd formations can be found on air bases in the U.S. and Britain — this one comes from a base outside of Norwich, England. The U.K. Ministry of Defense called it a motorcycle range, but other speculate it may be some sort of calibration tool for satellites. No one really knows — and the military isn't saying anything more.

See on Google Maps

7. Oprah Maze

She's got a massive syndicated show, a magazine called O and was dubbed the most powerful celebrity in the world by Forbes. Why shouldn't Oprah get her own corn maze? An Arizona farmer created this 2004 tribute to the TV talk-show host.

See on Google Maps

6. Secret Swastika

When builders of the Coronado Naval Amphibious Base in San Diego planned this complex in 1967, satellite imagery was probably the furthest thing from their minds. But in 2007 Google Earth sleuths found that four unconnected buildings on the base formed an unfortunate shape when viewed from above: a swastika. The Navy says it's spending more than $600,000 to mask the shape. "We don't want to be associated with something as symbolic and hateful as a swastika," a spokesman said.

See on Google Maps

5. Lost (and Found) at Sea

The SS Jassim, a Bolivian cargo ferry, ran aground and sunk on the Wingate Reef off the coast of Sudan in 2003. Now it's one of the largest shipwrecks visible on Google Earth.

See on Google Maps

4. A Face in the Clay

It looks disconcertingly like a face from above, but this formation in Alberta, Canada is entirely natural. Dubbed the Badlands Guardian, the "face" is actually a valley eroded into the clay. Some say the man looks like he's wearing earphones; that's merely a road and an oil well. Even the Badlands Guardian, it seems, isn't immune to exploratory drilling.

See on Google Maps

3. Iraq's Bloody Lake

This blood-red lake outside of Iraq's Sadr City garnered a fair share of macabre speculation when it was discovered in 2007. One tipster told the tech blog Boing Boing that he was "told by a friend" that slaughterhouses in Iraq sometimes dump blood in canals. No one has offered an official explanation, but it's more likely the color comes from sewage, pollution or a water treatment process.

See on Google Maps

2. Airplane Graveyard

The Davis-Monthan Air Force Base outside of Tuscon, Ariz., is where old planes go to die. More than 4,000 military aircraft are parked on the base, from B-52s to stealth bombers, where they are salvaged for parts and broken down for scrap. It's one of the most popular satellite pictures online, making guided tours of the area are a hot ticket.

See on Google Maps

1. Missile Test?

Google Earth has plenty of examples of planes, helicopters — even hot air balloons — caught in flight, but this cruise missile, thought to be fired during military training exercises in the Utah mountains, might be the most unlikely capture yet. If it is, in fact, a cruise missile. Many dispute the image and say it's merely an airplane. You be the judge, but if you look closely, the "missile" appears to have wings.

Friday, June 25, 2010

Surf Anonymously Without a Trace

Feel like someone is watching you? On the Web, they probably are. Protect your privacy by using anonymous proxy servers.

Whenever you surf the Web, you leave yourself open to being snooped upon by web sites. They can track your online travels, know what operating system and browser you're running, find out your machine name, peer into your clipboard, uncover the last sites you've visited, examine your history list, delve into your cache, examine your IP address and use that to learn basic information about you such as your geographic location, and more. To a great extent, your Internet life is an open book when you visit.

Don't believe me? Head to http://www.anonymizer.com/snoop/test_ip.shtml. This page, run by the Anonymizer.com web service, tells you what your IP address and machine name are. And that's just a start. Click on the links on the left side, such as "Exposed Clipboard" and "Geographical Location." You'll see just a small sampling of what web sites can learn about you.  Figure below shows a web site reporting on my geographic location. It's close enough; I live in Cambridge rather than Boston, and we generally require that people turn over their passports at the border.

 The Anonymizer.com web service, exposing my current geographic location


Much of the reason why web sites can find out this information about you is due to the trusting nature of the Internet's infrastructure and is inherent in the open client/server relationship between your web browser and the servers on the sites you visit. But a lot of it also has to do with the ability to match up information from your PC to information in publicly available databases—for example, databases that have information about IP addresses.

The best way to make sure web sites can't gather personal information about you and your computer is to surf anonymously; use an anonymous proxy server to sit between you and the web sites you visit. When you use an anonymous proxy server, your browser doesn't contact a web site directly. Instead, it tells a proxy server which web site you want to visit. The proxy server then contacts the web site, and when you get the web site's page you don't get it directly from the site. Instead, it's delivered to you by the proxy server. In that way, your browser never directly contacts the web server whose site you want to view. The web site sees the IP address of the proxy server, not your PC's IP address. It can't read your cookies, see your history list, or examine your clipboard and cache, because your PC is never in direct contact with it. You're able to surf anonymously, without a trace.

There are two primary ways to use anonymous proxy servers. You can run client software on your PC, which does the work of contacting the server for you, or you can instead visit a web site, which then does the work of contacting the server.

Web-Based Anonymizer

If you don't want to go to the hassle of installing a client—and if you don't want to pay for software—to surf anonymously, go to Anonymizer.com (http://www.anonymizer.com). In the box near the top of the page, type the name of the site to which you want to surf, and you'll head there anonymously. The proxy server will grab the page for you, and you'll get the page from the proxy server. You can also download a free version that runs as a toolbar in Internet Explorer. Surf as you would normally, and you'll visit those web sites directly. When you want to visit a site anonymously, click on a button and the anonymous proxy server will do the work for you.

A fuller version of the program is available on a subscription basis for $29.95 per year or $9.95 for three months. It blocks banner ads, stops pop ups, encrypts the URLs you type so that they can't be read by your ISP or network administrator, and adds a few other features as well. I don't find the extra features worth the money, but if these kinds of things are important to you, go ahead and spend the money. 

The 10 Commandments

This is the 10 Commandments of Computer Ethics
  1. Thou shalt not use a computer to harm other people.
  2. Thou shalt not interfere with other people's computer work.
  3. Thou shalt not snoop around in other people's files.
  4. Thou shalt not use a computer to steal.
  5. Thou shalt not use a computer to bear false witness.
  6. Thou shalt not use or copy software for which you have not paid.
  7. Thou shalt not use other people's computer resources without authorization.
  8. Thou shalt not appropriate other people's intellectual output.
  9. Thou shalt think about the social consequences of the program you write.
  10. Thou shalt use a computer in ways that show consideration and respect.

Saturday, June 19, 2010

Introduction

Hello! this is my simple Web Site. I would like to dedicated this to all my colleagues and students of Philippine Science High School-Central Mindanao Campus and also to my Faculty in Charge and my classmates of Philippine Science High School - Central Mindanao Campus . I hope you like this site. Please feel free to visit here...Thanks. Have a nice surf!

Foundation Day

Foundation Day napud diay? Mmmmm.....

Getting older yet getting stronger.....yan ang Pisay - CMC . Ayusa ana no? Mag ka kusgan balag nagkatigulang. Murag Curious Case of Benjamin Button. Pero tinuud bya gyud kay nagkadugay ang Pisay - CMC kay mas nagka aus ang mga infrastructure ug nagka daghan ang studyante.

Yes Foundation Day! So ang pinaka aus gyud ana nga event kay ang sorting para sa mga leagues! New members sa league and new league captain. Dapat dli na gyud ma 4th ang blue league ani nga year kay murag mag grandslam gyud mi sa 4th place if 4th gyapun among place kron!