Thursday, 17 July 2014

ckeditor text input insert into database full source code

 AAVIK KUMAR PRODUCTION






This tutorial will teach how "CkEditor text input" get stored in mysql or other database.Here is full code for CkEditor textarea input insert or stored  into database.


http://www.elated.com/articles/adding-wysiwyg-editor-to-your-site/

HERE IS THE SCRIPT :-
ckeditor_file_structure how to add ckeditor in website

1.button2 is submit button.
2.qpaper is table name.
3.uploadtext >>>>>$_POST[editor1]
4.<textarea class="ckeditor" cols="20" id="editor1" name="editor1" rows="10"></textarea>

THIS IS THE CODE FOR UPLOADING TEXTAREA FIELD of ckeditor
---------------------------------------------------------------------
    <script type="text/javascript" src="editor/ckeditor.js"></script>
    <script src="editor/_samples/sample.js" type="text/javascript"></script>
    <link href="editor/_samples/sample.css" rel="stylesheet" type="text/css" />
<?php
include("mysql.php");
if(isset($_POST["button2"]))
{
$sql="INSERT INTO qpaper (papername,subject,section,description,upload,uploadtext)
VALUES
('$_POST[textfield]','$_POST[select]','$_POST[select2]',
'$_POST[textarea]','$_POST[fileField]','$_POST[editor1]')";

if (!mysql_query($sql,$con))
  {
  die('Error: ' . mysql_error());
  }
  else
  {
echo "Question paper uploaded Successfully";
  }

}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Question Paper page</title>
</head>

<body>
<form id="form1" name="form1"  method="post" action="Qpaper.php">
<table width="958" height="372">
  <tr>
    <td width="69">Paper Name:</td>
    <td width="608"><input name="textfield" type="text" id="textfield" size="40" /></td>
  </tr>
  <tr>
    <td>Section:</td>
    <td><select name="select" id="select">
    </select></td>
  </tr>
  <tr>
    <td>Subject:</td>
    <td><select name="select2" id="select2">
    </select></td>
  </tr>
  <tr>
    <td height="53">Description</td>
    <td><textarea name="textarea" id="textarea" cols="45" rows="3"></textarea></td>
  </tr>
  <tr>
    <td>Upload</td>
    <td>
      <label for="fileField"></label>
      <input name="fileField" type="file" id="fileField" size="40" />
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <label for="textarea2"></label>
      <textarea class="ckeditor" cols="20" id="editor1" name="editor1" rows="10"></textarea>
</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <input type="submit" name="button2" id="button2" value="Upload Question Paper" />
    </td>
  </tr>
</table></form>
</body>
</html>


--------------------------------------------------------------------------------
 2nd example
--------------------------------------------------------------------------------
 Three files home.php,add.php,mysql.php

cktext table file for database ckeditor

home.php


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <title>Test Page </title >
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/ >
  <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
</head>
<body>

<form id="form1" name="form1" method="post" action="add.php">
<table width="958" height="372">
  <tr>
    <td width="69">Name:</td>
    <td width="608"><input name="textfield" type="text" id="textfield" size="40" /></td>
  </tr>


<tr>
    <td width="69">Email:</td>
    <td width="608"><input name="te" type="text" id="te" size="40" /></td>
  </tr>


  <tr>
    <td>Section:</td>
    <td><select name="select" id="select">
    </select></td>
  </tr>
  <tr>
    <td>Subject:</td>
    <td><select name="select2" id="select2">
    </select></td>
  </tr>
  <tr>
    <td height="53">Description</td>
    <td><textarea name="textarea" id="textarea" cols="45" rows="3"></textarea></td>
  </tr>
  <tr>
    <td>Upload</td>
    <td>
      <label for="fileField"></label>
      <input name="fileField" type="file" id="fileField" size="40" />
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <label for="textarea2"></label>
      <textarea class="ckeditor" cols="20" id="editor1" name="editor1" rows="10"></textarea>
</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <input type="submit" name="button2" id="button2" value="Upload" />
    </td>
  </tr>
</table>

</form>
</body>
</html>


add.php




<?php
include("mysql.php");

if(isset($_POST["button2"]))
{
$sql="INSERT INTO cktext (papername,subject,section,description,upload,uploadtext)
VALUES
('$_POST[textfield]','$_POST[select]','$_POST[select2]',
'$_POST[textarea]','$_POST[fileField]','$_POST[editor1]')";

if (!mysql_query($sql,$con))
  {
  die('Error: ' . mysql_error());
  }
  else
  {
echo "Question paper uploaded Successfully</br> YOUR TEXT IS";
}//else

 }//first if isset
?>


mysql.php

<?php
$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("ckeditor",$con);
?>


DOWNLOAD FULL SOURCE CODE

Monday, 30 June 2014

youtube embed code iframe not working in html for my website

SOLUTION of  youtube embed code not working in website
  
      Embed code of youtube comes with two options
1. iframe code
2.old embed code
     
      recently i started facing problem whenever i put youtube embed code it shows blank space only.

HERE IS THE SOLUTION


  • 1.FIRST CHECK THE "SRC=" that must starts with HTTP or in some case HTTPS

like eg.
<iframe width="420" height="315" src="//www.youtube.com/embed/Vcu_wT5uu0s" frameborder="0" allowfullscreen></iframe>

look at this iframe code in "src=" there is no HTTP

correct form of this code is:

<iframe width="420" height="315" src="http://www.youtube.com/embed/Vcu_wT5uu0s" frameborder="0" allowfullscreen></iframe>


  • 2. JUST REMOVE THE frameborder="0" allowfullscreen in iframe code

some browser might not support frameborder="0" allowfullscreen



so,correct manner of the code is:



<iframe width="420" height="315" src="http://www.youtube.com/embed/Vcu_wT5uu0s"></iframe>



or you can also try this

<embed width="420" height="345"
src="http://www.youtube.com/embed/Vcu_wT5uu0s"
type="application/x-shockwave-flash">



FULL HTML CODE WILL BE LIKE THIS

<!DOCTYPE html>
<html>
<body>

<iframe width="600" height="345"
src="http://www.youtube.com/embed/Vcu_wT5uu0s">
</iframe>

</body>
</html>
-----------------------------------------------
 last but not the least DON'T jump between html and text code while uploading it may corrupt your code.

YOU CAN CHANGE HEIGHT AND WIDTH AS PER YOUR REQUIREMENT


Sunday, 29 June 2014

css code example for menu design in easy step

Best navigation menu design with full code.

DOWNLOAD ALL THE CODE FROM http://cssmenumaker.com/blog/6-exceptional-menu-bar-navigation-designs

HTML
<div id='cssmenu'>
<ul>
   <li class='active'><a href='index.html'><span>Home</span></a></li>
   <li><a href='#'><span>Products</span></a></li>
   <li><a href='#'><span>About</span></a></li>
   <li class='last'><a href='#'><span>Contact</span></a></li>
</ul>
</div>

CSS
 @import url(http://fonts.googleapis.com/css?family=Capriola);
/* Let's import the lovely google font, please keep this line at the top of your stylesheet */
/* Menu CSS */#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  padding: 0;
  margin: 0;
  line-height: 1;
  font-family: 'Capriola', sans-serif;
}
#cssmenu:before,
#cssmenu:after,
#cssmenu > ul:before,
#cssmenu > ul:after {
  content: '';
  display: table;
}
#cssmenu:after,
#cssmenu > ul:after {
  clear: both;
}
#cssmenu {
  zoom: 1;
  height: 69px;
  background: url(bottom-bg.png) repeat-x center bottom;
  border-radius: 2px;
  width: auto;
}
#cssmenu ul {
  background: url(nav-bg.png) repeat-x 0px 4px;
  height: 69px;
}
#cssmenu ul li {
  float: left;
  list-style: none;
}
#cssmenu ul li a {
  display: block;
  height: 37px;
  padding: 22px 30px 0;
  margin: 4px 2px 0;
  border-radius: 2px 2px 0 0;
  text-decoration: none;
  font-size: 15px;
  color: white;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
  font-weight: 400;
  opacity: .9;
}
#cssmenu ul li:first-child a {
  margin: 4px 2px 0 0;
}
#cssmenu ul li a:hover,
#cssmenu ul li.active a {
  background: url(color.png) center bottom;
  display: block;
  height: 37px;
  margin-top: 0px;
  padding-top: 26px;
  color: #004f7c;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55);
  opacity: 1;
}


IMAGE Source

1. http://cssmenumaker.com/sites/default/files/menu/146/nav-bg.png
2. http://cssmenumaker.com/sites/default/files/menu/146/bottom-bg.png 
3. http://cssmenumaker.com/sites/default/files/menu/146/color.png
---------------------------------------------------------

TUTORIAL For CSS3 Mega Drop-Down Menu

code--for-a-responsive-navigation-menu 

Sunday, 22 June 2014

Aavik Kumar's Technical ,Business and Fictions Book

 

  visit http://www.coin1service.com/ for $ 1 DIGITAL SERVICES 

coin1service provide digital products in $1.

 


Data Structures and Algorithms Programs by Aavik Kumar

Kindle edition on amazon epub format

Amazon.in: Aavik Kumar: Kindle Store




DSA on GOOGLE BOOK WITH SAMPLE
Data Structures and Algorithms Programs - Books on Google Play






Confessions On Facebook 

By aavik kumar

Confessions On Facebook by aavik kumar (eBook) - Lulu

 


 

Tuesday, 17 June 2014

sound not working windows 7 with high definition audio driver no sound playing- ESS1969 audio drive

Hello,reader after I just removed XP and installed Windows 7.Then after sound is not playing in windows 7.
I have a sound card (ESS 1969 pci) plugged in my PC.
The problem is that the driver I had installed in XP is not supported by Windows 7.


Windows 7 install high definition audio driver  automatically.
right click on computer>> manage >>Device Manager ---->yellow question mark "multimedia audio controller"

 if it's showing yellow mark for "audio controller driver". The device shows with the yellow exclamation point in device manager means it's not working.

First step 

Disable  high definition audio driver

Second step 

Download   ess 1969 pci audiodrive wdm windows 7.
ess1969 pci  audio controller driver for windows 7

DOWNLOAD SOUND DRIVER FOR WINDOWS 7

http://www.driverscape.com/manufacturers/ess/sound-cards




Third step 

 Right click on computer>> manage >>Device Manager >>other device where yello mark appears for multimedia audio controller>>Right click update driver >>Browse my computer for driver software manually>> click on your download location. It will install automatically

Install it

on toolbar below click on sound icon  >> Volume control option choose "SPEAKERS"  In Windows 7, you can also go to the Start Menu, search for audio devices and click Manage audio devices.

MAKE DEFAULT SPEAKER
Last step

Restart your Pc.
bang on ...lolzz hope it's working for you.

Tips

know your sound card in my case--> ESS 1969pci audio driver (wdm)
for win 7
1.Disable  high definition audio driver
 2.Download your driver and install it



In Windows 7, you can also go to the Start Menu, search for audio devices and click Manage audio devices.
Playback, Recording, Device, Set, Windows
The window that appears will look the same in both operating systems.
When you click on the Playback tab, a window will pop up that shows you the devices available on your system. Each system is different, so what you see will reflect that. You can also see which devices are actually available (as you can see in this Windows 7 screenshot, some devices are not plugged in). Your current default device will be indicated by a green check mark.
Playback, Recording, Device, Set, Windows
You can click or tap on any available device, and then choose Set Default. If you're happy with your new choice, click or tap OK, and you're done.
Playback, Recording, Device, Set, Windows
You can set different default devices for communications and for recording, if you like. For example, you may want to use a headset for Skype and your speakers for everything else. To set this, first select the device you want to use, and then click or tap on the down-arrow on the Set Default button. You can then assign a device to communications or general playback.
Playback, Recording, Device, Set, Windows

Tuesday, 27 May 2014

Make Money Online easily fast reliable


Amazon Mechanical TurkMTurk is one of the best market place wherein you can find short easy online jobs without investment. It is operated by Amazon which is world’s best online product selling company. Like other freelancing sites you can select jobs of your choice and can finish it at your convenient time.


At iWriter, you'll be able to earn money by writing articles for other people. Anyone can register for free and start earning money immediately. Earn up to $15.00 for every article you write. You'll be able to select which topic(s) you would like to write about, select as many or as few articles to write each day, work at your own speed, and decide how much money you want to earn each day! 
----------------------------------------------

If you have talent charge your talent for $5,offer small services and share it with the world at http://www.fiverr.com/ start selling your work for $5
------------------------------------------

Best Websites To Sell Your Ebooks

 
1. Amazon's Kindle Direct Publishing : Signing in to this platform is easy. You can publish your ebook here and make it available to the thousands of readers. You can earn royalty of 70% for your ebooks.
2. Book Tango : If you feel that no one should get any brokerage in between, this is a best website for you. Book Tango gives you 100% royalty for your ebooks.
 
------------------------------------------------------------------------------------

make money by youtube video 

how to get google adsense account  for YOUTUBE 100% working


FOR FREELANCING GO TO

odesk.com
elance.com
------------------------------------------------
make money by article writing http://thenewcreator.blogspot.in/2014/04/how-to-make-money-online-without-investment-100-working.html

booktango,odesk,elance,MicroWorkers,youtube,fiverr this are fast and easy way to make money online.

you can use ptc :- neobux,clixsense but this generate money in long period very slow way to make money.





join affiliate and promote their product best affiliate netwoks are 

hostgator,amazon,flipkart affiliate



adult affiliate

www.clickcash.com (weekly payments)this one is my top favorite. They provide fool proof promoting tools, along with several different programs that make you money. Pay Per Signup: up to $200 per unique signup. Revenue sharing: 35% for each qualifying customer. Pay Per Free Signup: up to $55 per unique free signup. Pay Per Email Signup: $2 for each qualifying email sign up. Plus they also give you a $50 welcome bonus.

http://www.datinggold.com/   high payouts for affiliate .it’s all about the payouts. High rates can’t be achieved without offering targeted, diverse products that get the maximum value from your traffic. Check out our vast portfolio of brands and niche’s we serve to achieve the best ROI.
 -----------------------------------------------------------------

make money by youtube video 

how to get google adsense account  for YOUTUBE 100% working


  • Login to your “YouTube” Account by visiting https://www.youtube.com/
  • Visit http://youtube.com/account_monetization
  • Enable “Monetization” for your YouTube Account. 
  • ------------------------------------------------------------
Make Money Online easily by online survey

Online surveys make your suggestions and opinions considered of great importance!
  

What are the advantages of being an active member

 

① Your responsiveness decides whether we send you survey invitations

② The monthly lucky draw requires at least one login of the participator each month.

③ Each member reward by luck draw is based on the activeness.  Higher activeness brings more chances.

④ Members of high activeness have the opportunity to participate in all kinds of our free activities.




it's a Indian site  

-----------------------------------------------------------------
Make Money Online with link sharing  visit site AD.FLY

 1st way to make money online - Paid To Click Websites
2nd way to make money online - Aurora Websites
3rd way to make money online - Paid to Share Files
4th way to make money online - Money Making Forum
5th way to make money online - Money From AlertPay
6th way to make money online - Paid to Review
7th way to make money online - Paid To Write
8th way to make money online - Game Testing Job
9th way to make money online - Money From Your Website
10th way to make money online - Money With Backlinks
11th way to make money online - Paid to Share Videos
12th way to make money online - Get Paid with Shrinked URLs
13th way to make money online - Get Paid to stay online


Monday, 26 May 2014

Mozilla Firefox into an undetectable keylogger

STEPS FOR Mozilla Firefox into an undetectable keylogger


HACK FACEBOOK TWITTER ANY SITE BY MAKING KEYLOGGER IN YOUR COMPUTER
 

This keylogger will be used to store all the usernames and passwords that will be entered by the user. So that you can hack or audit for ethical reasons your friends accounts.
 
1) Close Firefox

2) Navigate to:

Windows - C:/Program Files/Mozilla Firefox/Components
Mac - Applications > Right click Firefox > Show Package Contents > Contents/MacOS/Components.




3) Find The Script Named  "
nsLoginManagerPrompter.js"

4) Now you just need to download the following file unzip it and simply overwrite the existing nsLoginManagerPrompter.js.

From now on, when someone logs onto any site using your Firefox, their username and password will save automatically, without prompt!

To retrieve the account information, make sure Firefox is opened, go to Tools > Options. > Security Tab > click on saved passwords, then click on show passwords, and press yes...

 





2nd method


mozilla firefox keylogger addon
How to use it?
1. While on Firefox, please press Alt+L.
2. Initially, you get a blue mini-popup screen named "Definitions". Please make sure you fill-in all the fields. The add-on can't perform properly without!
3. Now you may open the log file by pressing Alt + L. The 'Definitions' popup screen also opens up, in order to let you change your definitions from time to time.

Notice!!!! When you need to uninstall this add-on, please uninstall the add-on 'Play Music'.

Friday, 23 May 2014

google searching tricks like site:edu blog for seo

 check rank and backlink checker http://www.opensiteexplorer.org/thenewcreator.blogspot.in
http://www.alexa.com/siteinfo/thenewcreator.blogspot.in

google search tricks for seo

site:edu inurl:blog "post a comment"

inurl:forum.edu

inurl:blog.edu

checking your compatitor's link --> linkdomain . usa.com site: .edu

-link:url Shows other pages with links to that url.
- related:url same as "what's related" on serps.
- site:domain restricts search results to the given domain.
- allinurl: shows only pages with all terms in the url.
- inurl: like allinurl, but only for the next query word.
- allintitle: shows only results with terms in title.
- intitle: similar to allintitle, but only for the next word. "intitle:seoforgoogle google" finds only
pages with seoforgoogle in the title, and google anywhere on the page.
- cache:url will show the Google version of the passed url.
- info:url will show a page containing links to related searches, backlinks, and pages
containing the url. This is the same as typing the url into the search box.


- spell: will spell check your query and search for it.
- stocks: will lookup the search query in a stock index.
- filetype: will restrict searches to that filetype. "-filetype:pdf" to remove Adobe PDF files.
- daterange: is supported in Julian date format only. 2452384 is an example of a Julian
date.
- maps: If you enter a street address, a link to Yahoo Maps and to MapBlast will be
presented.
- phone: enter anything that looks like a phone number to have a name and address
displayed. Same is true for something that looks like an address (include a name and zip code)
- site:www.somesite.net "+www.somesite.+net" - (tells you how many pages of your site are
indexed by google)
- allintext: searches only within text of pages, but not in the links or page title
- allinlinks: searches only within links, not text or title



Search Operators

The following table lists the search operators that work with each Google search service. Click on an operator to jump to its description — or, to read about all of the operators, simply scroll down and read all of this page.
Search Service Search Operators
Web Search allinanchor:, allintext:, allintitle:, allinurl:, cache:, define:, filetype:, id:, inanchor:, info:, intext:, intitle:, inurl:, link:, related:, site:
Image Search allintitle:, allinurl:, filetype:, inurl:, intitle:, site:
Groups allintext:, allintitle:, author:, group:, insubject:, intext:, intitle:
Directory allintext:, allintitle:, allinurl:, ext:, filetype:, intext:, intitle:, inurl:
News allintext:, allintitle:, allinurl:, intext:, intitle:, inurl:, location:, source:
Product Search allintext:, allintitle:

Wednesday, 14 May 2014

top black hat seo techniques to make your website on top

Top Black Hat SEO Techniques


 Hidden Content

Top of our list of black hat SEO techniques is hidden content. Hidden content comes in many guises but the basic principle is that within the code for the site there will be content stuffed with keywords, this content will not be visible to the end user of the site.

One way of doing this is by using comment tags.

Comment tags look like this;

<!– Comment Tag –>

The real purpose of comment tags is for developers to add in useful reminders within their code explaining what that piece of code does.

Here’s an example of the comment tag being used correctly,

<!– Start of the Main Content –>

Here’s an example of a comment tag being used incorrectly in a bid to promote a hypothetical page targeting search engine optimisation,

<!-- best seo tips 2014, google search tricks and secrets, google search tricks for seo, seo tips, seo tips and tricks,   -->

Another popular way of hiding content is the use of the <noscript> tag. The <noscript> tag should be used to inform a user that a script is being used but their browser either doesn’t support the script

language used or they have that function turned off.

Here’s an example of the <noscript> tag being used correctly,

&ltscript type=”text/javascript”>

<!– document.write(“Hello World!”) //–>

</script><br />

<noscript>Your browser does not support JavaScript!</noscript>

Here’s an example of the <noscript> tag being used as a black hat SEO technique again in a bid to promote a hypothetical page but this time targeting car hire,

<noscript>

Imaginary Car Hire Firm do Car Hire which is very affordable so if you want to hire a car call our car hire firm because we are the best car hire firm in the world

</noscript>

Other HMTL tags misused in similar ways include the <noframes> tag and hidden inputs in forms.

Content can also be hidden from the end user by using CSS, excessively small text and coloured text on the same coloured background.

All of these techniques are frowned upon by search engines and if detected can mean your website will be penalised or even banned. To the untrained eye it can be very difficult to spot the use of some of these techniques which is why we offer a free website MOT test at PushON.

top black hat seo techniques
 Meta Keyword Stuffing
There are two Meta tags that are generally used to inform search engines of the content on the page. They reside between the <head> tag of a page and when used incorrectly they can alert a search engine that a site is using spam techniques in an attempt to improve its ranking.

Meta Description

The meta description should be used to describe the content of your page honestly and concisely and be 1 or 2 sentences, 3 at most.

Here’s an example of the meta description being used in the correct manner,

<meta name=”description” content=”PushON are an Online Marketing agency providing a full range of digital marketing services throughout Greater Manchester and the North West UK. If you need Search Engine marketing (SEM), Search Engine Optimisation (SEO) or Pay per Click (PPC), we can help you. Contact us now.” />

Here’s an example of the meta description tag being used incorrectly for a page promoting a restaurant called “MadeUp”,

<meta name=”description” content=”MadeUp restaurant website is the best MadeUp restaurant website, our restaurant is better than any restaurant,great restaurant,best food restaurant,visit our restaurant” />

 Meta Keywords
Meta Keywords should be a short list of words that inform of the main focus of the page. Meta keywords have been so misused in the past that there are few if any search engines that take any heed of them.

Here’s an example of the meta keywords being used in the correct manner,

<meta name=”Keywords” content=”Online marketing, digital marketing, search marketing, search engine marketing, e-mail marketing, SEO” />

Here’s an example of the meta keywords tag being used incorrectly for a page promoting a restaurant called “MadeUp”,

<meta name=”keywords” content=”Restaurant,restaurants,food,feed,take away food,fast food,junk food,eat,eating out,dinner,dining,meal,eating,MadeUp,steak and chips,chicken and chips,pie and chips,pudding,desert,big restaurant,small restaurant,best restaurant,great restaurant, exclusive restaurant,cocktails,wine,drink,pizza,sandwhiches”>








Black hat is the unethical seo technique. Top 5 black hat techniques is given blow.


1. Keyword stuffing
2. Coloring text the same as the background color
3. Positioning text for away from the center of the webpage
4. Putting text behind a picture so that it cannot be seen
5. Doorway or Gateway Pages

related post
8-golden-seo-tips-that-always-work
seo-tools
how-to-choose-most-used-keywords


To get traffic for your website
  • How to create, customize blogs and driving traffic to your blogs
  • On-page optimization like keyword research, improving page loading time etc…
  • Off-page optimization like advanced link building,social bookmarking,web2 submission.
  • Ranking top on Google, Yahoo, Bing with advanced SEO tactics.
  • Building social media like Facebook pages, driving traffic via FB pages, Reddit, Stumpleupon ,dmoz digg
  • Making money from blogs, Facebook pages and Youtube.
  • Making money with sponsored posts and affiliate marketing.
  • Building a team and community
  • Making money with niche blogs in very short time
  • Improving your blog/website in all aspects like Alexa rank, Google page rank, traffic and most importantly REVENUE.
 sponsored posts 

affiliate marketing
publisher (also known as 'the affiliate') is advertise for company.

Top 5 Black Hat SEO Techniques

1. Hidden Content
Top of our list of black hat SEO techniques is hidden content. Hidden content comes in many guises but the basic principle is that within the code for the site there will be content stuffed with keywords, this content will not be visible to the end user of the site.
One way of doing this is by using comment tags.
Comment tags look like this;
<!– Comment Tag –>
The real purpose of comment tags is for developers to add in useful reminders within their code explaining what that piece of code does.
Here’s an example of the comment tag being used correctly,
<!– Start of the Main Content –>
Here’s an example of a comment tag being used incorrectly in a bid to promote a hypothetical page targeting search engine optimisation,
<!—Search engine optimisation, SEO, professional search engine optimisation company, spamming search engines –->
Another popular way of hiding content is the use of the <noscript> tag. The <noscript> tag should be used to inform a user that a script is being used but their browser either doesn’t support the script
language used or they have that function turned off.
Here’s an example of the <noscript> tag being used correctly,
&ltscript type=”text/javascript”>
<!– document.write(“Hello World!”) //–>
</script><br />
<noscript>Your browser does not support JavaScript!</noscript>
Here’s an example of the <noscript> tag being used as a black hat SEO technique again in a bid to promote a hypothetical page but this time targeting car hire,
<noscript>
Imaginary Car Hire Firm do Car Hire which is very affordable so if you want to hire a car call our car hire firm because we are the best car hire firm in the world
</noscript>
Other HMTL tags misused in similar ways include the <noframes> tag and hidden inputs in forms.
Content can also be hidden from the end user by using CSS, excessively small text and coloured text on the same coloured background.
All of these techniques are frowned upon by search engines and if detected can mean your website will be penalised or even banned. To the untrained eye it can be very difficult to spot the use of some of these techniques which is why we offer a free website MOT test at PushON.
2. Meta Keyword Stuffing
There are two Meta tags that are generally used to inform search engines of the content on the page. They reside between the <head> tag of a page and when used incorrectly they can alert a search engine that a site is using spam techniques in an attempt to improve its ranking.
Meta Description
The meta description should be used to describe the content of your page honestly and concisely and be 1 or 2 sentences, 3 at most.
Here’s an example of the meta description being used in the correct manner,
<meta name=”description” content=”PushON are an Online Marketing agency providing a full range of digital marketing services throughout Greater Manchester and the North West UK. If you need Search Engine marketing (SEM), Search Engine Optimisation (SEO) or Pay per Click (PPC), we can help you. Contact us now.” />
Here’s an example of the meta description tag being used incorrectly for a page promoting a restaurant called “MadeUp”,
<meta name=”description” content=”MadeUp restaurant website is the best MadeUp restaurant website, our restaurant is better than any restaurant,great restaurant,best food restaurant,visit our restaurant” />
3. Meta Keywords
Meta Keywords should be a short list of words that inform of the main focus of the page. Meta keywords have been so misused in the past that there are few if any search engines that take any heed of them.
Here’s an example of the meta keywords being used in the correct manner,
<meta name=”Keywords” content=”Online marketing, digital marketing, search marketing, search engine marketing, e-mail marketing, SEO” />
Here’s an example of the meta keywords tag being used incorrectly for a page promoting a restaurant called “MadeUp”,
<meta name=”keywords” content=”Restaurant,restaurants,food,feed,take away food,fast food,junk food,eat,eating out,dinner,dining,meal,eating,MadeUp,steak and chips,chicken and chips,pie and chips,pudding,desert,big restaurant,small restaurant,best restaurant,great restaurant, exclusive restaurant,cocktails,wine,drink,pizza,sandwhiches”>
4. Doorway or Gateway Pages
Doorway or Gateway pages are pages designed for search engines and not for the end user. They are basically fake pages that are stuffed with content and highly optimised for 1 or 2 keywords that link to a target or landing page. The end user never sees these pages because they are automatically redirected to the target page.
Off-the-shelf SEO software often encourages the use of gateway pages as do SEO firms that don’t know what they’re talking about. Search engine spiders are being enhanced continually to detect these pages and will get ignored or worse still, flag your site up as being spam and ban you all together.
5. Link Farming
In the real world if you were to build your house in a bad neighbour hood then your house would be affected by its surroundings. The same is true of the virtual world. Link farms or free for all (FFA) pages have no other purposes than to list links of unrelated websites. They won’t provide you with any traffic and you run the risk of having your site banned for participating. Don’t participate in link farming.
- See more at: http://www.pushon.co.uk/articles/top-5-white-hat-and-black-hat-search-optimisation-techniques/#sthash.gIfVKqsW.dpuf

Top 5 Black Hat SEO Techniques

1. Hidden Content
Top of our list of black hat SEO techniques is hidden content. Hidden content comes in many guises but the basic principle is that within the code for the site there will be content stuffed with keywords, this content will not be visible to the end user of the site.
One way of doing this is by using comment tags.
Comment tags look like this;
<!– Comment Tag –>
The real purpose of comment tags is for developers to add in useful reminders within their code explaining what that piece of code does.
Here’s an example of the comment tag being used correctly,
<!– Start of the Main Content –>
Here’s an example of a comment tag being used incorrectly in a bid to promote a hypothetical page targeting search engine optimisation,
<!—Search engine optimisation, SEO, professional search engine optimisation company, spamming search engines –->
Another popular way of hiding content is the use of the <noscript> tag. The <noscript> tag should be used to inform a user that a script is being used but their browser either doesn’t support the script
language used or they have that function turned off.
Here’s an example of the <noscript> tag being used correctly,
&ltscript type=”text/javascript”>
<!– document.write(“Hello World!”) //–>
</script><br />
<noscript>Your browser does not support JavaScript!</noscript>
Here’s an example of the <noscript> tag being used as a black hat SEO technique again in a bid to promote a hypothetical page but this time targeting car hire,
<noscript>
Imaginary Car Hire Firm do Car Hire which is very affordable so if you want to hire a car call our car hire firm because we are the best car hire firm in the world
</noscript>
Other HMTL tags misused in similar ways include the <noframes> tag and hidden inputs in forms.
Content can also be hidden from the end user by using CSS, excessively small text and coloured text on the same coloured background.
All of these techniques are frowned upon by search engines and if detected can mean your website will be penalised or even banned. To the untrained eye it can be very difficult to spot the use of some of these techniques which is why we offer a free website MOT test at PushON.
2. Meta Keyword Stuffing
There are two Meta tags that are generally used to inform search engines of the content on the page. They reside between the <head> tag of a page and when used incorrectly they can alert a search engine that a site is using spam techniques in an attempt to improve its ranking.
Meta Description
The meta description should be used to describe the content of your page honestly and concisely and be 1 or 2 sentences, 3 at most.
Here’s an example of the meta description being used in the correct manner,
<meta name=”description” content=”PushON are an Online Marketing agency providing a full range of digital marketing services throughout Greater Manchester and the North West UK. If you need Search Engine marketing (SEM), Search Engine Optimisation (SEO) or Pay per Click (PPC), we can help you. Contact us now.” />
Here’s an example of the meta description tag being used incorrectly for a page promoting a restaurant called “MadeUp”,
<meta name=”description” content=”MadeUp restaurant website is the best MadeUp restaurant website, our restaurant is better than any restaurant,great restaurant,best food restaurant,visit our restaurant” />
3. Meta Keywords
Meta Keywords should be a short list of words that inform of the main focus of the page. Meta keywords have been so misused in the past that there are few if any search engines that take any heed of them.
Here’s an example of the meta keywords being used in the correct manner,
<meta name=”Keywords” content=”Online marketing, digital marketing, search marketing, search engine marketing, e-mail marketing, SEO” />
Here’s an example of the meta keywords tag being used incorrectly for a page promoting a restaurant called “MadeUp”,
<meta name=”keywords” content=”Restaurant,restaurants,food,feed,take away food,fast food,junk food,eat,eating out,dinner,dining,meal,eating,MadeUp,steak and chips,chicken and chips,pie and chips,pudding,desert,big restaurant,small restaurant,best restaurant,great restaurant, exclusive restaurant,cocktails,wine,drink,pizza,sandwhiches”>
4. Doorway or Gateway Pages
Doorway or Gateway pages are pages designed for search engines and not for the end user. They are basically fake pages that are stuffed with content and highly optimised for 1 or 2 keywords that link to a target or landing page. The end user never sees these pages because they are automatically redirected to the target page.
Off-the-shelf SEO software often encourages the use of gateway pages as do SEO firms that don’t know what they’re talking about. Search engine spiders are being enhanced continually to detect these pages and will get ignored or worse still, flag your site up as being spam and ban you all together.
5. Link Farming
In the real world if you were to build your house in a bad neighbour hood then your house would be affected by its surroundings. The same is true of the virtual world. Link farms or free for all (FFA) pages have no other purposes than to list links of unrelated websites. They won’t provide you with any traffic and you run the risk of having your site banned for participating. Don’t participate in link farming.
- See more at: http://www.pushon.co.uk/articles/top-5-white-hat-and-black-hat-search-optimisation-techniques/#sthash.gIfVKqsW.dpuf

Friday, 9 May 2014

automatically post blog on twitter and facebook

auto post blog post to facebook and twitter

1. Build your blog or website feeds.

  • Login to Feedburner.
  • Add your website or Bog's web address to it
  • Identify your blog's feed and you are done.

 2. Add Blog feed to Twitter

  • Login To Feedburner again and select your feedburner feed for your blog.
  • Now click on Publicize Tab.
  • Click on Socialize on Left sidebar.
  • Socialize Settings will come up and Click on Add a Twitter account button.
  • Twitter window will open, login to it using Twitter username and password.
  • Follow the steps and verify your twitter account with Feedbuner.
  • Now, when your twitter account is added to Feedburner, your blog's new updates are automatically posted on Twitter on behalf of  you.

3.  Add Blog feed for  Posting Automatically on Facebook Page.

 https://apps.facebook.com/rssgraffiti/

  • Login to Facebook.
  • Search for "RSS Graffiti" App on Facebook and click on Go to App button.
  • Click on Add new Publishing plan and name it.
  • RSS Graffiti Setting will open.
  • Now, click on Add a New Source button.
  • Now in Feed setup, add Feed Title (your blog name) and Feedburner feed URL.
  • Now click on save changes and turn on the publishing plan.
  • In Target side, Choose your Facebook Page as Target and  Publish on behalf of .
 OTHER APPLICATION
2)Facebook Notes
Facebook’s in-house blogging application. Works reliably with no branding/marketing but does display the posts in their entirety. Generates an RSS feed which people can subscribe to outside of Facebook. No stats on subscribers but interactions with Notes within Facebook is reported via Facebook Insights. Probably the biggest downside is that you can only import one RSS feed into Facebook notes.
  • Log in as your page (Account > Use Facebook as page)
  • Go to www.facebook.com/notes.php
  • Click ‘Edit import settings’
  • Type in full URL of blog RSS feed
3) Networked Blogs
One of the applications we currently use on the LSE Careers Facebook page.  Getting it set up is a fairly complex process but once this is done it seems to work really well. Allows people to subscribe both within Facebook and externally and provides stats on subscribers. Creates a ‘Blog’ tab on your page but doesn’t display full posts – all links take users to your blog itself.  Option to post blog to Twitter too. Facebook posts contain some branding.
Whilst all of these applications display one image included in your blog post, Networked Blogs can display a small screenshot of your blog with any posts that don’t contain images which can ensure your blog posts always look a bit more appealing and eye-catching.
  • Visit apps.facebook.com/blognetworks/
  • Click ‘Register a blog’ and follow the on screen instructions carefully
  • It helps if you are the author/owner of the blog (otherwise you have to request permission the register it)
  • Repeat for each blog you want to post on Facebook


4. Blog Updates on your Facebook status.

  • Again Go to RSS Graffiti app on Facebook.
  • Click on Add new publishing plan and name your new plan.
  • Follow the above steps except for target side.
  • In Target side, Choose Facebook User as Target and as Publish on Behalf of.
  • Click on save and turn on the publishing.

 auto blog post wordpress plugin

Automatically re-publishes blogposts to Facebook, Twitter, Google+, Pinterest, LinkedIn, Blogger, Tumblr, Delicious, Plurk, etc profiles and/or pages for WORDPRES.This plugin automatically publishes posts from your blog to your Social Network accounts such as Facebook, Twitter, Google+(Google Plus), Blogger, Tumblr, Flickr, LiveJournal, Flipboard, FriendFeed, DreamWidth, Delicious, Diigo, Instapaper, Stumbleupon, LinkedIn, Pinterest, Plurk, VKontakte(VK.com), YouTube, App.net, Scoop.It, WordPress, etc.

Thursday, 1 May 2014

installing redis chat application

First step

Redis, it is an open source advanced key-value database storage system, works like NoSQL database. Redis operations can be executed on the server side and reduce the client's workload. It is used for caches to speed up web applications

For this tutorial, you will need :

Basic idea

In this configuration, imagine an existing chat system done with only PHP, the PHP got few ajax requests :
  • start chat
  • stop chat
  • publish message
The start chat will send previous message (if there is), and start a long polling request to server side PHP, everytime there is a new message, the long polling recieve answer and restart. The stop chat will of course stop this long polling. And publish message will send a message to PHP system (which will cause start system to get the message and start again).
This is how is done many chat system using only PHP. But this system is not the best, the long polling use too much server.
Node.JS with socket.io provide (not in all case) a webSocket interface to work with, wich is extremely good for server performance.
The idea behind this tutorial is to show a basic example using redis to remove the long polling part from PHP and transfert it to Node.JS. In this case you will only modify few request to get it working, and keep the already-working PHP system.

Using Redis

Redis got a PubSub functionality (publish/subscribe), we will use it in this way :
The long polling part is now on Node.JS side (wich is now not long polling but websocket), PHP keep everything else (user login, start chat, stop chat, send message), the start and stop will not do long polling, just send event to Node.JS.
So PHP will only publish event to Redis, while Node.JS will subscribe to channel to perform actions related.

Basic usage in PHP

For this example, i show the most basic example possible, do what you want with to improve you PHP system with Node.JS (i will not show a fully working example of chat system).
The purpose is to send an event from PHP to redis, and catch this event in Node.JS.
First of all, you need on PHP side Predis. Copy thoose files on your PHP server side, no need to configure anything else. Basically it’s classes for using redis instance. We use here the basic redis configuration on localhost and port 6379 :

REDIS OPEN SOURCE CHAT

Download

Redis uses a standard practice for its versioning: major.minor.patchlevel. An even minor marks a stable release, like 1.2, 2.0, 2.2, 2.4, 2.6, 2.8.Odd minors are used for unstable releases, for example 2.9.x releases are the unstable versions of what will be Redis 3.0 once stable.



2.8.9 Stable Redis 2.8 provides significant improvements like: Replication partial resynchronization, IPv6 support, config rewriting, keyspace changes notifications via Pub/Sub, and more. See the Release Notes for a full list of changes in this release. Download

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
//First we load the Predis autoloader
require(dirname(__FILE__)."/Predis/Autoloader.php");
//Register all classes
Predis\Autoloader::register();
//Now we can start creating a redis client to publish event
$redis = new Predis\Client(array(
    "scheme" => "tcp",
    "host" => "127.0.0.1",
    "port" => 6379
));
//Now we got redis client connected, we can publish event (send event)
$redis->publish("the_channel", "this is a test");
?>
With this extremely easy and basic example, everytime somebody will access this page, it will publish and event on channel "the_channel" with content "this is a test". Of course, you can send JSON, XML, what you want, wich can be pretty helpfull for Node.JS (especially JSON)
All we do now, is to put a Node.JS running in background, waiting for Redis to catch this event.
Before doing that, be sure you get the redis client : "npm install redis" which will be used here by Node.JS to connect to redis server.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
var app         = require("http").createServer(handler),
    fs      = require("fs"),
    redis   = require("redis");
app.listen(7070);
//You can specify port and host : redis.createClient(PORT, HOST, options)
var clientSusbcribe = redis.createClient();
clientSusbcribe.subscribe("the_channel");
clientSusbcribe.on("message", function(channel, message){
    console.log("client channel recieve from channel : %s, the message : %s", channel, message);
});
//On client incomming, we send back index.html
function handler(req, res){
    fs.readFile(__dirname + "/index.html", function(err, data){
        if(err){
            res.writeHead(500);
            return res.end("Error loading index.html");
        }else{
            res.writeHead(200);
            res.end(data);
        }
    });
}
That’s almost done, nothing more to do. Feel free to combine with redis tuto for session sharing, and you should now have a fully working link between PHP and Node.JS…
Here is a small screenshot of this small code :
redis PubSub using PHP and Node.JS
Be carefull, don’t forget Node.JS only listen "the_channel" to perform this, if you change channel on PHP you should do the same on Node.JS. Don’t forget also you can have many channel for many event type, which can be pretty helpfull. The clientSubscribe can handle many channel if needed (better to keep only one client for all channel)

For Windows

Download unofficial version click here, go to bin directory then releases and extract redisbin.zip run redis-server.exe file

Download php_redis.dll copy into PHP extension folder.

Add Extension on php.ini

extension php_redis-2.1.3-5.3-ts.dll

Wednesday, 30 April 2014

how to create gif animation for tutorials online

GIFMaker.me allows you to create animated gif images online freely and easily, no registration required.

how to create gif animation from picture webcam youtube video.


how to create gif animation for tutorials online :-


LICEcap can capture an area of your desktop and save it directly to .GIF (for viewing in web browsers, etc) or .LCF (see below).

 
LICEcap is an intuitive but flexible application (for Windows and now OSX), that is designed to be lightweight and function with high performance. visit here



how to make an animated gif online from video

Create custom animated gifs online from your own videos, from Youtube videos, or from video websites.

https://imgflip.com/gifgenerator 

 

Convert YouTube videos to animated GIFs for free!


The premier online gif generator, gif maker online.
http://www.yt2gif.com/

http://gifsoup.com/