Archive

Archive for the ‘Facebook integration’ Category

2014 – FIRST PLUGIN ” WP Property Sale/Rent “

January 4, 2014 3 comments

WP Property Sale/Rent for creating and managing real estate agents and people who are willing to list their property. https://selvabalaji.wordpress.com

Great options to list properties on your own WordPress website. WP Property Sale/Rent for creating and managing highly real estate agents and people who are willing to list their property listing on their own WordPress site.

http://wordpress.org/plugins/wp-sale-property/

WP Property Sale/Rent is the WordPress plugin for creating and managing highly customization real estate, property management, and completely custom listings showcase websites. Turn your WordPress powered site into a real estate site. Create listings, upload images, display a dynamic map, slideshow, agent information,Google Maps, Send A Inquiry to agents Directly, Image slide show, and much more.

As always, integration is seamless, the system is expandable and customization, functionality is rich, and we are here to support it.

Capture

If you are looking to build a site where you can list property for sale or rent, this is the plugin you need.

Features

  1. Add Property
  2. Add multiple property photos
  3. Advanced property search
  4. jQuery slider in property detailed view
  5. property options so you can add any type of property listing
  6. multiple categories
  7. Property search widget.
  8. Advanced search widget and custom page.
  9. Custom property listing page
  10. Custom manage-able property types
  11. Manage the number of property listing per page

Advanced property search page

  1. Create a normal page in your wordpress website
  2. Editor of the page, add this short code [PROPERTY_ADVANCED_SEARCH]

screenshot-8

screenshot-9

screenshot-10

screenshot-1

screenshot-2

screenshot-3

screenshot-4

screenshot-5

screenshot-6

screenshot-7

20 dead as magnitude-7.1 earthquake hits the Philippines

October 15, 2013 Leave a comment

earth

A magnitude-7.1 earthquake struck central Philippines on Tuesday, leaving at least 20 people dead and rattling many who were celebrating a religious holiday.

The quake, which struck early in the morning, crumbled a number of buildings and sent panicked people streaming into the streets, witnesses said.

At least 15 were killed in the city of Cebu, four were killed in the province of Bohol and one died in the province of Siquijor, said Maj. Reynaldo Balido,a spokesman for the Philippines Office of Civil Defense.

Most of those killed were hit by falling rubble, the Philippines News Agency reported.
7.1 earthquake rocks Philippines

At least 33 people were missing, and authorities were checking into reports of people trapped in collapsed buildings in Cebu and Bohol, the agency reported.

The quake was centered about 385 miles (619 kilometers) south-southeast of Manila, near Catigbian, and its depth was 12 miles (20 kilometers), according to the U.S. Geological Survey said.

Maryann Zamora, a communications specialist with the charity World Vision, reported seeing glass and concrete in the streets of Cebu City, about 37 miles (60 kilometers) north of the epicenter.

“Right now we are in the streets because it is unsafe to be inside,” she said by phone, her voice shaking as one of more than 10 aftershocks hit. “Tell everyone to pray for us.”

Tuesday was a national holiday — the beginning of the Muslim festival of Eid ul Adha.

There was no widespread threat of a tsunami, the Pacific Tsunami Warning Center said, but it warned that earthquakes this large can sometimes cause tsunamis within 61 miles (100 kilometers) of the epicenter.

map

Catigbian, which has a population of 23,000, is in the province of Bohol.

Tourist Robert Michael Poole said he was riding a bike in Bohol when the earthquake struck and cracked the road right in front of him.

“It was very strong,” Poole said. “I live in Tokyo. I am used to earthquakes. But this one was very strong. It shocked a lot of people here.”

Poole said he was able to move around and document some of the destruction, including a giant church that was decimated.

“Lucky thing is that it is a holiday here today and it happened at a time when nobody was in the church,” Poole said

 

7 Reasons Why WordPress Made PHP Popular, not PHP Frameworks – PHP Classes blog

7 Reasons Why WordPress Made PHP Popular, not PHP Frameworks

1. WordPress is the Most Popular PHP Application

Counting the number of search results on several popular search sites may seem to be a way to measure the relative popularity of a technology, language, application or a product.

However, that way does not seem to be very reliable method. When a search site changes its algorithms, you may see changes in the results that really do not have to do so much changes in the popularity of those technologies.

A more reliable way to measure the relative popularity of a technology is to resort to Google Trends. This is a site that Google provides to show the evolution of the relative number of searches done by given keywords over time.

As you may see in the following Google Trends chart, WordPress is much more popular than other PHP applications like Joomla, Drupal, Magento (which is Zend Framework based).

Google Trends: WordPress, Joomla, Drupal, Magento, Zend Framework

Google Trends - WordPress, Joomla Drupal, Magento, Zend Framework

2. WordPress alone is much more popular than any PHP framework

Using Google Trends you can also compare the popularity of different PHP frameworks. If you compare the popularity of WordPress with Zend Framework, Symfony PHP and CakePHP, as you may see in the chart below, WordPress is much more popular than all these PHP Frameworks together.

Google Trends: WordPress, Zend Framework, Symfony PHP, CakePHP

Google Trends - WordPress, Zend Framework, Symfony PHP, CakePHP

3. WordPress does not use third-party PHP frameworks

WordPress has been using some third-party components but they are not really full-stack frameworks. This implies WordPress never needed a full-stack framework to be built. The use of such frameworks would hardly make a difference to its popularity.

4. Applications make technologies popular, not components

In the chart above you may  notice that Magento is much more popular than Zend Framework. Magento is built on Zend Framework. This seems to imply that what makes applications popular is whether they solve users problems, not the components that they are built on.

WordPress is also popular because it is useful to many users. When users need to host a WordPress installation they need to seek a PHP hosting service. So they know at least superficially what is PHP and that they need PHP hosting.

This means that WordPress helped making PHP even more popular. The more installations there are of WordPress, the more PHP becomes popular.

5. The Extensible WordPress plugin ecosystem

One of the most important reasons that made WordPress popular is the myriad of plugins that were developed to provide additional features.

There are WordPress plugins for practically everything, including those that can turn it into other applications besides being a blog system. There are plugins that can turn it into forums, e-commerce sites, trouble ticket systems, etc., anything.

If WordPress as blog application was already popular, it became even more popular as a platform that can be turned into any type of application.

6. Non-Programmers develop in PHP just because of WordPress

If you need a site that requires certain features that WordPress does not have, you can develop new plugins to extend WordPress further and taylor it to your needs.

Many of the WordPress users were not really programmers. They started programming because they needed to have features in WordPress for which there was no suitable plugin providing them.

This means that many non-programmers had to learn PHP to be able to develop new WordPress plugins. That helped making PHP more popular even among non-programmers.

7. Pragmatism is better than Purism

In sum I could say that WordPress and PHP in general became popular because they can be used to address practical needs of many users.

Neither WordPress nor PHP are examples of software projects that are technically beautiful, are consistent, always follow well-thought project plans and adopt praised design patterns.

But that does not matter. They were created by people with a very pragmatic sense. They were focused on solving real world needs.

As for many of the PHP frameworks, they seem to have been developed in a totally different planet. They are often developed by purist people that seem to be more concerned with the number of design patterns they employ in the framework components than with being pragmatic and solve real PHP application needs.

To make it worse, many PHP frameworks systematically adopt practices of other frameworks developed for other languages. That raises totally unnecessary difficulties for PHP developers that try to use them.

One example of this problem is the configuration formats. In the Java world it is still usual to use XML as format for storing configuration values. XML is a portable format that can be written by humans. It was certainly a progress when compared with binary formats used to serialize data structures by C++ applications in the past.

This was a fine solution in the year 2000 but the fact is that XML is a drag. You need to keep opening and closing tags for every value. Sometimes values are stored as tag attributes, other times as tag values. It is often a pain to use.

Then Ruby On Rails came with the promise to get rid of some of the pains of the Java world habits. Instead of using XML, they decided to use YAML, which is a simplified markup language. It is simpler than XML but it is yet another format that you need to learn.

Several PHP frameworks were built copying Ruby on Rails practices, including the use of YAML as configuration format. Many years have passed and they still used YAML.

