Archive

Author Archive

Goodbye Facebook, Hello Yatedo: A New Way to Stalk People

December 14th, 2009 Robert Kania 2 comments

Everyone knows the creepiness that Facebook brought to the online word in terms of cyber stalking.  All you need is a name and assuming your account has limited privacy, anyone can view most if not all of your information.  However, this form of stalking may soon end as a new form begins.  Enter Yatedo, a search engine to find anyone on the web.  On their main page they say the following about themselves:

Yatedo is the new generation free People Search Engine which lets you find and contact anyone on the entire web with any kind of information you have about the person you are looking for.

Now you will not have to have Facebook open when you are doing a school research project on Albert Einstein.  Instead just open Yatedo and search for both Einstein and your best friends.  I have requested an invite to this service, so I will see more of what it is like once I get one, but for now here is a screenshot of an info page.

yatedo

Bing Outage

December 13th, 2009 Robert Kania No comments

The Bing search engine had a major outage on December 3, 2009.  As many search engines users know, if a search engine fails, that is many dollars of revenue for the company lost. A search engine as big as Bing get sometimes close to a million searches per minute, which means for the 30 minutes that Bing was down, that is approximately 30 million searches that could not be completed. Of course the half hour I chose to use Bing for the first time, it had a server error :(

bing fail

Categories: Web/Internet Tags: ,

Lose Weight Fast, Create a Webpage

December 13th, 2009 Robert Kania 1 comment

With all the hard hours and late nights, this is what happens…
lose weight

The fastest way to lose weight, guaranteed.

Categories: Web/Internet, funny Tags: ,

PHP Code to Include Content in Layout

December 13th, 2009 Robert Kania No comments

When I didn’t know PHP I spent a lot of time trying to find the coveted script that would allow me to include content in a page by including a page so that I could change the layout and it would remain the same for all pages, only the content would change. I of course didn’t want to use an iframe because these scroll and look hideous. The solution I found, but did not understand for several months later. When a bit later I lost this code I realized it was time for me to learn PHP. The code I wished to know was the code that allows you to include pages with content like http://example.com/index.php?page=home.php. The layout would be in the file index.php but the content for the homepage would be at home.php. The code to do this would be:

<?php if($_GET['page'] == null) { include “default.php”; } else { include $_GET['page']; } ?>

The explaination of this is:

$_GET['page']
is the PHP way to get a parameter from a url.  In PHP all the page parameters are stored after the ? in the url.  For example in this page index.php?page=anything.php the only variable is page and in this case page is equal to “anything.php”.  The $_GET['page'] gets the value of page.  If you wish to add more variables to the url you simply add an & in between the variables.  For example “index.php?page=anything.php&loggedin=false” Thus $_GET['loggedin'] would result in false.   Next time you do a go0ogle search check the url and you can see these variables.

include “default.php”
The first include will be shown if the page variable is null.  In this case it will show the default page you assign it.

include $_GET['page']
This will show the page of whatever follows the page variable in the url.

For an example of this visit my homepage http://rkania.com/index.php?view=home.  My site has customized code and mod rewrite so it won’t work exactly the same.

Categories: Programming Tags: ,

Have you ever?

December 9th, 2009 Robert Kania No comments
usage

The user statistics of my app.

Have you ever used Facebook? You have, have you? Well then I built a great application for you. The Have You Ever Facebook application. I built this Facebook application last year in a night, but never blogged about it. It was down for a few months while I upgraded my webhost, but now it is back up and slightly improved. I currently have over 3000 current users and approximately 250 monthly active users which has increased from about 150 before I upgraded it last week. This application allows you to ask your friends a question and have them respond yes or no to the question. I am trying to improve this application so that it can do more things, but I will to sort out the source code. In order to create this application I had to use the Facebook Develper’s PHP api. I learned a lot from this project.  I got the idea to create this application from the game we had to play at college orientation.  We stood in a circle with some sort of marker where we stood.  Then someone in the center calls out something that they have done or are wearing etc and everyone who has also has to move to a new spot.

To visit my application go to: http://apps.facebook.com/have_you_ever/

haveyouever

My Application

Categories: Programming, Web/Internet, websites Tags: