Social Media Strategy-seo-tips

What is important to understand your social media goals and objectives and how they tie into your overall company goals. Remember this thing likeKeep it specific, measurable, Attainable, Realistic/Relevant, and Timely.

Let’s take some commonly used objectives:

Improve the brand presence across social channels: Here, The goal is an increase the number of followers comes on Twitter, number of fans on Facebook, subscribers, number of comments, number of times your brand is mentioned in blogs and forums and so on.

Increase the positive sentiment about your brand: The goal here is to convert the number of positive mentions while taking note of negative mentions.  Has the ratio of positive to negative comments improved through this strategy?  With the good comes the bad in social media.

Develop the relationships for future partnership opportunities: This goal is to keep track of those with whom you have connected.  For example, if you met a potential speaker for your webinar, include that person into your digital Rolodex.  If a person contacts you through your blog, capture that lead and take note.

Increase the traffic on your website: To Keep track of visitors to your website who come from each of your social media sites.  If you are promoting an event using social media, consider using a unique code to track the campaign.

In general terms, I view social media as a strategy, not a tactic. As per my views, I consider that the social media platforms like blogs, Twitter, Facebook, digg, stumbleupon, jumptage etc., as tactics that tie into the social media strategy.  In other words, outline your social media strategy and support your strategy with tactics.

In what ways did you implement what you learned on your own blog?

I quickly realised that Adsense was not a strategy for me moving
forward. There were far better ways to monetize my blog. That is
why I started working on my own product: an eBook with 30 London
Cycling Routes). The eBook has been a huge success and I wouldn't
have thought to create it without the course. I've had interest
from people wanting to publish it and it continues to bring in a
steady income that pays my rent.

I also started an Aweber newsletter. This helped me connect with my
audience and have their permission to keep in contact regularly. As
of today I have over 2,000 subscribers on my list.

My traffic grew a lot (I am receiving over 70,000 visits per
month now) and I practically went from $0 to $1,000 monthly in
revenues. The money I made with the blog paid for two weeks in
Brazil enjoying Rio De Janeiro. Since then things have continued to
grow and so many opportunities have arisen, such as collaborating
on an iPhone application and interviewing the Mayor of London. I'm
sure without this strong start to my blogging career I would be in
a 9-5 job now.
 

Howto's Tutorials


Linux / UNIX Clustering (High Availability) Tutorials

The concept of a cluster is that the cluster itself appears on the outside as a single system. A cluster consists of two or more Real Computers referred to as nodes or members of a cluster. The components of a cluster are commonly, but not always, connected to  each other through fast Local Area Networks

What is RCRON & How to Setup High Availability of cron Jobs Using RCRON

rcron is a tool that helps  system administrators  in setting up cron jobs redundancy and failover over groups of machines. RCRON ensure that a job installed .

Yum Command - RPM Based Package Manager with Practical Examples

YUM Stands for Yellowdog Updater Modified. YUM is an interactive, rpm based, package manager. Yum is available in different Linux OS Like Redhat , Centos , Fedora etc. It can also perform installation of new packages, removal of old packages and perform queries on the installed and/or available..

Difference Between Qemu and KVM

Qemu is a generic and open source machine emulator and virtualizer. When used as a machine emulator, QEMU can run OS and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, Qemu achieves very good performance.
How To Install and Configure VMWARE

To Install and Configure Vmware Following Components are Required like ESXI Server, Vcenter Server & VSphere, Active directory and DNS Sever

Web Directories For SEO


  • Is it ranking in the SERPs? - If a site ranks well in the search engines it stands a good chance to be trusted by them. Plus even if those links do not count to help boost your ranking they still can drive direct traffic. I frequently see directories like Business.com and JoeAnt ranking in the search results.
  • Do they sell direct links? - Direct links are more likely to be taken as editorial votes of quality. Some redirected links may still count, but many of them will not.
  • How frequently is their site crawled? - You need to check and see if the category pages are being cached in Google, and how frequently they are cached. If their pages are not getting cached or have not been cached for 6 months then the odds are pretty low of that link carrying much weight.
  • What is the quality ratio? - Does it list anyone who pays? Or do they hold sites to some quality standards? Do they categorize sites properly? Or do they sell links to anyone in any category, even if it is the wrong one? Does each page have unique content? Are most pages empty - adding nothing but clutter to search indexes? If they do not help engines categorize the web (ie: no editorial value) then eventually the engines are not going to trust their votes.
  • What is the ad ratio? - Are all the listings paid? Or will they list some useful sites without payment? Does the site look like it aims to serve end users? Or does it look like it exists just to get AdSense ads or affiliate ads indexed?
  • Do they sell outbound sitewide links? - Prettymuch the equivalent of selling out - when a directory puts sitewide outbound links on their site (especially if those links are to junky sites) the odds are pretty good that the links are not going to count much.
  • Is it decrepit? - Directories which have 50% of their links broken or pointing at URLs that have been purchased by spammers or domainers are not going to pack as much punch as sites which have few broken links. I recently bought a 25 page directory that has not been updated in a couple years, and it had about 400 broken links in it. Not good!
  • Does it have unique content? - Is it a DMOZ clone? Are its listings manually compiled and unique from what is offered at other directories?
  • Is it relevant to my site? - Many small niche directories can drive decent value due to offering decent co-citation data and having exceptionally relevant traffic streams.
Bob Mutch recently rated 40 top directories based on their age, how many edu and gov links they have and whether or not they are listed in DMOZ and Yahoo!. I would contest that WhatUSeek isn't a real directory, ISEDB is a directory of search engines and directories, and that Vlib.org should be counted as a directory, but other than those minor points this is a pretty cool study.
No URL EDU GOV Age
1 www.dmoz.org 128,000 761 1999
2 dir.yahoo.com 111,000 2,060 1995
3 www.lii.org 10,400 110 1998
4 www.business.com 2,420 73 1998
5 sbd.bcentral.com 955 23 1999
6 www.whatuseek.com 273 2 1996
7 www.cannylink.com 204 1 1997
8 www.123world.com 123 2 1999
9 www.americasbest.com 99 13 1998
10 www.joeant.com 106 1 2000
11 www.chiff.com 105 1 1998
12 www.mavicanet.com 64 1 1999
13 www.botw.org 50 1 1996
14 www.elib.org 43 0 2003
15 www.isedb.com 33 0 2002
16 www.rlrouse.com 27 0 2002
17 www.gimpsy.com 23 0 2001
18 www.goguides.org 22 0 2001
19 www.uncoverthenet.com 18 2 2004
20 www.qango.com 19 1 1998
I think the inbound link profile is a good starting point for rating (when you add it to the other criteria I mentioned above), but what I think is even more interesting is how quickly they fall off in the quantity of quality links.

Link Building Activities



Link Baiting: Create compelling content for advertising and increase visitor interaction on your website. Visitors that click on this content land on your website to take a look at the irresistible offer.

Social Bookmarking: Social bookmarking of your website is a good way to get increased amount of traffic drawn to your website.

Link wheel: A link wheel is the process of creating 12 or more new blogs on a particular topic. On each of those sites, you write 200 words of unique content, and include 1 link to your targeted site and 1 link to one of your other blogs.

Reverse SEO: It is a process by which you can improve the ranking of your website and decrease the ranking of your competitor’s website. And the method used is – heavily spam the competitor’s website with a lot of irrelevant links.

Link farms: If your site has lots and lots of links linking to you and all these links are low in quality, built for the sole purpose of increasing inbound links, Google looks at these as “Link Farms”. Link Farms are deliberately created with a whole bunch of low quality links.

Codeigniter count_all for pagination


work on count_all condition.. you can use below method to find out total number of rows..


public function count_all() {
    $this->db->select ( 'COUNT(*) AS `numrows`' );
    $this->db->where ( array (
            'type' => 'Original'
    ) );
    $query = $this->db->get ( 'story_tbl' );
    return $query->row ()->numrows;
}

ou could also use the built-in num_rows() function...
$query = $this->db->where('type', 'original')->get('story_tbl');
return $query->num_rows();

Matt Cutts Talks SEO for Google



The latest Google Webmaster video features Distinguished Engineer Matt Cutts talking about what webmasters can expect to see in the next few months in terms of SEO for Google, particularly changes combating black hat web spam from many different angles in a variety of areas.
Here are nine search and SEO changes webmasters will likely see – although, as always, Cutts warns nothing is set in stone and it should be taken with a grain of salt.

1. Next Generation of Penguin – Penguin 2.0

This update is to try and target more black hat web spam. The new Penguin 2.0, which is the name Google uses internally for the next gen Penguin, will be much more comprehensive than Penguin 1.0 and it will go deeper and have a larger impact than the original.

2. Advertorials

Many advertorials (a.k.a., native advertising) violate Google's quality guidelines. More importantly, they should not flow PageRank.
Google is planning to be a lot stronger on their enforcement of these types of paid links and advertising, disguised as “advertorials”. Cutts did clarify there is nothing wrong with advertorials, simply that they don't want them to be abused for PageRank and linking reasons. If you use advertorials, Cutts suggested that they should be clearly marked and obvious that it is paid advertising.

3. “Payday Loans” in .co.uk

Cutts mentioned that this is a problematic search, and there are others like it, so they are tackling it a couple of different ways. For those that play in that space, however, you're out of luck since Cutts isn't revealing exactly how they are dealing with it, just that it will be happening.
He said that they are targeting specific areas (another example he included was porn queries) that have traditionally been more spammy.

4. Devaluing Upstream Linking

Again, Cutts isn't going into details about this, but they are working on making link buying less effective and have a couple ideas for detailed link analysis to tackle this issue.

5. Hacked Sites

They want to roll out a next generation of hacked detection, as well as being able to notify webmasters better. They would like to be able to point webmasters to more specific information, such as whether they are dealing with malware or a hacked site, and to hopefully clean it up.

6. Authority

If Google's algorithms believe you or your site is an authority in a particular area, they want to make sure those sites rank a little bit higher than other sites.

7. Panda

They are looking for some additional signals for sites that are in the "gray area" or "border zone", and looking for other signals that suggest the site truly is high quality, so it will help those sites who have been previously impacted by Panda.

8. Changes to Cluster of Results From the Same Site

If you're doing deep searches in Google, and going back 5, 6 or more results pages deep, you can see the same site popping up with a cluster of results on those deep pages.
Google is looking into a change where once you have seen a cluster of results from the same site, you will be less likely to see more and more from that same site as you go deeper. Cutts mentioned this as being something that came specifically from user feedback.

9. More Information for Webmasters

Cutts said they want to be able to keep giving webmasters more specific and detailed information via webmaster tools. He mentions specifically example URLs to help webmasters diagnose problems on their site.
He believes that the changes will really make a difference with the quality of the search results, as well as impact the amount of spam that is showing up.

Bottom Line

Cutts says if you are focused on high quality content, you don't have much to worry about. But if you're dabbling in the black hat arts, you might have a busy summer.

Display Advertising white papers

The rise of mobile smartphones and tablets makes email ever more essential. This study across the thousands of newsletters on the LiveIntent Exchange reveals how to best optimize your email design for ad revenue and engagement.

High impact search campaigns are not for the weak-hearted. With new enhanced campaigns, retargeting, display, and mobile options, advertisers have the ability to design and target campaigns with amazing granularity - and with impressive results.

Digital advertising has been known to provide marketers with tangible results, answers to their questions about ad campaign performance, and guidance on where to spend their money.    

Online Marketing-Email Strategy

Email Strategy  help you maximize your email marketing efforts. Learn about deliverability, effective communication, email formatting, tracking ROI .


  • How email strategy can help you meet your marketing objectives through lead generation, lead nurturing, direct sales, and customer retention.
  • The key components of lead generation via email, utilizing calls to action and landing pages, and the advantages of using in-house and third-party email lists.
  • The advantages of building a "drip campaign" into your email strategy to nurture and move leads through the sales cycle.
  • The benefits of direct sales emails and what you can do to successfully create high sales turnaround using calls to action and deep linking to appropriate pages.
  • The value of a quality email strategy that will help you retain customers and build relationships with your readers, keeping your brand at the top of their minds.

Most Popular Keywords


  • Google Trends: Allows you to tap into Google's database of searches, to determine which keywords are most popular. View the volume of search queries over time (since 2004) worldwide or by regions and subregions, by languages, categories, and in Google properties such as news, image, or product search. Compare multiple terms, as well. Offers a list of what is trending now in Hot Searches.
  • Google Autocomplete: Google's Autocomplete is a tool that can help round out your research by providing keywords as seen through the searchers experience. When a searcher begins to type into the search box on Google.com, additional keywords are offered for searches that could be similar to what is typed. Google's algorithm works to predict search queries in real-time based on indexed web pages, personalized search history, other users' search activity, and Google+ (for person's name). Since the results are personalized, you may wish for more control over the Autocomplete feature. This can be accomplished by logging out of Google, turning off customizations, deleting web history, and Google+ settings.
  • Yahoo Buzz Log: Shows top overall keyword searches by Yahoo users with rank, buzz score, and how the search volume has moved in rank. There are additional options to narrow the buzz log by categories such as actors, movies, music, etc.
  • AOL Search Trends: Lists the top 50 search trends both hourly and daily on AOL. Data in AOL contains web and image searches (powered by Google), video (powered by Blinkx), News, Shopping, Maps, and Yellow Pages (powered by various providers).
  • YouTube Trends: Provides insights into popular videos based on keywords and video views. Trending Topics are algorithmically-generated topics from keywords in the title, tags, and description of the video within sets of videos that are currently rising in popularity. Trending videos are based on embedded video views and views on YouTube.
  • Google AdWords Keyword Tool: Enter a term or terms, to see search volume and keyword competition. Advanced options and filters allow you to refine by locations and languages and by desktop or mobile. 
  • Fastest Falling Global Queries

    Who lost the most traction in 2011? As Google Zeitgeist reveals the queries that fell fastest this year; see if you can spot the trend:
    1. MySpace 
    2. Hi5 
    3. Mebo (we believe they meant Meebo and not the misspelling) 
    4. Nasza Klasa (social network) 
    5. Netlog (social network) 
    6. Baidu 
    7. Wer Kennt Wen (social network) 
    8. Meinvz (social network) 
    9. Hotmail Correo 
    10. Delta Airlines

    Fastest Rising People Queries in the World

    Google has released their Zeitgeist 2011 data, complete with the top 10 search queries in sports, entertainment, news, and more for 48 countries. Zeitgeist’s lists allow you to compare results of any two queries on each list across various sliding time spans on an interactive graph, with hyperlinked icons indicating where news articles are available.
    Global data shows that Rebecca Black was the fastest rising query in the world, with searches for her name increasing more than 10,000 percent in 2011. Google+ and Ryan Dunn were the next fastest growing queries worldwide.
  • Download file using curl in php


    You would need to feed CURLOPT_URL the full URL to the file. Also if you want to download a file you might want to save it somewhere.

    Working example:
    $curl = curl_init();
    $file = fopen("ls-lR.gz", 'w');
    curl_setopt($curl, CURLOPT_URL, "ftp://ftp.sunet.se/ls-lR.gz"); #input
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl, CURLOPT_FILE, $file); #output
    curl_setopt($curl, CURLOPT_USERPWD, "$_FTP[username]:$_FTP[password]");
    curl_exec($curl);
    curl_close($curl);
    fclose($file);
    
    
    
    
    
    
    I used the ftp_* functions for ftp, in place of curl, because curl 
    tried to change directories, but its not allowed on this ftp server, so 
    the code i used is;
    $local_file = 'output.rar';
    $server_file = '/somedir/1/bar/foo/somearchive.rar';
    $ftp_user_name='anonymous';
    $ftp_user_pass='mozilla@example.com';
    $ftp_server='server.host';
    // set up basic connection
    $conn_id = ftp_connect($ftp_server);
    
    // login with username and password
    $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
    
    /* uncomment if you need to change directories
    if (ftp_chdir($conn_id, "<directory>")) {
        echo "Current directory is now: " . ftp_pwd($conn_id) . "\n";
    } else { 
        echo "Couldn't change directory\n";
    }
    */
    
    // try to download $server_file and save to $local_file
    if (ftp_get($conn_id, $local_file, $server_file, FTP_BINARY)) {
        echo "Successfully written to $local_file\n";
    } else {
        echo "There was a problem\n";
    }
    
    // close the connection
    ftp_close($conn_id);
    It works !!

    PHP error: Cannot modify header information


    You cannot use header() once text has been output to the browser. As your header.php include presumably outputs HTML, header() cannot be used.
    You can solve this in a couple ways:
    • Move the if statement above the header include (this won't work, as you've indicated in comments that header.php sets the uid session and other vital stuff).
    • Call ob_start() at the top of the script to buffer the output.

    You can't issue HTTP headers after you have outputted content.

    unction Redirect($url) {
            flush(); // Flush the buffer
            header("Location: $url"); // Rewrite the header
            die;
        }
    
    
    
    
    function Redirect($url) {
            flush(); // Flush the buffer
            ob_flush();
            header("Location: $url"); // Rewrite the header
            die;
        }
    
    
    
    
    To ensure your error reporting level is the same across environments, you can set it in your application using error_reporting() and ini_set('display_errors', 1)
    Also check your .php files for any whitespace before the opening tag and after the closing tag.
    In addition to the points mentioned above, ensure you are not outputting anything before the headers are set, for example the following code would produce an error similar to the one you are receiving:
    echo 'Hello, World';
    header('Location: http://www.somesite.com');

    PHP Curl check for file existence


    a PHP program that downloads a pdf from a backend and save to a local drive.
    
    
    $url = "http://wedsite/test.pdf";
    $path = "C:\\test.pdf;"
    downloadAndSave($url,$path);
    
    function downloadAndSave($urlS,$pathS)
        {
            $fp = fopen($pathS, 'w');
    
            $ch = curl_init($urlS);
    
            curl_setopt($ch, CURLOPT_FILE, $fp);
            $data = curl_exec($ch);
    
            $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
            echo $httpCode;
            //If 404 is returned, then file is not found.
            if(strcmp($httpCode,"404") == 1)
            {
                echo $httpCode;
                echo $urlS; 
            }
    
            fclose($fp);
    
        }
    
    
    You can do this with a separate curl HEAD request:
    curl_setopt($ch, CURLOPT_NOBODY, true);
    $data = curl_exec($ch);
    
    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    When you actually want to download you can use set NOBODY to false.

    PHP: How do I enable error reporting?

    How to create update or remove symbolic or soft link Linux


    Symbolic links , Symlink or Soft link in Unix are very important concept to understand and use in various UNIX operating systems e.g. Linux , Solaris or IBM AIX. Symlinks gives you so much power and flexibility that you can maintain things quite easily.I personally feel that along with find, grep and other UNIX commands, command to create soft link and update soft link i.e. ln -s  is also must for any one working in UNIX machine. Whenever I do scripting or write any UNIX script I always write for symlinks rather than pointing to absolute path of directories in UNIX. It gives you flexibility of changing the symlink or soft link without making any change on your tried and tested scripts. I have worked on many different core Java projects which run on Linux and UNIX machine and make extensive use of UNIX symbolic links or symlinks. All my project which are on finance domain and on electronic trading systems have there server running on Linux,  Since speed is major concern in online stock or futures trading where orders has to hit the market within micro seconds Linux server is ideal choice for electronic and fix trading systems and since your server is on UNIX you have to be expert of Unix command to work efficiently and these articles are my result of those effort to learn and share new UNIX commands. In this UNIX fundamental tutorial we will see How to create soft link in UNIX, How to update soft link and Difference between Soft link and Hard link in Unix and Linux. By the way this UNIX command tutorial is  in continuation of my earlier article top networking commands in Unix  and CVS command examples ,  if you haven’t read already you may find some useful information based on my experience in Unix and Linux commands.



    First difference between soft link and hard link is that  Unix Soft links are pointers to programs, files, or directories located elsewhere (just like Windows shortcuts) , while Unix Hard links are pointers to programs and files, but NOT directories.
    2) Second major difference between UNIX soft link and hard link is that If the original program, file, or directory is renamed, moved, or deleted, the soft link is broken and it will show in red color if you using ls -lrt --color option. On the other hand, If the original program or file is renamed, moved, or deleted, the hard link is NOT broken
    3) One not so important difference on soft link vs hard link is that,  If you type ls -F you can see which files are UNIX soft links because they end with @

    4)  Another difference between soft link vs hard link is how you create them, To create a soft link called "current" that points to a file or directory called "new_package", use this: ln -s new_package latest  to remember this command always remember that name of soft link comes as last argument. On the other side to create a UNIX hard link called myhardlink.txt that points to a file called myfile.txt, use this: ln myfile.txt myhardlink.txt

    5) One more significant difference on soft link and hard link on UNIX or Linux is that, soft link can point to a network mounted directory also. For creating unix soft link remember to use option "-s" with UNIX link command "ln". While, Hard links in UNIX cannot span disk drives, so you CANNOT have a hard link on /dev/hdb that refers to a program or file on /dev/hda

    FTP 550 Access is denied Error

    Probably the Firewall from Client A which is preventing this. FTP also requires a data channel to send its information

    How to list directory content of remote FTP, recursively?

    IT can do almost everything bash can do, albeit remotely.


    $ lftp mirror.3fl.net.au
    lftp mirror.3fl.net.au:~> ls                          
    drwxr-xr-x  14 root     root         4096 Nov 27  2007 games
    drwx------   2 root     root        16384 Apr 13  2006 lost+found
    drwxr-xr-x  15 mirror   mirror       4096 Jul 15 05:20 pub
    lftp mirror.3fl.net.au:/> cd games/misc
    lftp mirror.3fl.net.au:/games/misc>find
    ./
    ./dreamchess/
    ./dreamchess/full_game/                                                      
    ./dreamchess/full_game/dreamchess-0.2.0-win32.exe                                      
    ./frets_on_fire/
    ./frets_on_fire/full_game/                                                      
    ./frets_on_fire/full_game/FretsOnFire-1.2.451-macosx.zip                                  
    ./frets_on_fire/full_game/FretsOnFire-1.2.512-win32.zip
    ./frets_on_fire/full_game/FretsOnFire_ghc_mod.zip
    ./gametap_setup.exe
    ......
    lftp mirror.3fl.net.au:/games/misc> du gametap_setup.exe 
    32442   gametap_setup.exe
    lftp mirror.3fl.net.au:/games/misc> du -sh gametap_setup.exe 
    32M     gametap_setup.exe
    lftp mirror.3fl.net.au:/games/misc> 

    Difference between active and passive FTP?


    Active and passive are the two modes that FTP can run in. FTP uses two channels between client and server, the command channel and the data channel, which are actually separate TCP connections. The command channel is for commands and responses, the data channel is for actually transferring files. It's a nifty way of sending commands to the server without having to wait for the current data transfer to finish.
    In active mode, the client establishes the command channel (from client port X to server port 21(b)) but the server establishes the data channel (from server port 20(b) to client port Y, where Y has been supplied by the client).
    In passive mode, the client establishes both channels. In that case, the server tells the client which port should be used for the data channel.
    Passive mode is generally used in situations where the FTP server is not able to establish the data channel. One of the major reasons for this is network firewalls. While you may have a firewall rule which allows you to open up FTP channels to ftp.microsoft.com, Microsoft's servers may not have the power to open up the data channel back through your firewall.


    Active mode:
    • Client opens up command channel from client port 2000(a) to server port 21(b).
    • Client sends PORT 2001(a) to server and server acknowledges on command channel.
    • Server opens up data channel from server port 20(b) to client port 2001(a).
    • Client acknowledges on data channel.
    Passive mode:
    • Client opens up command channel from client port 2000(a) to server port 21(b).
    • Client sends PASV to server on command channel.
    • Server sends back (on command channel) PORT 1234(a) after starting to listen on that port.
    • Client opens up data channel from client 2001(a) to server port 1234(a).
    • Server acknowledges on data channel.

    Multiple array in php


    If the ID, topic and description are all in the correct order in each comma delimited string you are supplying to the script, you could use the following to create a single array key'd by the ID:


    $id = explode(',',$data->id);
    $topic = explode(',',$data->topic);
    $description = explode(',',$data->description);
    
    foreach($id as $key=>$val)
    {
        $results[$val]['topic'] = $topic[$key];
        $results[$val]['description'] = $description[$key];
    }
    
    
    
    
    
    
    $newArray=array_merge($topic,$description,$third_array);
    foreach($newArray as $key=>$value)
    {
    echo "$key- $value <br/>";
    }

    SQL Injection Prevention

    the value should only be a positive integer value, since it's an id number. We do sometimes use other variables that could be a letter, or a string of text, for example, the search results pages.


    $variable = "0";
    if (isset($HTTP_GET_VARS["id"])) {
      $variable = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS["id"] : addslashes($HTTP_GET_VARS["id"]);
    }
    
    
    Should I be using mysql_real_escape_string

    basic SEO factors

    It is quite easy to learn the basic SEO factors if you spend a
    couple hours researching on the web. Here is a quick summary of
    them:

    -You need to have unique and useful content.
    -You need to have quality and relevant backlinks.
    -Your title tags should be unique and contain your main keywords.
    -Your permalinks should be based on keywords rather than symbols.
    -Your website shouldn't have many folders, and its pages should
    be interlinked.

    If you follow these guidelines soon you'll start getting a decent
    amount of traffic from Google.

    You should be careful, however, to not become greedy and start
    over-optimizing your website, which is a mistake I see many new
    bloggers and webmasters doing.

    Here are the most common forms of search engine over-optimization I
    see around:

    1. Repeating the main keywords over and over again in the body
    of the article to increase the keyword density.

    2. Using the bold and italic typefaces over and over again on the
    main keywords of the page.

    3. Creating footer links with optimized and unnatural anchor texts
    pointing to internal pages.

    4. Getting backlinks from low quality sources (e.g., web directories
    and dofollow blogs) with optimized and unnatural anchor texts.

    5. Getting too many backlinks with the same anchor text.

    6. Exchanging with or buying links form low quality or unrelated
    websites.

    These tactics might work in the short term, as the person applying
    them might see an increase in the search rankings and organic
    traffic.

    SQL Injection Attacks

    This appeared to be an entirely custom application, and we had no prior knowledge of the application nor access to the source code: this was a "blind" attack. A bit of poking showed that this server ran Microsoft's IIS 6 along with ASP.NET, and this suggested that the database was Microsoft's SQL server: we believe that these techniques can apply to nearly any web application backed by any SQL server.
    The login page had a traditional username-and-password form, but also an email-me-my-password link; the latter proved to be the downfall of the whole system.
    When entering an email address, the system presumably looked in the user database for that email address, and mailed something to that address. Since my email address is not found, it wasn't going to send me anything.
    So the first test in any SQL-ish form is to enter a single quote as part of the data: the intention is to see if they construct an SQL string literally without sanitizing. When submitting the form with a quote in the email address, we get a 500 error (server failure), and this suggests that the "broken" input is actually being parsed literally. Bingo.
    We speculate that the underlying SQL code looks something like this:
    SELECT fieldlist
      FROM table
     WHERE field = '$EMAIL';
    

    PHP operators are characters

    Artithmetic Operators

    OperatorDescription
    +Addition
    -Subtraction
    *Multiplication
    /Division
    %Modulus (remainder of a division)
    ++Increment
    --Decrement

    Assignment Operator

    OperatorDescription
    =Assign
    +=Increments, then assigns
    +=Decrements, then assigns
    *=Multiplies, then assigns
    +=Increments, then assigns
    /=Divides, then assigns
    %=Modulus, then assigns

    Comparison Operators

    OperatorDescription
    ==Is equal to
    !=Is not equal to
    >Greater than
    >=Greater than or equal to
    <Less than
    <=Less than or equal to

    Logical Operators

    OperatorDescription
    &&And operator. Performs a logical conjunction on two expressions (if both expressions evaluate to True, result is True. If either expression evaluates to False, result is False)
    ||Or operator. Performs a logical disjunction on two expressions (if either or both expressions evaluate to True, result is True).
    !Not operator. Performs logical negation on an expression.

    Concatenation Operators

    OperatorDescription
    .Concatenate (join two strings together)

    Apache-Specific Functions

    These functions enable you to access Apache internal features—they form a high-level interface to some Apache API functions. Consequently, these functions are available only if you have compiled PHP as an Apache module. It's important to remember that these functions are case-sensitive. Functions such as apache_note() make a distinction between uppercase and lowercase variables, just like normal PHP variables.

    apache_lookup_uri

    class apache_lookup_uri(string URI) 
     
    Opens an Apache subrequest to look up status information for a URI (Uniform Resource Identifier).
    Returns:
    Class containing a list of status information for a URI
    Description:
    If you have installed PHP as an Apache module, you can use this function to get information about a URI. Just as with virtual() or an SSI-include, the function opens an Apache subrequest; therefore, you can specify only a local document URI as the parameter.
     

    apache_note

    mixed apache_note(string key, [string value])

    Returns:
    Value of the Apache note corresponding to the key specified as the first argument; FALSE if no entry was found for the specified key

     

    Facebook Page SEO,Setup, Optimization & Promotion

    Facebook pages can be easily created for any business or service and are indexed in the search engines like Google, Yahoo, and Bing in much the same way that web pages on a website are (see example below).  Because of this, there are a number of critical factors and strategies that should be followed to create a highly optimized and visible Facebook page in the search engines. These include:
    • Naming, setup and optimization of your Facebook pages and content
    • Growing your fan base to allow for unique and catchy page naming
    • Promoting your page for your business both on and off line
    • Facebook page textual inbound link building for better targeted search engine results

    Blog Marketing


    Blogging
    • CMS Creation
    • Best SEO coded theme
    • SEO quality plugins
    • Blog domain name research
    Social Network Integration
    • Facebook page/group integration
    • Twitter integration
    • Email Feeds integration
    Quality SEO copywriting
    • Best-quality SEO copywritten Articles
    • Technical copywriting with internal linking
    • Research and development of articles
    • Keyword density management
    • Article promotion and backlinking management


    Google Plus Affect SEO?

    People would be driven to use Google Plus due to the fact that it will have more bearing in search engine social signals factor.We know all too well how Facebook affects search rankings with Facebook shares and Likes integrated into almost every website you land on.
    Sharing in Google Plus also seems to have an effect – maybe that’s what Google is going to do next? Or perhaps they are already tracking what you’re sharing inside Google Plus?

    Google Plus could influence search rankings since social factors are already “baked into” search engines. This was something Google learned from watching how Twitter’s tweets and re-tweets affected page rank. The effect was like turning on a firehose. And although Google has since plugged the Twitter hose, the impact was not totally diminished.
    Love to use google plus.Its really nice.

    Link Diversity

    Research of SEOmoz confirmed what many top SEOs already knew: it’s not just how many links you receive, it’s from how many different websites. Google loves to see link diversity in your backlink profile, so give them what they want to see and try to score links from as many different sites as possible.

    Top SEO experts tend to stay away from the forums (they’re too busy running their own firms!), there are still plenty of knowledgeable people who are more than happy to help you succeed in your SEO efforts. There is an absolute goldmine of free SEO tips and tricks available on SEO forums. If you’re paying attention, you’ll be able to recognize the experts from the novices. Once you do, pay extra attention to each of their posts, as they’ve been through it all and back.
     

    Top Directories submission

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

    Business With SEO

    The SEO strategy to be implemented here depends on the web content published on the website itself. The content must have creative, call to action and persuasive content with specific keywords used in a good density within the content which will help in getting good ranks in the SERPs of the search monsters like Google, Bing and Yahoo. With the help of best SEO practices, various business professionals can enhance the hits number on their website which may ultimately result in increasing sales leads to the business.

    SEO Tips For Video Content

    Video blogging and upload videos on regular basis then you need to choose a right hosting platform.
    A Search engine finds it very easy to search videos categorized in a right order.
    create sitemap for your videos.
    Your videos must remain active for a long period of time.
    Therefore, comment regularly and interact with the visitors.

    Root Domains, Subdomains, and Microsites

    Among the common questions in structuring a website (or restructuring one) are whether to
    host content on a new domain, when to use subfolders, and when to employ microsites.
    As search engines scour the Web, they identify four kinds of web structures on which to place
    metrics:

    Individual pages/URLs
    These are the most basic elements of the Web—filenames, much like those that have been
    found on computers for decades, which indicate unique documents. Search engines assign
    query-independent scores—most famously, Google’s PageRank—to URLs and judge them
    in their ranking algorithms. A typical URL might look something like http://
    www.yourdomain.com/page.html.

    Subfolders
    The folder structures that websites use can also inherit or be assigned metrics by search
    engines (though there’s very little information to suggest that they are used one way or
    another). Luckily, they are an easy structure to understand. In the URL http://
    www.yourdomain.com/blog/post17.html, “/blog/” is the subfolder and “post17.html” is the
    name of the file in that subfolder. Engines may identify common features of documents
    in a given subfolder and assign metrics to these such as how frequently the content
    changes, how important these documents are in general, or how unique the content is
    that exists in these subfolders.

    Subdomains/fully qualified domains (FQDs)/third-level domains
    In the URL http://blog.yourdomain.com/page.html, three kinds of domain levels are present.
    The top-level domain (also called the TLD or domain extension) is “.com”, the second-level
    domain is “yourdomain”, and the third-level domain is “blog”. The third-level domain is
    sometimes referred to as a subdomain. Common web nomenclature does not typically apply
    the word subdomain when referring to www, although technically, this too is a subdomain.
    A fully qualified domain is the combination of the elements required to identify the
    location of the server where the content can be found (in this example,
    “blog.yourdomain.com”).
    These structures can receive individual assignments of importance, trustworthiness, and
    value from the engines, independent of their second-level domains, particularly on hosted
    publishing platforms such as WordPress, Blogspot, Wetpaint, and so on.

    Complete root domains/host domain/pay-level domains (PLDs)/second-level domains
    The domain name you need to register and pay for, and the one you point DNS settings
    toward, is the second-level domain (though it is commonly improperly called the “toplevel”
    domain). In the URL http://www.yourdomain.com/page.html, “yourdomain.com” is the
    second-level domain. Other naming conventions may refer to this as the “root” or “paylevel”
    domain.

    8 Quick Tips for Using Business Social Media

        1.Create or enhance business internet listings.
        2.Research and reserve domain names.
        3.Create, improve, update, or revise a Web site for the business.
        4.Optimize Google services
        5.Create and Publish Successful blog.
        6.Create and use Facebook Fan Page.
        7.Follow industry and social media sites.
        8.Find and understand the analytical data that is available.
       

    Use social media marketing

    join the appropriate communities on Flickr and post high-quality photos there. If you’re a service-oriented business, use Quora and/or Yahoo Answers to position yourself as an expert in your industry. Any business should also be looking to make use of Twitter and Facebook, as social information and signals from these are being used as part of search engine rankings for Google and Bing. With any social media site you use, the first rule is don’t spam! Be an active

    Top Rated social media services

    • Facebook - a social networking site that allows you to have conversations with customers, post photos and videos, promote special offers, and more
    • Twitter - a 'micro-blogging' service that allows you to send and receive short messages from customers and potential customers
    • YouTube - an online video-hosting service that lets people share their videos.
    • Pinterest and Instagram have managed to captivate and transform users into raving fan-addicts.

     

     A social media presence is used as part of an overall online business marketing strategy, one element feeds the other. A Facebook fanpage will help grow your company blog and email lists, which in turn allows you to get your promotions out there. Social media allows you to create meaningful and personal relationships with clients and potential customers in ways that other channels don’t. By remaining active on social media channels, you become part of a community, which encourages people to take interest in your business, and hopefully convert this interest into sales.

    Social Media Services develops a work plan that is designed to increase Your customer traffic and product sales.

    Applied XML Programming for Microsoft .NET

    JasperReports 3.5 for Java Developers