If you are a PHP developer, the format you are most familiar with is PHP. Why don’t these PHP frameworks make the lives of PHP developers better and adopt PHP scripts as configuration formats? PHP scripts can even be cached and so be loaded much faster.

In the worst case, if you need to use a more portable format, why these PHP frameworks do not use the JSON format to store configuration values? JSON is JavaScript. Every PHP developer knows JavaScript. It is only natural to adopt JSON nowadays.

Unfortunately many PHP frameworks as still stuck with formats that are not a natural choice for PHP developers, like XML, YAML or even INI (a legacy format of the Windows world).

I always get this feeling that PHP frameworks are not meant to please PHP developers. They seem to have been thought to please Java or Ruby developers. To make it worse, many of the newer PHP frameworks keep copying the same mistakes of older frameworks.

Obviously there are exceptions. There are indeed some PHP frameworks that were developed in a more pragmatic way for PHP developers. You can easily learn them without having to learn about Java or Ruby frameworks first.

Unfortunately those seem to not be the PHP frameworks that get more visibility. Maybe it is time for the PHP framework developers rethink their approach and think more about the PHP developers than about developers of other languages.

Shall I develop My Sites with WordPress or with a PHP Framework?

One frequent dilemma that PHP developers have is whether they should develop sites on top of WordPress or develop them from scratch based on a existing PHP framework?

This is a tough call. If the site is a blog, it may be an obvious choice to create it based on WordPress and save lots of development time. If the site is more than a blog but there are plugins for the functionality you need, WordPress may still be the best option.

Now if your site is very different than a blog, the amount of code that you would reuse from WordPress would be much less when compared to the whole project size. In that case, it may be better to start the development of the site from scratch.

If you still need a blog, you can use WordPress in a separate domain or a separate directory of your site.

For the bulk of the functionality you need to develop, you can use a existing PHP framework to gain some development time, or use your own framework if you have a good capable framework to address your needs.

Personally I tend to go for the last option. I can have more control of my project, but I am well aware that this route can take me more time to develop and fix eventual bugs in the code.

Frameworks are good when they enforce a productive method

Despite of the problems described above that many PHP frameworks have, for some people adopting a framework is probably the best solution, especially if it is what is called a “opinionated framework”.

That is what are called frameworks that impose a certain development methodology. This means that there is only one way to develop applications with those frameworks.

The reason why this is a good solution for some developers is because they do not have a well defined development methodology. This means that they do not know how to start, how to progress and how to deploy an application, unless somebody tells them how to do it.

Since opinionated frameworks impose a certain development method, the developers learn how to develop their applications following the methodology imposed by the framework.

One example of opinionated framework is Ruby on Rails. PHP frameworks that are inspired in Ruby On Rails tend to be also opinionated.

Opinions are not Facts

Well this article is just about my opinion and my experience of as developer that has been creating software for several decades now.

But opinions are just that, points of view of specific people. Expressing an opinion does not mean it is the only way to interpret the facts.

Just like the Tiobe Index people expressed their opinion stating that PHP popularity growth was due to Zend Framework 2 release last year, other people may express a different interpretation of the facts.

What do you think? Do you have a different opinion about what was discussed in this article? Post a comment to tell what you think.

Get any Website Page Title From URL in PHP

Hey guys,here below describe the how to get the page title form any website page using  URL. Here for getting the page title we are using the file_get_contents function.This one also achieve using fopen( ) but in some servers disabled this function now a days due to some security reasons.

Here below shows the PHP code to get the page title form the URL.

<!--?php
function pageTitle($page_url)
{
     $read_page=file_get_contents($page_url);
     preg_match("/<title.*?>[\n\r\s]*(.*)[\n\r\s]*<\/title>/", $read_page, $page_title);
      if (isset($page_title[1]))
      {
            if ($page_title[1] == '')
            {
                  return $page_url;
            }
            $page_title = $page_title[1];
            return trim($page_title);
      }
      else
      {
            return $page_url;
      }
}

?>

ONLINE MARKETING TIPS

June 26, 2013 13 comments

SEO-INTRODUCTION

Internet has become a powerful marketing source for the benefit of mankind. Many websites are available in the

internet, fulfilling various purposes. These websites need to be in the top rankings in the search engines to maintain

its popularity and to increase the volume of traffic to the site. Search Engine optimization (SEO) serves the above

purpose. If the pages of the website are optimized with high targeted key words, the rank of the site increases.

Higher the rank, higher is the amount of visitors to the site.

Maintenance of Ranks:

Search engine Optimization involves a number of techniques to increase the ranking and sales of the website

through search engines. Some of the points to be noted for Search engine optimization are,

Keywords: The web pages should be rich in content, communicative and item-specific. The web pages should

contain the highly specific keywords which are frequently searched by the users. This helps to increase the position

of the website in the search engine. For optimization purpose, the pages should be checked with keyword density

analyzers.

Link Popularity: The links in the website is marked factor which decides the ranking of the website. The number of

incoming links which conjoin to various files, directories, keywords and also to other sites is called as link

popularity.

Good Content: The content of the website should be periodically updated so that it becomes alive and effective. The

website should contain good content for the visitors to use it efficiently. Also, the content’s flow throughout the

page should be relevant. Thus clarity and relevancy are the key points to be noted for search engine optimization.

Pay Per Click: Another method of increasing the website’s popularity is pay per click advertisements. According to

this method, the website owner maintains an agreement with the search engine on a specific keyword. Every time

when a user clicks the keyword, the owner is supposed to pay a specific amount mentioned in the agreement. Thus

the ranking of the site is increased followed by good volume of traffic.

Accordant Title Tags: Relevant title tags and meta tags should be given to the web page for user convenience. The

title tags should be shorter in length with 6-8 words and should not be too critical to analyze. The description tag is

also required to describe briefly the content of the web page. Readability will also increase the number of visitors to

the site.

Web Design Factors: The factors involving web site design also affects the ranking of the website. Some of them are;

Frames: Certain search engines are not compatible using frames. For the website which uses frames, they should

also use NOFRAMES section in each page to avoid the above said backward compatibility of certain search

engines.

Better Indexing: Avoiding graphics in the web pages containing keywords will help in better indexing of the search

engines. If the html code is less, then the search engine can access it faster and easier. Search engines are not

comfortable with the pages which are more than 100 Kbps.

Things to be Avoided: Flash should be avoided in a web page since it takes more time to explain a single concept

and also to load. PDF s should be avoided since there is no summary of the concept in the HTML. This reduces the

ranking of the website. Frames also should be avoided.

It is better to create the website with the following guidelines rather than to alter it depending upon the

consequences. Thus, care should be taken to during creation and maintenance of the website to place it in the higher

position of the search engine.

BASIC SEO BASIC SEO STEPS

  • 1. Choose relevant keywords for your site: It must be ensured that keywords chosen reflect the site’s purpose and

    content. Keywords and phrases which your target audience searches for should be selected. There is no point in

    using keywords or key phrases which nobody searches for. Any site needs targeted traffic and thus make sure that

    only relevant audience which may benefit or buy products from your site visits. So choose your keywords wisely.

    There are various keyword research tools – both free and paid which may help you in selecting the best keywords for

    you.

  • 2. Keyword rich relevant content: A website should have excellent content reflecting the sites purpose and

    intentions. Care should be taken that keywords and phrases are not stuffed in the content. Keyword stuffing maybe

    construed as spamming by search engines.

  • 3. Proper use of Title tags: Any webpage should have title tag with the keywords that you have chosen. This is

    single most important aspect of search engine optimization.

  • 4. H1 tags with keywords for content titles: Content titles should have targeted keywords using H1 tags.
  • 5. Link optimization: Placing targeted keywords into the links is an important factor because search engine robots

    read the links as they crawl the webpage. Their algorithms understand the association between the anchor text and

    the page that has been linked.

  • 6. Image Optimization: A SEO Consultant must also ensure that images used in the website have descriptive,

    keyword-rich alternative attributes (alt) that are useful for visitors and search engines alike.

  • 7. Sitemap: Sitemap with text links to all the pages of a website is very important to ensure that search engines bots

    crawl every webpage.

  • 8. Directory structure: A SEO specialist should ensure that website should have a flat directory structure.
  • 9. A website should be listed in open directory. And as part of regular site SEO maintenance a site submitted to

    trusted, human-reviewed online directories.

  • 10. Meta tags: All the web pages in a site should have keyword-rich Meta descriptions. Though, their importance

    has decreased in last few years, using them appropriately is advisable.

BELOW, SOME HIGHLIGHTS (VIA SEARCH ENGINE LAND). BELOW, SOME HIGHLIGHTS (VIA SEARCH ENGINE LAND).

  • Rather than rankings and traffic, focus on conversions – that is, impact on revenue – as measures of success.
  • Calculate the ROI of our organic traffic as you would do for all other medium. Free organic traffic is
    possible, but investments are needed to attract masses and make changes to website, so you should invest
    resources, either with an agency or in-house people. Taking all the expenditure into account will give you
    an idea of how much profit you are getting from your organic traffic.
  • Keep in mind the possible downfalls of making your site focused on conversions. An often repeated truism
    in SEO circle is that content is all important when it comes to SEO. Yet there is a trade-off between content
    and usability or design; you should neglect neither. Including more content on the page should not hurt the
    conversions of the website.
  • Choose carefully and optimize SEO landing pages. Landing page optimization is as important in paid
    search campaigns as in organic SEO campaigns; both should be highly efficient in converting incoming
    traffic. A useful tool to test the success of SEO landing pages before you target them is Ad Words.
  • Optimize the snippet that appears on the search results page. This is the user’s first interaction with your
    website, and ultimately may determine the click through rate from visitors coming from search engines.
  • Use internal search to expand your keyword targeting on search engines and to give customers what they
    are looking for. Optimizing SEO by measuring the success of keywords bringing traffic to the website is
    great, but by doing that you lose a precious source of keywords your customers are typing in your website,
    i.e. your internal site search. This is what they are really looking for, and you should check if you are
    targeting those keywords.

PLEASE READ THIS CAREFULLY

  • URL Names – include relevant keywords – unique to each page.
  • Robots.txt – A file which permits or denies access to robots or crawlers to areas of your site.
  • Navigation Structure – Keep it simple.
  • Meta Tags – Title and Description. – Unique detail for each page, related to page content.
  • H1 Tags – Use for the short on page content description.
  • H2 and H3 Tags- Use for Headings for sub category’s within the Content
  • Page Content – Critical Component.
  • Keyword Visibility – Within page Content.
  • Image Alt Tags – Helps with Accessibility.
  • Privacy Policy – Assures trust and confidentiality.
  • The site should confirm to the W3C standards.
  • Create and submit sitemap’s – formatted in either .xml -.htm – .txt.
  • Create and submit RSS feeds to relevant feed directory’s
  • Create and submit Articles
  • Find relevant websites within the same market sector or niche and form a link partnership.
  • Submit your website to relevant or industry related directory’s.
  • A link exchange should be formed by utilising relevant keyword Anchor Text.
  • Utilise relevant Social Networks and Forums related to your Market Sector.
  • Utilise Blog sites relevant to your Market Sector.

SEO WORKS IN BRIEF:

  • Pre-optimization analysis of search engine readability, search engine saturation, domain name age and
    reputability

  • Keyword Effectiveness Index (KEI) research
  • Competitive analysis (includes SEO analysis of competitors’ websites and comparing their SEO features
    with yours) upon request
  • Site code enhancement (increasing keyword density, optimizing Meta tags, titles and other HTML elements
    such as alt-tags, etc)
  • URL optimization – making your urls search engine friendly
  • Manual submission to all major directories and search engines (if necessary)
  • XML and HTML sitemaps, robots.txt and robots Meta tags. Ensuring full website crawl ability and
    synchronization of website structure and content updates with major search engines upon request
  • Submission to Google Base, data feed updates, optimization upon request upon request
  • Local search marketing – submission to Google Local, Yahoo Local, Super pages, Yellow pages,
    CitySearch and more. Local search optimization. Upon request upon request upon request
  • Article submission, website reviews, blog advertising (blogvertising), and social book marking
  • Featured listings in hand-picked online directories upon request upon request upon request

ONLINE MARKETING

SEO STRATEGIES & SYSTEMATIC SEO

SEO = ON PAGE OPTIMIZATION + LINK BUILDING + QUALITY CONTENT &

SERVICES

SEO – INTRODUCTION
SEARCH ENGINE OPTIMIZATION
IMPROVES TRAFFIC / INCREASES VISITORS
OPTIMIZING OUR WEBSITE SEARCH ENGINE FRIENDLY
ZERO SEO
PRE-ANALYSIS REPORT
PROPMOTIONAL ARTICLES
PROFESSIONAL VIDEO
MAKE YOUR WEBSITE READY
KEEP YOUR KEYWORDS & TAGS READY
SEO – DAY 1
SITE SUBMISSION (Google, yahoo, bing, ask)
YMAIL & GMAIL
BLOGSPOT & WORDPRESS
TWITTER
SMS CHANNEL
GOOGLE SITE
LOCAL BUSINESS
SEO – WHILE IN PROGRESS
SEO UPDATIONS – LINK BUILDING + PROMOTIONAL EMAILS & SMS + OTHER
ONLINE CAMPAIGNS & SEO REPORT
SEO – SUCCESS SCORE
ANALYTICS
WEBMASTER
ALEXA
GRADER.COM
SEO ADD-ONS
BASIC SEO TIPS
TRY TO USE COMMON USER NAME
TRY TO USE COMMON EMAIL ADDRESS (COMPANY)
TRY TO USE COMMON PASSWORD (ALPHA-NUMERIC)
ON-PAGE OPTIMIZATION
CONTENT REVIEW
META TAG OPTIMIZATION
URL+CSS+FEED VALIDATION (w3 standards)
0FF-PAGE OPTIMIZATION
LINK BUILDING
OTHER ONLINE PROMOTIONAL CAMPAIGNS
LINK BUILDING – HAS NO LIMIT
ARTICLE SUBMISSION
POST CLASSIFIEDS
FORUM & GROUP DISCUSSION
Q & A WEBSITES
BLOGS & COMMENTS
EXCHANGE LINKS
PRESS RELEASE
SOCIAL BOOKMARKING
ADVERTISE ON ROI WEBSITES
IMPORTANT DIRECTORIES
INDEPTH SEO
RSS FEEDS
ROBOTS.TXT
WEBSITE OPTIMIZER
KEYWORD DENSITY
SEO TEAM
SEO TEAM HEAD
WEB DEVELOPER
CONTENT WRITER
SOCIAL BOOKMARKING
UPDATE WORKS
KEYWORD RESULTS
ONPAGE OPTIMIZATION
LINK BUILDING
CONTENT (KEYWORD DENSITY)
DOMAIN NAME
HITS/TRAFFIC
CONVERSION FORM
DOMAIN AGE
SEO FOOTNOTE STANDARDS
W3 STANDARDS
SEO ANGLE
STATIC & DYNAMIC SITES
CONTENT ORIENTED SITES
BUSSINESS – LEADS
APPLICATION ORIENTED
E-COMMERCE SITES
CLISSIFIEDS & REGULARLY UPDATING SITES
Back Up
Take a back up of your website.
Take a back up of your webmaster.
Take a back up of analytics.
Page Rank
Increase the number of pages.
Domain Age.
Freshness of the Content.
Inbound-Outbound Links.
Web Server & IP Address.
Speed & Load Time.
Domain Extension.

Website Visibility

On Page Optimization – SEO Basics

On page optimization is one of the very first step of SEO which every webmaster should look into.

CHAPTER: 1

OPTIMIZE THE TITLE AND META TAGS

Sample Title and Meta Tags Optimization

<title> googlecasestudy.com – get your free seo report </title>
<meta name="Description" content="get your free seo report from google case study, google case study, selvabalaji,
seo chennai" />
<meta name="Keywords" content="get your free seo report from google case study, google case study, selvabalaji,
seo chennai" />
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="7" />
<meta name="author" content="selvabalaji" />

Refer : http://www.searchenginejournal.com/on-page-optimization-a-complete-walkthrough/6746/

Protect Your WordPress Site!

How Vulnerable Is WordPress to Hackers?

