Friday, September 30, 2011

// // Leave a Comment

dbORM - Generate classes to access MySQL tables as objects

Name: dbORM
Base name: dborm
Description: Generate classes to access MySQL tables as objects
Version: -
Required PHP version: 5
License: GNU General Public License (GPL)

Download The File From Here: http://down-w3tools.elementfx.com/dborm(w3tools.info).zip
Read More

Thursday, September 29, 2011

// // Leave a Comment

SCache simple data caching class

Name: SCache simple data caching class
Base name: scache
Description: Cache content data strings in files
Version: 1.2
Required PHP version: 5.0
License: GNU General Public License (GPL)

Read More

Wednesday, September 28, 2011

// // Leave a Comment

W3c Validator

Name: my_validator
Base name: my_validator
Description Validate HTML pages with the W3C service
Version: -
Required PHP version: 5.0
License: Proprietary License with Source
Read More
// // Leave a Comment

PHP Handyman

Name: PHP Handyman
Base name: php-handyman
Description: Dynamically add functions to an object
Version: 0.3
Required PHP version: 5.0
License: GNU General Public License (GPL)


Download Here
Read More

Tuesday, September 27, 2011

// // Leave a Comment

How To Enable Facebook Timeline Feature Easily


Hi Guys . As you all know that facebook has launched its new feature FACEBOOK TIME LINE which has been discussed in previous post.. so here i will tell all of you that how can u enable that feature easily on facebook step by step
During the f8 conference 2 days before, Mark Zuckerberg and his team announced a new feature called the Timeline - which is a visual representation of your life and the events surrounding it.
The feature is something totally new and wonderful, and in a unique way expresses a person’s identity. The feature is currently in beta and can beaccessedby developers only. This article shows how you can enable Timeline for your Facebook account.
Before I tell how you can enable the Facebook Timeline, let me explain you the various sections it has. The topmost portion of the timeline has a large space for a lead photo, which allows you to add an image to make your page look attractive. At the bottom-left it has your standard default overlapping display picture.
The next portion is called the Cover, which basically has your personal information, friends’ list, photos, “likes”, votes and so on. The next section serves as a dock for all youractivities(stories) you do on Facebook. Here the section is split into two columns which are presented with all the activities chronologically. It also contains the “Recent Activity” section and also a box to update your current status.
Enable Facebook Timeline
#1 To enable Facebook Timeline, the first step you need to do is to activate the Developer status for your account. To do this, login to your Facebook account and type “developer” into the Facebook search bar. Click on the first result, and add the app (Or click here to directly go to the app page).
#2 You will be asked to grant permissions for the app toaccess your basic information like name, profile picture, user ID and so on. Click on “Allow” and you will be taken to the Developer page. Click on the “Create New App” button. Provide a display name, appnamespace and click “Continue”.
New Facebook App
#3 Now you will be taken to your app’s main settings page. On the left sidebar, click the “Open Graph” link. You have to enter theaction and object in order create a test action for your app, like “watch” a “movie” or “read” a book”.
Facebook Open Graph
#4 On the next screen, just scroll down to the bottom and click “Save Changes and Next”. It might take a couple of minutes to save, so be patient until it loads the next page. Continue this for the next two pages. When you finished with the saving process, you will land on a page something like this -
Facebook Open Graph
#5 Now go back to your Facebook home screen and you will notice an invite on top of the page to try the Timeline feature. Click on “Get it now” and you’re done.
Facebook Timeline
Read More
// // Leave a Comment

Facebook Changes Again: Everything You Need To Know


As we predicted, Mark Zuckerberg’s keynote at the f8 conference in San Francisco Thursday introduced some of the most profound changes seen on Facebook since its inception. So many changes, in fact, that it can be hard to keep track. So here’s a handy-dandy guide.
1. You’re going to get a Timeline — a scrapbook of your life. In a complete overhaul of its ever-evolving profile page, Facebook is introducing Timeline. This is a stream of information about you — the photos you’ve posted, all your status updates, the apps you’ve used, even the places you’ve visited on a world map — that scrolls all the way back to your birth. It encourages you to post more stuff about your past, such as baby pictures, using Facebook as a scrapbook.
The further back in Timeline you go, the more Facebook will compress the information so that you’re only seeing the most interesting parts of your history. You can customize this by clicking on a star next to a status, say, or enlarging a picture.
Timeline is in beta now, and will be opt-in to start. In the long run, it will become the new default profile page.
2. You don’t have to just Like something — now you can [verb] any [noun]. Remember when all you could do to something on Facebook — a video, a comment, a product, a person — was Like it? Pretty soon that’s going to seem laughably antiquated. The social network has launched Facebook Gestures, which means that Facebook’s partners and developers can turn any verb into a button.
So you’ll start seeing the option to tell the world you’re Reading a particular book, for example, or Watching a given movie, or Listening to a certain tune. In turn, as many observers have pointed out, this is likely to lead to an explosion of oversharing — and far more information on your friends’ activities showing up in your news feed than you probably cared to know.
3. Facebook apps need only ask permission once to share stories on your behalf. Although not as big a deal as the Timeline, this tweak may be one of the more controversial. Previously, apps had to ask every time they shared information about you in your profile. Now, the first time you authorize the app, it will tell you what it’s going to share about you. If you’re cool with that, the app never has to ask you again.
But you don’t have to worry about this app stuff clogging your news feed, because …
4. All “lightweight” information is going to the Ticker. Status updates, photos from a wedding or a vacation, changes in relationship status: these are the kinds of things you want to see from your friends when you look at your news feed. Who killed whom in Mafia Wars? Who planted what in FarmVille? Not so much. So that kind of trivial detail has been banished to the Ticker, a real-time list of things your friends are posting now that scrolls down the side of your screen.
5. You can watch TV and movies, listen to music, and read news with your friends — all within Facebook. Starting today, thanks to a whole bunch of partnerships, there are a lot more things you can do without ever having to leave Facebook. You can watch a show on Hulu, listen to a song on Spotify, or check out a story on Yahoo News (or Mashable, via the Washington Post‘s Social Read app). The ticker will tell you what your friends are watching, listening to or reading, allowing you to share the experience with them by clicking on a link.
The upshot: a brand-new kind of media-based peer pressure. On stage, Netflix CEO Reed Hastings — a launch partner — revealed that he had only just decided to watch Breaking Bad because Facebook’s Ticker told him a colleague was watching it. Netflix’s own algorithm had been recommending the show to him for years, but that was never reason enough for Hastings.
6. Facebook has more users and more engagement than ever. We got two interesting nuggets of information out of Zuckerberg (and the Zuckerberg-impersonating Andy Samberg): Facebook has hit 800 million users, and most of them are active. The social network just saw a new record for the most visitors in one day: an eye-popping 500 million.
Indeed, the whole impression left by the event was that of a confident, fast-evolving company that is becoming ever more professional, and Zuckerberg’s stage show bore more than a little resemblance to an Apple keynote. It’s going to be interesting to see what Google+ can do to keep up.
Read More

Sunday, September 25, 2011

// // Leave a Comment

Facebook's New Timeline is A New Gift For Hackers

















Hi Guys Here I am With a blasting news of facebook. According to Facebook CEO Mark Zuckerberg, Timeline is “the story of your life,” But According To me Facebook’s New Timeline Is A New Gift For Hackers
Facebook’s new Timeline will make it even easier for criminals and others to mine the social network for personal information they can use to launch malicious attacks and steal passwords, a researcher said today.
Timeline, which Facebook unveiled yesterday at a developer conference and plans to roll out to users in a few weeks, summarizes important past events in a one-page display.
According to Facebook CEO Mark Zuckerberg, Timeline is “the story of your life,”
That has experts at U.K.-based Sophos concerned.
“Timeline makes it a heck of a lot easier [for attackers] to collect information on people,” said Chet Wisniewski, a Sophos security researcher. “It’s not that the data isn’t already there on Facebook, but it’s currently not in an easy-to-use format.”
Cybercriminals often unearth personal details from social networking sites to craft targeted attacks, noted Wisniewski, and Timeline will make their job simpler.
“And Facebook encourages people to fill in the blanks [in the Timeline],” said Wisniewski, referring to the new tool’s prompting users to add details to sections that are blank.
Because people often use personal information to craft passwords or the security questions that some sites and services demand answered before passwords are changed, the more someone adds to Timeline, the more they put themselves at risk, said Wisniewski.
“Remember the hack of [former Alaska governor] Sarah Palin’s account?” asked Wisniewski. “That hacker found the answers to her security questions online.”
A former University of Tennessee student who bragged it took him just 45 minutes of research to reset Palin’s Yahoo Mail account password was convicted on multiple federal felony counts last year.
Hackers can also use what they find on Facebook and elsewhere to craft convincing emails that include malware or links to malicious sites, noted Wisniewski, even if the individual is not the target.
“It may be about the fact that you work for RSA [Security],” he said, referring to the emails sent to low-level employees at that firm earlier this year. Those emails, which included malware embedded in Excel spreadsheets, gave attackers a foothold on RSA’s network. The criminals then scoured RSA’s systems and stole confidential information about its popular SecurID authentication token technology.
Others, not strictly hackers, could use Timeline to quickly dig up dirt as well, said Wisniewski.
“Someone could use it to gather information to harass you, or someone at work competing for your job could use it,” he said.
“The more you put in there to make it complete — and we’ve been conditioned to finish forms — the easier it is for someone with ill intent to gather information about you,” said Wisniewski.


Read More
// // Leave a Comment

Database Connection With PHP


This tutorial will help you make connection to your database with PHP. It’s very simple process but I know how difficult can be for someone who is only starting to learn PHP. To test this example you should download and install Apache server, MySQL database server and PHP. You can find detailed guide and all mentioned components here.

Creating config.php

If you want to use a database in your application, you have to make config.php file which will contain basic database data. Here we will declare database path, username, password, database name and create connection string. We’ll make local database connection for a start. Put the code below into config.php file and put it in the root folder of your project.
<?php
$host = "localhost"; //database location
$user = "bitis"; //database username
$pass = "kaka"; //database password
$db_name = "bitis"; //database name
//database connection
$link = mysql_connect($host, $user, $pass);
mysql_select_db($db_name);
//sets encoding to utf8
mysql_query("SET NAMES utf8");
?>
First 4 lines are basic database data. 2 lines below is connection string which connects to server and then mysql_select_db selects database. The last line is optional but I like to include it to be sure the data will be in utf8 format. Now we have config.php file created and saved in the root folder of our project.

Include config.php in application

Don’t be distracted with me calling website an application. I call it because you can use this methods in any application. It doesn’t necessarily has to be a website.
To include config.php into application (lets say it’s a website) simply put next line on the top of the source code of index.php.
<?php include 'config.php'; ?>

That’s it. You only need this code and you’ll have your first database driven application. Hope this tutorial helped you.
If you know a better way of doing this, post it in a comment.
Read More