WordPress makes managing, updating and changing your blog incredibly simple – and that’s only one reason why millions of people are using it today. Due to this popularity, the platform was recently put under attack by hackers using a “botnet” strategy to take down numerous sites. This botnet attack was a large scale DDOS (direct denial of service) attack that crippled thousands of sites and put their data at risk.

Before you panic and switch your blog management software, there are a few things you need to know first. The good news is—you don’t need to stop using WordPress—you just need to be a little smarter when it comes to using it.

Why Is WordPress Vulnerable?

WordPress is easily one of the most popular blog management tools in existence and that means that it’s also a favorite of hackers. It’s unfortunately relatively easy to crack into a WordPress site due to the defaults such as the user name, that the software picks and site owners don’t change. There’s nothing inherently wrong with WordPress however, it’s simply a matter of being aware and taking the appropriate measures to secure your site.

How to Protect Your WordPress Site

Luckily, it’s pretty easy to secure your WordPress site. The first step is to make sure you’re using a more complicated password that includes letters, numbers and characters and that you are changing it often. Instead of using the “admin” default log-in, change your username to something more obscure. You can also take advantage of the “dual stage” log-in that WordPress offers to further secure your data and prevent most brute force or DDOS attacks.

It’s also important to keep your WordPress version updated and lastly, consider installing a security plug-in that will help create yet another layer of defense to keep your data safe.

Personally, I have found that blue-host does an excellent job with word press sites.

For more information please click here

http://www.bluehost.com/track/bluehostusa

 

WordPress 3.5.2 Security Release

WordPress security team resolved seven security issues, and this release also contains some additional security hardening.

This is the second maintenance release of 3.5, fixing 12 bugs.

Go to your Dashboard » Updates and do it with 1 click.

The security fixes included:

  • Blocking server-side request forgery attacks, which could potentially enable an attacker to gain access to a site.
  • Disallow contributors from improperly publishing posts, reported by Konstantin Kovshenin, or reassigning the post’s authorship, reported by Luke Bryan.
  • An update to the SWFUpload external library to fix cross-site scripting vulnerabilities. Reported by mala and Szymon Gruszecki.
  • Prevention of a denial of service attack, affecting sites using password-protected posts.
  • An update to an external TinyMCE library to fix a cross-site scripting vulnerability. Reported by Wan Ikram.
  • Multiple fixes for cross-site scripting. Reported by Andrea Santese and Rodrigo.
  • Avoid disclosing a full file path when a upload fails. Reported by Jakub Galczyk.

Download WordPress 3.5.2 or update now from the Dashboard → Updates menu in your site’s admin area.

DEVELOPERS : If you are testing WordPress 3.6, please note thatWordPress 3.6 Beta 4 (zip) includes fixes for these security issues.Download WordPress 3.6

 

Facebook introduces video on Instagram

June 22, 2013 5 comments

BaltNEW YORK: Facebook is adding video to its popular photo-sharing app Instagram, following in the heels of Twitter’s growing video-sharing app, Vine.

Instagram co-founder Kevin Systrom said on Thursday that users will be able to record and share 15-second clips by tapping a video icon in the app. They can also apply filters to videos to add contrast, make them black and white or different hues.

“This is the same Instagram we all know and love but it moves,” he said at an event held at Facebook’s Menlo Park, California, headquarters.

Vine, which launched in January, has 13 million users and lets people create and share 6-second video clips. Instagram has 100 million users, up from 20 million when Facebook bought the company more than a year ago. If users like it, Facebook’s move could propel mobile video sharing into the mainstream.

To use the video feature, Instagram users can tap on the same camera icon they use to snap photos. A new video camera icon will appear on the right side. Tap it and a screen with a red video button will let you record clips of sunsets, kids running in parks or co-workers staring at their computer screens.

The app will record as long as your finger is on the red button or for 15 seconds, whichever comes first. Not unlike Vine, taking your finger off the button will stop the recording, allowing you to shoot the scene from a different angle or record something else altogether. Once you have 15 seconds of footage, you can play it from the beginning and post it on Instagram to share with others.

Given Vine’s popularity, “it is perhaps more surprising that Facebook has not introduced video for Instagram sooner. There is no doubt Twitter will move quickly to up the ante on Vine and this could undercut Facebook’s efforts with video on Instagram,” said Eden Zoller, principal consumer analyst at Ovum, a technology research firm.

Step-by-Step guide to Facebook Conversion Tracking

Step 1: Once you log in to your ‘Ads Manager’ tab, click on the Conversion Tracking button on the left side bar.

FB-1

Step 2: Then click on the ‘Create Conversion Pixel’ tab to begin the process.

FB-2

Step 3: You will be directed to this pop-up, which will ask you for a:

1. Name: An appropriate name will help you remember what you are tracking. (Example: Lead Generation – GATE Ad)

2. Category: This will help you decide the type of action that you want to track on your site. You can choose from the following:

1. Checkouts

2. Registrations

3. Leads

4. Key Page Views

5. Adds to Cart

6. Other Website Conversions

(For the purpose of this example, we have selected ‘Leads’).

FB-3

Step 4: You will be able to see a pop-up window with a JavaScript code. This is the code that you will have to add to the page where the conversion will happen. This will let you track the conversions back to ads which you are running on Facebook.

FB-4

The code should be placed on the page that a user will finally see when the transaction is complete.

Here is the tricky part. The code should not go on all pages. For that matter, it should not even go to the landing page of your product. The code should be placed on the page that a user will finally see when the transaction is complete.

For Example: If you want to track when students register for your GATE coaching, paste the code on the registration confirmation page/thank you page and not on the form that they need to submit.

How do you confirm that your conversion is working properly?

1. Check that the javascript snippet has been placed on the correct conversion page. Visit the page where the pixel has been embedded, right click and go to ‘View Page Source’ to find the pixel. The code should have the tag of the HTML. See image below.

FB-5

2. Check that Facebook is receiving the conversion events from your website. Go to the conversion tracking tab in your Ads Manager account. There you will see a list of the conversion tracking pixels that you have created. If the conversion tracking pixel has been successfully implemented and a conversion event has been recorded, it will be reflected in the Pixel Status column. If the status shows active, it means that the page which contains the pixel has been viewed by users. If it shows inactive, it means that over the last 24 hours, the page with the pixel has not been viewed.

FB-6

3.Later, when you  create your Facebook ad , you need to check the track conversions box under the campaign, pricing and schedule tab to enable tracking.

FB-7

How to create Facebook Ads in 8 Steps

June 6, 2013 3 comments

Like Facebook says it, “Over 1 billion people. We’ll help you reach the right ones.”

The ultimate goal for any marketer/business owner is to convert his leads into customers. However, for leads to convert, you need to get hold of them first, right? Running ads on social media biggie, Facebook is a time tested approach to grab attention and get more leads for your business.

There are multiple ways to run ads/promoted posts on Facebook. Today, I will discuss how to create Facebook ads in 8 simple steps. Let us take the example of a GATE coaching institute trying to capture student leads through Facebook. For those of you who don’t know, GATE stands for Graduate Aptitude Test in Engineering, and is an all India examination for Engineering in MSc, MTech and PhD programmes. (This article is relevant for Facebook beginners).FB-1

Here is how to create Facebook ads

Step 1 – Logging into Facebook

Log into your Facebook account using your personal or business profile and go to the ‘Advertise’ page. You will get this in the drop down menu next to the settings button on your home page.

FB-2

Step 2 – Start Creating Your Ad

You will be led to this page as shown below. Click on the “Create an Ad” tab to begin the process of creating an ad for Facebook.
FB-3

Step 3 – Select Facebook Page/Landing Page to Promote 

The words, ‘What do you want to advertise?’ in the next section are pretty much comprehensible. This is where you choose the place, page, app or event that you would like to promote. For example: Here we are advertising a page which is dedicated toward GATE coaching.You can also add your own URL or landing page. Check out how you can create a Facebook Landing Page for lead capture.
FB-3

Step 4 – Set the Ad Objective

Your next step is named, ‘What would you like to do?’ Here you can choose to:

  1. Get more page likes: Drive more Facebook users to your ad/page.
  2. Promote page posts: Promote a particular post out of all the posts that you have made on your page, ex. a blog post, picture etc. This will not only enhance your reach, but also your chances to be placed in news feeds – the center column of your home page.
  3. See advanced options: Drive traffic to your website. You can configure your advanced creative and pricing options. This is so intricate that you can also bid for the number of clicks on a particular post. (Remember, each category is different and offers different features to help you target your audience better.)

Since our main goal here is to collect leads and get better control over our ads, we will opt for the ‘See Advanced Options’. 

FB-5

Step 5 – Create the Ad copy 

You begin designing ‘Your ad’ here. FB ads are simple, comprising 25 character headline and a 90 character description. You can also add a thumbnail photograph measuring 100 pixels x 72 pixels here. Make sure to keep it very relevant for your audience. For instance, if you are a GATE institute, this would be a good ad copy:

Looking for Best Coaching for GATE? Join Now – 1 Week Free Trial Period!

You can then set the landing page of the ad. For instance, you can choose to land the visitors on your Facebook Page’s timeline, or a lead capture page (when you are aiming at lead capture, it is recommended that you set a landing page, instead of directing people to the timeline). Here’s how you can create one and the image on your right shows how your ad will look.

*Do go through these guidelines before you create your ad copy.*

FB-6

Step 6 – Choose your Audience

Next, you narrow down your target audience under the ‘Choose your audience’ category. Before we begin, in the image shown below, see the number of people under ‘Audience’ section before the filters have been set.

FB-7

This is the most important step, as this is where you choose your perfect target.

  1. Location: You can micro target by location (state/city/zip code). Ex: Students on Facebook giving GATE ‘14 exams will be India specific only. If you are a physical institute based in Bangalore, you might want to choose by city: Bangalore, Nelamangala, Hosur etc.
  2. Age: You can also target by age. Ex: GATE will mostly include students who have completed/ pursuing their B.Tech – 22-24 years.
  3. Gender: You can also choose gender, based on the kind of ad you are advertising. Here, since we are talking about exam specific ads, gender will be categorized as ‘All’.
  4. Precise Interests: Under the ‘Precise Interests’ section, you can choose interests that you are looking for in your target audience. In this case, your interests can be Engineering, IIT, studies etc. Once you have entered precise interest, you don’t have to choose the broader interest.

FB-8

If you have opted for the ‘Advanced options’ under the ad category, you can also detail down to relationship status, languages spoken, college attended and workplace.  By the process of trial and error, you can boil down your audience from a whopping 167 million users in the US to as few as 1 lakh people in India or a particular city.

Now, take a look at the image shown below which shows the targeted audience once the filters have been set.

FB-9

Step 7 – Campaign Pricing and Schedule Options

This step is ‘Campaign, Pricing and Schedule’ for your Facebook ad.

  1. Choose the currency, country and time zone in which you are placing your ad.
  2. The ‘New Campaign Name’ should be distinct and definite.
  3. Next, choose how much you are willing to spend for your ad campaign. You can choose from a daily budget or a lump sum amount that you will spend for as long as the ad runs. (Payments on Facebook are either pay-per-click – you pay every time someone clicks your ad or per thousand impressions – you pay every time 1000 people see your ad.) We have opted for the Pay-per-click payment service.

FB-10

Step 8 – Review your Ad

Once you ‘Review your ad’, you will be able to see the details of your ads that you have fed and how your ad will look. Next, you will be prompted to make payments for your ad. You can use a credit/debit card, PayPal or Facebook ad coupon.

FB-11

Facebook will hold your ad for review for a minimum of 24 hours. Your ad will either appear in news feeds or in the right column of any page in search results.Later, you can use the ‘Ads Manager tool’ to keep track of your ads’ progress.

So, this is how to create a Facebook ad: Basic News-feed ad. Be creative, think outside the box and you are good to go. For further queries, please do visit Facebook’s Help Centre or leave us a comment and we will get back to you ASAP.

 

Viswaroopam Review on Net

February 2, 2013 Leave a comment

Viswaroopam

27351012466646647067.jpg

The movie started with the introduction and after the introduction had finished, its show some the scenery of America state la and the scene move on to
52087256174269997202.jpg
Dr Nirupama(Pooja Kumar)
who went to psychiatrist and she told about her husband  and how she married him to provide a green ticket for her to continue studied her Ph.D in the America and her secret relationship with her boss in office and then shows
77471694241817468733.jpg
Viswanath(Kamal Hassan)
is a kathak dancer who ran his dance class and he was teaching his students of that dance in his house where he will be close one of his students which was
94354250550070931827.jpg
Asmitha(Andrea)
and that time there will be a song for that kathak dance la.
After the song was finished la, the scene move to Viswa kitchen as he took the chicken off from oven since he is vegetarian but his wife which was Nirupama was a Brahmin la and the scene moved on to Nirupama and
88554599992558673235.jpg
as he was Nirupama’s boss were in office and they both were planned something in which she never know and the scene show both of them was in a car and they are going to somewhere and suddenly Viswa called her and ask her to come back to home but she lied to him by saying have a lot of work and cannot come to the home but Viswa hear running vehicle since Deepak opened the window to vomit la and Viswa asked her back but she told to him that she was walking to the lab and that why the vehicle sound can be hear but Viswa told to her that
25090473192626673482.jpg
and his
41461439076285888275.jpg
were in his house la.
Television broadcast of Obama speech where he told Osama bin Laden had died by showing his photo but Viswa got angry and argue if a people die shall the world should be celebrate as he is also a guy and at late night while all had been sleep, Nirupama back to home and went to her room and saw Viswa had slept but when the camera moved to him, actually he was not slept but putting angry sound which can be hear as a sleep sound la.
The next day, Nirupama had appointed one investigator based on her friend advise and the investigator name was Peter. He followed wherever Viswa go and was shocked to see Viswa went to mosque and put fez on his head and pray and quickly Peter informed to Nirupama about Viswa real identity la and she was shocked to know her husband was a Muslim la. As he went outside from mosque, he sensed that someone follow his back which was Peter so he run away until he reached warehouse and quickly disappeared. Peter knocked the warehouse door since he thought Viswa was there la but then
16155330704492662927.jpg
open the door and ask him and Peter answered the question but Farouk did not believe and used his stick to kill Peter. Farouk went to tell this matter to
18845941997072956465.jpg
Omar(Rahul Bose)
where he was watching the same Obama news in which Viswa had saw earlier la and asked Farouk to investigate who was Peter and why he was paid to investigate.
In the night, Nirupama saw Peter death on the news and Deepak suddenly came to her house and blasted her for hiring Peter as detective and there will be a small fight between Viswa and Deepak until Nirupama questioned back to Viswa whether he is Muslim, he was speechless and asked her to come for discussion la but suddenly Farouk came with his group and captured Viswa and Nirupama while Deepak was actually Farouk’s friend and that why he know that Nirupama hired detective based on Farouk. 
The scene moved to the warehouse where some of muslims which their face and body contained diseases and they were sitting inside the container la and Nirupama and Viswa were tied and Farouk ask Viswa his real name and he told his real name was Tawfeeq la but suddenly he change to Nasra name. Farouk becoming confused and angry and he kicked 3 times to Viswa’s man secret weapon :tongue:. Omar who was in the control room asked Farouk to capture Viswa photo and traced his email and when
88554599992558673235.jpg
gave Viswa’s photo to Omar, he got shocked and ask Farouk to shoot Vishwa’s knees and make sure he is alive and he asked Farouk to kill Deepak and Deepak was being headshot killed.
Viswa being bleed as the result of Farouk punishment, Nirupuma asked Farouk to untie Viswa and Farouk gave him last chance to say his real name or else he will die. Viswa suddenly changed his face from a soft character to a fighter where he fought all the baddies and managed to kill Farouk in which Nirupama got shocked and Viswa guided her to escape and he told her to count until 10 second, if after 10 second he was not escaped, he asked her to run away with a car. While in warehouse, more baddies coming towards him and try to shoot him and he managed to escape after Nirupama countdown and he jumped toward Nirupama car mirror to escape la and when Omar reached the warehouse, Viswa and Nirupama had escape and he told to Salim that Viswa was the one who recruit Al-Qaeda and the flashback shown to the Afghanistan where his real name was Wisam Ahmad Kashmiri(but i used Vishwa simple to used)
In Afghanistan, Omar was searching and recruiting peoples and he saw Viswa photo which was wanted and he asked Viswa whether he know any language la and Viswa told he know only Tamil la and Omar bring him to the cave where he met Mamu and
92733931938343387133.jpg
and the photographer took Omar and his recruiting team photo including Viswa,Mamu and Nasser. The scene moved to the terrorists who were in shoot training and they used George Bush as main target la and at night, Omar brings Viswa to his house where there is doctor who was anEnglish girl that treat Omar’s wife(Khadija) and Omar asked the doctor to leave without treating his wife la. He asked Khadija to close mouth by covering the scarf la and he introduced Viswa to her and also Omar’s son named Nasra and that time Nasra was talking English with Khadija. Omar asked Nasra who called the doctor and why he was talking English because Omar hate English peoples so he banned his peoples talking English la and Jalal was an English school teacher and he helped Nasra to learn English but Omar asked Jalal when the last time he broke Jalal leg from the result where Jalal taught Nasra and even Omar had buried that schoo when he heard Nasra was studying there la.
The next day show where Nasra eyes being tied up and he need to guess what his touch such as AK-47 rifle and bullets size where he calculated precisely la and suddenly one informer told to Omar that NATO(North Atlantic Treaty Organization) attack their neighbourhood place la and when they went there,all was died and Viswa found that English girl who was previously treated Khadija but she was killed but her horse was alive and Viswa decided to kill that horse to end the suffering la.and Mamu were gifted some sort of girl scarf and he happily running from that place as Viswa was confused looking at him la. Omar told to Viswa that he still kept the prisoner and they went there and Omar with Salim killed all the 3 prisoners due to the NATO attack and Viswa just stood down watching that murder la and the camera moved to Mamu scene where he ran towards America bunker and quickly he lied down when a tank came and he died because he released the bomb in which he become the suicide bomber la
On the night, Omar told there will be one sheikh coming to this place and he will be treasurer for them. Sheikh came and his name was Tawfeeq and he gave a gift to Viswa as Viswa kept that safely in the bag la. The next day, Omar bring Viswa to the special place where Omar was not mentioning the place name and the shocked news was Omar went to Osama place and he met Osama but as soon they were talking suddenly American helicopter came to that Omar’s place and the American killed several terrorist as Viswa asked Omar to calm down since Omar’s wife,son and Jalal were hiding in the another house where they need to be saved but suddenly Omar’s friend was killed and Omar was really angry and again try to fight but suddenly a blast where Omar being injured badly la and Viswa asked them to carry Omar to the truck and rescued him while Viswa will try to save Khadija,Nasra and Jalal but while he want to save the 3 of them suddenly a rocket was shot at their hiding place and they were died la.
The flashback was finished and the scene show Viswa house as Nirupama still confused what were happened around here la and Ashmita used medicine to treat him and Viswa asked his mama (which now he will called him as Sir) to burn all the papers and the papers were burned and one microchip look like sim card was burnt too. Then Viswa went to his room and cut his long hair to short hair. After he finished cutting his hair, Nirupama was amazed of Viswa new looks la and as they are ready to escape, FBI was coming to his house and Viswa asked Dawkins to escape first from house because FBI will not suspect on him since his face looks like American and Viswa removed one of his cupboard where there will be a door that lead to the basement la and Nirupama got shocked because she not even know this basement room. They both escaped via car and at the same time, Omar with Salim chasing them until Omar stop chasing them when Omar reached highway as he told that FBI would caught them and his Salim asked to Omar that Viswa was a good person in Afghanistan but why he suddenly changed la but Omar told that he the only one know how bad and dangerous Viswa is. The flashback come back to Afghanistan.
Omar try to calm down the fighting between the terrorists and Tawfeeq since many of them suspected Tawfeeq as the traitor but Omar does not believed and terrorists asked Omar to check Tawfeeq’s bag and he found only the gift that was gave to Viswa and he asked Salim to hold that gift and he seeing nothing problem but suddenly there is a red dot and when Omar open the gift, it was American radio signal which can detect their location. Omar was totally angry and hit Tawfeeq with stick and ask other terrorists to punish Tawfeeq. The next day show that Tawfeeq being hanged and died and again the flashback was finished.
Before that,Omar had called his other partner to clean the evidence and that partner put the bomb on that place and quickly went away la. Nirupuma asked to Viswa because she do not know where they are going and he answered by going to her place and she was shocked but Viswa told to her that Deepak was collaborating with Omar by using cesium and actually at first Nirupama never know the main goal of Deepak when she was helping him but after Viswa told everything then only she got to know and Nirupama quote to Viswa “Nenge nallavara kettavara?” which means she asked to him whether he is good or bad and he told that he is also good but somehow bad and when Viswa throwing money on the air, that time, the flashback was shown back to Afghanistan where the scene where Tawfeeq gave a gift to Viswa and when he going to put that gift in the bag suddenly there is one person who was Viswa’s men bring another similar to that gift and put that on his bag and then the scene move on when Viswa was escaping with his man and he asking to his man why he not removed and destroyed the gift after signalling the location because due to their mistake, Tawfeeq was hang killed but Viswa’s man answered it back by telling Tawfeeq is not one of his religion or caste( I was so confused).
The flashback was finished when the money who was thrown by Viswa was laying down and he went to Deepak place and check the transactions where most of name came from with name of Abbasi and he was from Nigeria la but at the same time,Omar’s partner who had leave that place and went to some place which he can see the bomb place and he detonated it.
As Viswa, Nirupama and Ashmitha going to escape, suddenly FBI came and asked them to surrender and they are surrendered. At FBI office,
15929948493760271149.png
Tom Black(James Babson) 
asked a lot of question to Viswa but he had explained all to him but still Tom cannot understand him but luckily Viswa Mama(Sir) came to rescue him by bringing India ambassador and explained everything to them and Vishwa told them that the terrorist used cesium to spread the radioactive in America and the flashback was shown again where Omar discussed with Viswa by telling that he will used pigeons as the weapon and put cesium on pigeon’s legs and spread it la and the flashback again was finished la and Viswa told to FBI that there is a warehouse where the terrorist are being kept in there and quickly they went to the warehouse where the terrorist was praying and going to do something and when FBI open the warehouse and asked them to surrender, they went to suicide by bombing the warehouse.
The scene move to Dawkins as he went to muzeum and met the owner of museum and he want to buy one special blade but before that Dawkins introduced his name as other name and when he is going to buy that blade suddenly on owner CCTV show the real buyer of that blade and quickly Dawkins killed that owner and run away to his car but soon he went to his car, he met with Salim and Salim brought Dawkins to other place and he was being killed la .
Viswa with his Sir went to see Dawkins but he was already died and the scene move on to Abassi as he is setting something on his place while all the FBI was following through roof la and the scene show Omar and Salim was on the plane waiting to get the signal from Abbasi and the scene show to the Abbasi room where all FBI had covered his outside home and FBI used some hi tech camera to focus what was he doing. Viswa get shocked because Omar was planing to make cesium bomb through Abbasi help and when Abbasi starting to pray, Viswa used this moment to killAbbasi after Abbasi finished prayed and Abbasi died after second time being shot by Viswa and then a call ringing from Abbasi’s mobile which was Omar and he commanded Abbasi to detonate the bomb but suddenly Omar got shocked to know that Viswa was already there and Omar know his plan was ruined. The scene move back to the cesium-bomb scene where the ending was Nirupama came to that room to help Viswa since she was doctor specialist, she saw a microwave and she took that microwave and open the microwave door and put that to the top of that bomb and she explained to them that by putting microwave on top of the bomb, the bomb cannot be detonate by anyone since its cannot detect the signal to detonate la and the final was all were walking and Viswa said this is not the ending where there will be a continue and then show Viswapooram 2 trailer! The movie ends.
Shebby Final Prediction : 3.5/5

 

Export html to ms excel file in php

January 4, 2013 Leave a comment

In this article,I will explain how to export html to excel(.xls) file. we are going to export an HTML table (or any html data) to a MS Excel document as it is displayed on the HTML page.
it is very easy to export HTML data to excel in PHP. Lets see Below code

<!–?php

if(isset($_POST[‘excel’]) && $_POST[‘excel’])

{

# Download Excel (.xls) File…

header(‘Content-Type: application/force-download’);

header(‘Content-disposition: attachment; filename=ExportHtmlToExcel.xls’);

header(“Pragma: “);

header(“Cache-Control: “);

echo $_POST[‘excel’];

exit();

}

?>

<html>

<head>

<script>

function getHtmlData()

{

$(“#excel”).val(‘<table border=”1″>’+$(“#info”).clone().html()+'</table>’);

return true;

}

</script>

</head>

<title>Export HTML to Excel in PHP</title>

// <![CDATA[
src=’http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js’&gt;
// ]]>

</head>

<body>

<form method=”post” onSubmit=”javascript:return getHtmlData()”>

<table border=”1″ id=”info”>

<tr>

<th>First Name : </th>

Last Name :

</tr>

<tr>

Test First Name

<td>Test Last Name</td>

</tr>

</table>

<input type=”hidden” id=”excel” name=”excel” value=””>

<br><br>

<input type=”submit” value=”Export HTML to Excel”>

</form>

</body>

</html>

 

PHP Image and Audio Upload Function

January 4, 2013 Leave a comment

Function in PHP to upload an image and audio to the MYSQL database and move the uploaded file:

//fileUpload(“location of file”,”table”,”file_name_in_table”,”condition1″,”condition2″,”file type”)

function fileUpload($location,$table,$name,$condition1,$condition2,$T)
{
//image upload
if($T == “I”) :
$new_name = time(). “-”. $_FILES["image"]["name"] ;
$target = $location. $new_name ;

if ((($_FILES["image"]["type"] == “image/gif”) || 
($_FILES["image"]["type"] == “image/png”) ||
($_FILES["image"]["type"] == “image/jpeg”) ||
($_FILES["image"]["type"] == “image/pjpeg”))) { $err = 0; } else { $err = 2; $_SESSION['errorMessage'] = “Invalid file format!!”; } if (file_exists($target)) { $err = 1; $_SESSION['errorMessage'] =
Filename already exists!!”; } if($err!= 1 && $err!=2) { move_uploaded_file($_FILES["image"]["tmp_name"], $target); mysql_query(“UPDATE $table SET $name = ‘$new_name’ WHERE
$condition1=’$condition2′ “) or die(‘Upload error’.mysql_error()); $_SESSION['addMessage'] = “Action succesfully!!”; } endif; //audio upload if($T== “A”) : $new_name = time(). “-”. $_FILES["audio"]["name"] ; $target = $location. $new_name ; if ((($_FILES["audio"]["type"] == “image/gif”) ||
($_FILES["audio"]["type"] == “image/png”) ||
($_FILES["audio"]["type"] == “image/jpeg”) ||
($_FILES["audio"]["type"] == “image/pjpeg”))) { $err = 0; } else { $err = 2; $_SESSION['errorMessage'] = “Invalid file format!!”; } if (file_exists($target)) { $err = 1;
$_SESSION['errorMessage'] = “Filename already exists!!”; } if($err!= 1 && $err!=2) { move_uploaded_file($_FILES["audio"]["tmp_name"], $target); mysql_query(“UPDATE $table SET $name = ‘$new_name’
WHERE $condition1=’$condition2′ “) or die(‘Upload error’.mysql_error()); } endif; }

Upload Cover Photo to Facebook via PHP

January 4, 2013 1 comment

Here is a tutorial to upload a Cover Photo on Facebook via PHP. We will need Facebook Application ID and Secret, and Facebook files from Github.com then upload to your web space only the src  folder. Now create a file called upload.php and upload it to your web space. Open upload.php with notepad and add this code:

<?php
 
ini_set('display_errors', 1);
 error_reporting(E_ALL);

 require 'src/facebook.php';

 $facebook = new Facebook(array(
 'appId' => "xxxxxxxxxxxxxxxxxxx", //Facebook App ID
 'secret' => "xxxxxxxxxxxxxxxxxxx", // Facebook App Secret
 "cookie" => true,
 'fileUpload' => true
 ));

 $user_id = $facebook->getUser();

 if($user_id == 0 || $user_id == "")
 {
 $login_url = $facebook->getLoginUrl(array(
 'redirect_uri' => 'https://selvabalaji.wordpress.com/upload.php?cover='.$_GET['cover'].'', // Replace with your site url
 'scope' => "publish_stream,user_photos"));

 echo "<script type='text/javascript'>top.location.href = '$login_url';</script>";
 exit();
 }

 //get user album
 $albums = $facebook->api("/me/albums");
 $album_id = ""; 
 foreach($albums["data"] as $item){
 if($item["type"] == "cover_photo"){
 $album_id = $item["id"];
 break;
 }
 }

 //set timeline cover atributes 
 $full_image_path = realpath($_GET['cover']);
 $args = array('message' => 'Uploaded from hhttps://selvabalaji.wordpress.com/');
 $args['image'] = '@' . $full_image_path;

 //upload cover photo to Facebook
 $data = $facebook->api("/me/photos", 'post', $args);
 $picture = $facebook->api('/'.$data['id']);

 $fb_image_link = 'http://www.facebook.com/profile.php?preview_cover='.$data['id'].''; //redirect to uploaded facebook cover and change it
 echo "<script type='text/javascript'>top.location.href = '$fb_image_link';</script>";
?>

Now that just type in the URL of your site followed by the name of the image file and you’re done!
Example : http://yoursitename.com/upload.php?cover=selvabalaji.gif

Today – WordPress New Version 3.5 Released

December 12, 2012 1 comment

On December 11, 2012, WordPress Version 3.5, named for jazz drummer Elvin Jones, was released to the public. For more information on this enhancement and bug-fix release, read the WordPress Blog, and see the Changelog for 3.5

 

Highlights

  • New Media Manager
    • Beautiful interface: A streamlined, all-new experience
    • Create galleries faster with drag-and-drop reordering, inline caption editing, and simplified controls
    • Insert multiple images at once with Shift/Ctrl+click
  • New Default Theme – Twenty Twelve
    • Simple, flexible, elegant
    • Mobile-first, responsive design
    • Gorgeous Open Sans typeface
    • Uses the latest Theme Features
  • Admin Enhancements
    • New Welcome Screen
    • Retina-Ready (HiDPI) Admin
    • Hide Link Manager for new installs
    • Better accessibility for screenreaders, touch devices, and keyboard users
    • More polish on admin screens, including a new color picker
  • For Developers
    • WP_Comment_Query and WP_User_Query accept now meta queries just like WP_Query
    • Meta queries now support querying for objects without a particular meta key
    • Post objects are now instances of a WP_Post class, which improves performance and caching
    • Multisite’s switch_to_blog() is now significantly faster and more reliable
    • WordPress has added the Underscore and Backbone JavaScript libraries
    • TinyMCE, jQuery, jQuery UI, and SimplePie have all been updated to the latest versions
    • Image Editing API for cropping, scaling, etc., that uses ImageMagick as well as GD
    • XML-RPC: Now always enabled and supports fetching users, managing post revisions, searching
    • New “show_admin_column” parameter for register_taxonomy() allows automatic creation of taxonomy columns on associated post-types.

What’s New

Dashboard

  • Switch to prompt text in QuickPress to accommodate longer translated input labels
  • Button styles updated throughout Dashboard to more modern, rectangular shape
  • Help Text improvements throughout

Posts

  • Rename the “HTML” editor tab to “Text”
  • Prevent child categories from being visually promoted to the top level after Quick Edit

Media

  • Add oEmbed suport for SoundCloud.com, SlideShare.net, and Instagram.com
  • New Media Manager: Insert multiple galleries per post and independently order images

Accessibility

  • Add visible focus within admin screens for better accessibility.
  • Add “Skip to content” link to all screens in the admin.
  • Add “Skip to toolbar” accessibility shortcut in the admin.
  • Add ability to log out of user account without mouse input.
  • Add “tab out” of the plugins and themes editors textareas.

Links

  • Link Manager is hidden for new installs and for any existing installs that have no links (all sites with existing links are left as is). This can be restored with Link Manager Plugin
  • Display links in widget if no link categories

Appearance

  • Widgets menu is hidden if your theme hasn’t defined any sidebars
  • Improve display of available custom headers with jQuery Masonry

Plugins

Users

  • Display name defaults to first name and last name for new users
  • Force the user to explicitly choose between content deletion and reassignment when deleting users

Settings

Multisite

  • Multisite installs now work with WordPress in a subdirectory
  • Turn off ms-files.php by default
  • File quotas disabled by default on new installs 

 

Today RAJINI’S BIRTHDAY 12-12-12

December 12, 2012 2 comments
English: Rajinikanth at the audio release of E...

English: Rajinikanth at the audio release of Enthiran (Photo credit: Wikipedia)

Superstar Rajinikanth celebrates his 60th birthday today and he will be spending the day with his family. Rajini’s birthday is no less than a festival for his fans the world over.

It is reported that his family and close friends have organized a Shashitabadapoorthi puja (60th birthday celebrations) at the famous Tirukkadiyur temple near Tiruchi. However, it should come to no one’s surprise that Rajini’s fans will be lining up for special poojas and welfare activities for their favourite idol.

Shivaji Rao Gaekwad was on December 12, 1949 and had very humble beginnings. He served as a ticket collector in a local shuttle bus in Bangalore when he was discovered by the legendary K. Balachander who renamed him Rajinikanth.

The year has been exceptional for Rajini. Breaking all box office records Endhiran has emerged as the biggest hit ever. There have also been two new additions to his family. Daughter Aishwarya Rajinikanth, who is married to actor Dhanush gave birth to a baby boy and his other daughter Soundarya Rajinikanth got married to industrialist Ashwin Kumar.

selvabalaji.wordpress.com  wishes Rajinikanth a very happy birthday!

 

Watch Thuppakki Movie Online HQ (youtube)

November 19, 2012 4 comments


Vijay’s Thuppaki Review – First Day First Show Report


One of the key reasons for Thuppaki’s sky high expectations is because the movie marks the beginning of Vijay’s strategy to working with top rung directors (barring Shankar’s Nanban which was a faithful remake of 3 Idiots). This is probably the best line-up of crew members and technicians for a Vijay movie. On the casting side, Kajal Aggarwal, Vidyut, Sathyan, Jayaram have provided the required support for Vijay to showcase his talent.  Does the script keep you engaged throughout the running time of 2 hour 45 minutes? Will Thuppaki uplift the festive mood this Diwali? Definitely, Yes.

The story opens in Mumbai with a bomb blast in a public bus. Jagdish (Vijay) is on a mission to find the terrorist gang and people behind the blast. There are twists and unexpected turns along the way. The story has enough ammo to fire up Vijay’s fan base.

Thuppakki is Vijay; Vijay is Thuppakki


Vijay has carried the movie from start to finish with his self-assured confidence and trade-mark style. The script makes frequent switch-overs from intense sleeper cell scenes to commercial love/comedy scenes. Vijay was able to make some bumpy transitions look convincing with his acting abilities. As always, Vijay dances effortlessly and comedy comes to him naturally. Vijay’s costumes, pleasant looks and mischievous expressions will surely win him more female fans. Vijay looks fit and younger in his toned muscular physique.

Story, Direction and Screenplay


AR Murugadoss’ engaging story is narrated in gray tones balanced with commercially colourful compromises. The movie may have minor similarities to Ramana which has worked out well again. Murugadoss has done his homework by consulting ex-CBI chief Karthikeyan and the details are blended in nicely while dumbing it down for audience. AR Murugadoss has intentionally slowed down the pacing and narration in critical scenes (e.g., Hospital security chief conversation in the terrace) to get the message across. The dialogues about common people’s (un)willingness to put their life at risk to fight terrorism are well written and delivered by Vijay. Also, the hero putting his sister in a high-risk operation provides the impetus and emotional connect with the audience.

It is interesting to note that the villain (Vidyut) tracks down the hero instead of other way around, which is usually seen. Another aspect which is told subtlely is Vijay’s undercover act passing off as a common man similar to the way terrorist sleeper cells operate. Vijay’s exterminating the sleeper cell operations in Mumbai is not revealed to his lover, family or others (except his cop friend Sathyan). This aspect could have been underlined a bit for additional impact and stronger appreciation for Jagdish’s character.

The love/comedy scenes and songs definitely stick out like sore thumb since they are not integrated well with the story line. It is understandable why AR Murugadoss had to make these compromises. We are pointing this out without really complaining since such intrusions have become essential to satisfy the fan base and common audience with diverse set of expectations.

Highlights 


  • Stylish portrayal of Vijay in anti-terrorism operations have a perfect closure with mass elements. For instance, scenes such as simultaneous execution of 12-for-12 sleeper cell killings at precisely the same minute, sister rescue scenes with sniffer dog, and the final scene where he symbolically blows up the ship with his hand gesture and subsequent punch dialogue before villain killing are sure treats for fans.
  • AR Murugadoss seems to have taken a tip from his association with Aamir Khan in Ghajini Hindi remake. Upon Aamir’s insistence, some emotional scenes involving Asin’s memory were added after climax action sequences in Hindi version. AR Murugadoss has used similar finish in Thuppakki giving a nice emotional touch and meaning to the movie by extolling the virtues of army.
  • Kajal has done her role exceptionally well in perking up the lighter moments with her expressions, dance moves in songs and chirpy love scenes laced with humour. Kajal has good scope in both “Antarctica” song (interesting concept) and “Alaika Laika” (showcasing her dance moves). Kajal’s presence enlivens the scenes and songs for people looking for relief from action scenes.
  • Santhosh Sivan‘s Cinematography and Sreekar Prasad‘s editing keep the narration tight despite relatively long running time. The candid capture of Mumbai adds to the style and character of the city. Santosh’s fast working style is critical to the successful shooting of scenes in real locations in Mumbai. Harris scores big in the final minutes with his song (“Poi Varavaa“) dedicated to army jawans which is sure to leave a lump in your throat. Harris’ BGM keeps up the pace and makes the operations look convincing with his theme track.

What could have been better?


  • Song picturizations look low-budget. Almost 4 out of 5 songs solely rely on Vijay’s dance moves, which gets a bit repetitive for general public. AR Murugadoss and Santhosh Sivan have pulled out some of the old tricks of picturizing the songs in big stadiums, by using bright incandescent lights in the background to make it look richer. Vijay’s introduction song “Kutti Puli Kootam” and opening fight scenes are speed breakers right after the word “go”.
  • Screenplay could have been tighter. Even though the individual scenes were riveting, the bigger purpose required to latch the audience interest lacks full conviction. The objective of killing the head of sleeper-cell (Vidyut) lacks macro-connection resulting in lack of depth for Vijay vs Vidyut’s clash. Some of the lengthy climax fight sequences in the ship could have been trimmed. The final 10+ minutes of man-to-man combat scenes with Vidyut led to some chatter among audience.

Bottomline


With right promotions and word of mouth reaching out to neutral and family audience, Thuppakki is well positioned to get tagged along with Ghilli and  Pokiri.

Reviewer Rating – 

 

Paradesi First Look – bala ready for next national award!

October 30, 2012 2 comments

 

 

Thupakki Songs

October 30, 2012 Leave a comment

 Thupakki Tamil Movie

01.Kutti Puli Koottam
Artist(s): Hariharan, Tippu, Narayana, Satyan, Ranina Reddy
Lyricist: Viveka

02.Antarctica
Artist(s): Vijay Prakash, Krish, Rajeev, Devan
Lyricist: Karky

03.Poi Varavaa
Artist(s): Karthik, Chinmayee
Lyricist: Pa. Vijay

04.Google Google
Artist(s): Vijay, Andrea Jeremiah, Joe, Krishna Iyer
Lyricist: Karky

05.Vennilave
Artist(s): Hariharan, Bombay Jayashri
Lyricist: Na. Muthukumar

06.Alaikaa Laikaa
Artist(s): Javed Ali, Sayanora Philip, Sharmila
Lyricist: Pa. Vijay

07. jagadish On Mission (Theme)