Here in wordpress tutorial, we explained, how to do persistent database connection in wordpress. Persistent connections are links that do not close when the execution of your script ends.
What is persistent database connection?
Persistent connections are links that do not close when the execution of your script ends. When a persistent connection is requested, PHP checks if there’s already an identical persistent connection (that remained open from earlier) – and if it exists, it uses it. If it does not exist, it creates the link. An ‘identical’ connection is a connection that was opened to the same host, with the same username and the same password (where applicable).
how to do persistent database connection in wordpress
If you want to use the persistent database connection then you should follow my steps:
how to do persistent database connection in wordpress
First Open the wp-db.php file from wp-includes folder. In that file find following words:
// @mysql_connect( $dbhost, $dbuser, $dbpassword, true );
//Change that to
@mysql_pconnect( $dbhost, $dbuser, $dbpassword, true );
comment the mysql_connect line. This line you will find two times in that file. You need to change the line both the times. Then upload this file to your wordpress installation.
Persistent database connection will open only one connection and for every query that will check for connection is present or not. If connection is already present then your query will execute using that persistent database connection.
There are couple of issues with persistent database connection, When you are using the persistent connection you should keep following things in mind.
Imp: There are a couple of additional caveats to keep in mind when using persistent connections. One is that when using table locking on a persistent connection, if the script for whatever reason cannot release the lock, then subsequent scripts using the same connection will block indefinitely and may require that you either restart the httpd server or the database server. Another is that when using transactions, a transaction block will also carry over to the next script which uses that connection if script execution ends before the transaction block does. In either case, you can use register_shutdown_function() to register a simple cleanup function to unlock your tables or roll back your transactions. Better yet, avoid the problem entirely by not using persistent connections in scripts which use table locks or transactions (you can still use them elsewhere).
Here in this article we given history of mozilla firefox. We tested our site with every firefox version and given the sanup shots. The The Mozilla Firefox project was created by Dave Hyatt and Blake Ross as an experimental branch of the Mozilla project.
Firefox 1.0 was released on November 9, 2004. Firefox 1.5 was released on November 29, 2005. Version 2.0 was released on October 24, 2006 and Firefox 3.0 was released on June 17, 2008. Version 3.5 was released on June 30, 2009 and Version 3.6 was released on January 21, 2010.
Hyatt, Hewitt and Ross’s browser was created to combat the perceived software bloat of the Mozilla Suite (codenamed, internally referred to, and continued by the community as SeaMonkey), which integrated features such as IRC, mail and news, and WYSIWYG HTML editing into one software suite.
Firefox retains the cross-platform nature of the original Mozilla browser, using the XUL user interface markup language. The use of XUL makes it possible to extend the browser’s capabilities through the use of extensions and themes. The development and installation processes of these add-ons raised security concerns, and with the release of Firefox 0.9, the Mozilla Foundation opened a Mozilla Update website containing “approved” themes and extensions. The use of XUL sets Firefox apart from other browsers, including other projects based on Mozilla’s Gecko layout engine and most other browsers, which use interfaces native to their respective platforms (Galeon and Epiphany use GTK+; K-Meleon uses MFC; and Camino uses Cocoa). Many of these projects were started before Firefox, and probably served as inspiration.
Although the Mozilla Foundation had intended to make the Mozilla Suite obsolete and to replace it with Firefox, the Foundation continued to maintain the suite until April 12, 2006[1] because it had many corporate users, as well as being bundled with other software. The Mozilla community (as opposed to the Foundation) continues to release new versions of the suite using the product name SeaMonkey to avoid any possible confusion with the original Mozilla Suite.
On February 5, 2004 the business and IT consulting company AMS categorized Mozilla Firefox (then Firebird) as a “Tier 1” (meaning “Best of Breed”) open source product.[2] This meant that AMS considered Firebird (as it was called at the time) to be virtually risk-free and technically strong.
history of mozilla firefox
Phoenix 0.1, the first official release.
history of mozilla firefox
Firefox 1.0, the first release targeted for general public.
The project which became Firefox started as an experimental branch of the Mozilla Suite called m/b (or mozilla/browser). When sufficiently developed, binaries for public testing appeared in September 2002 under the name Phoenix.
The Phoenix name was retained until April 14, 2003 when it was changed (after a short stint as Phoenix Browser) due to trademark issues with the BIOS manufacturer, Phoenix Technologies (who produce a BIOS-based browser called Phoenix FirstWare Connect). The new name, Firebird, was met with mixed reactions, particularly as the Firebird database server already carried the name. In late April, following a name change to Firebird browser (which lasted only a few hours), the Mozilla Foundation issued an official statement which stated that the browser should be referred to as Mozilla Firebird (as opposed to just Firebird). Continuing pressure from the Firebird community forced another change, and on February 9, 2004 the project was renamed Mozilla Firefox (or Firefox for short).
The name, “Firefox”, was chosen for its similarity to “Firebird”, but also for its uniqueness in the computing industry. To ensure that no further name changes would be necessary, the Mozilla Foundation began the process of registering Firefox[3] as a trademark with the United States Patent and Trademark Office in December 2003. This trademark process led to a delay of several months in the release of Firefox 0.8 when the foundation discovered that in the UK Firefox had already been registered[4][dead link] as a trademark for software by The Charlton Company.[5] The situation was resolved when the foundation was given a license to use Charlton’s European trademark.
Early Firebird and Phoenix releases of Firefox were considered to have had reasonable visual designs, but were not up to the same standard as many professionally released software packages. In October 2003, professional interface designer, Steven Garrity, wrote an article covering everything he considered to be wrong with Mozilla’s visual identity.[6] The page received a great deal of attention. The majority of the criticisms levelled at the article were along the lines of “where’s the patch?”
Shortly afterwards, Garrity was invited by the Mozilla Foundation to head up the new visual identity team. The release of Firefox 0.8 in February 2004 saw the introduction of the new branding efforts, including new icons designed by silverorange, a group of web developers with a long-standing relationship with Mozilla, with final renderings by Jon Hicks, who had previously worked on Camino.[8][9] The logo was revised and updated later, fixing some flaws found when the logo was enlarged.[10]
The animal shown in the logo is a stylized fox, although “firefox” is considered to be a common name for the Red Panda. The panda, according to Hicks, “didn’t really conjure up the right imagery”, besides not being widely known.[9] The logo was chosen for the purpose of making an impression, while not shouting out with overdone artwork. The logo had to stand out in the user’s mind, be easy for others to remember and stand out while not causing too much distraction when among other icons. It was expected to be the final logo for the product.
The Firefox icon is a trademark used to designate the official Mozilla build of the Firefox software, and builds of official distribution partners.[11] For this reason, Debian and other software distributors who distribute patched or modified versions of Firefox do not use the icon. The crash reporting service was previously closed-source, but switched with version 3, going from a program called Talkback, to the open source BreakPad & Socorro.
history of mozilla firefox
Various logos used during the development of Firefox.
history of mozilla firefox
Blue globe artwork is distributed with Firefox source code, and is explicitly not protected as a trademark.
Early Firefox releases featured a preferences panel that described cookies by stating “Cookies are delicious delicacies”.
The phrase was representative of the programmers’ quirky sense of humor and a general reflection of the free software movement’s unconventional approach. The phrase became something of a cult legend and was even featured in an O’Reilly computer book.
The original text was inserted by Blake Ross, one of the lead developers of Firefox, because, he says, “describing something so complicated in such a small space was quite frankly the last thing I wanted to worry about after rewriting the cookie manager”.
However, in reflection of the growing acceptance and use of the Firefox browser in the Internet mainstream, the text was later changed. It was considered[12] a bug and was “fixed” by Mike Connor to read “Cookies are pieces of information stored by web pages on your computer. They are used to remember login information and other data”. The revision was regarded as more likely to be helpful for the less technically oriented computer users who were now using Firefox—representing Mozilla’s desire to appeal to mainstream users.
After this happened, the following remarks were made by Blake Ross over IRC to Mike Connor:
congratulations mconnor
you just destroyed a legend!
The text became a popular in-joke and on August 2004, the Delicious Delicacies extension, which is no longer maintained and updated, was released by Jesse Ruderman. This extension restored the old description of cookies, available in several languages.
As of Firefox 2.0, cookies no longer have a description in the preferences window.
On June 23, 2005, the Mozilla Foundation announced that Firefox 1.1 (which became Firefox 1.5) and other new Mozilla products will no longer support Mac OS X v10.1. This is intended to improve the quality of Firefox releases on Mac OS X v10.2 and above. Users of 10.1 could still use Firefox versions from the 1.0.x branch (e.g. Firefox 1.0.7).
Firefox 1.5 was released on November 30, 2005. The original plan was for a Firefox 1.1 and later a Firefox 1.5. After the first two 1.1 alpha builds, the Mozilla Foundation abandoned the 1.1 release plan and merged it with the planned feature set of 1.5 instead, with 1.5 being released later than was planned for 1.1. The new version resynchronised the code-base of the release builds (as opposed to nightly builds) with the core “trunk” which contained additional features not available in 1.0, as it branched from the trunk around the 0.9 release. As such, there was a backlog of bug fixes between 0.9 and the release of 1.0, which were made available in 1.5. Version 1.5 implemented a new Mac-like options interface, which was the subject of much criticism from Windows and Linux users, with a “Sanitize” action to allow a person to clear their privacy related information without manually clicking the “Clear All” button. In Firefox 1.5, a user can clear all privacy-related settings simply by exiting the browser or using a keyboard shortcut, depending on their settings. Moreover, the software update system was improved (with binary patches now possible). There were also improvements in the extension management system, with a number of new developer features.
Also, Firefox 1.5 had preliminary SVG 1.1 support.[13] This unplanned movement may have been due to the release of Opera 8.0 on April 19, 2005, which supported SVG Tiny.[speculation?]
Alpha builds of Firefox 1.5 (1.1a1 and 1.1a2) did not contain Firefox branding. They were labeled “Deer Park” (which was Firefox 1.5’s internal codename) and contained a different program icon. This was done to dissuade end-users from downloading preview versions, which are intended for developers only.
Firefox 1.5.0.12 is the final version supported on Windows 95.
“Deer Park”, the codename of the Firefox 1.1 and 1.5 Alphas, did not include Firefox branding.
On March 22, 2006, the first alpha version of Firefox 2 (Bon Echo Alpha 1) was released. It featured Gecko 1.8.1 for the first time.
Firefox 2 was released on October 24, 2006 and contained many new features not found in Firefox 1.5, including improved support for SVG and JavaScript 1.7, as well as UI changes.
Mozilla Firefox 2.0.0.x is the final version supported on Windows NT 4.0, 98 and Me. Mozilla Corporation has announced that it will not develop new versions of Firefox 2 after the 2.0.0.20 release. They did however continue development of Firefox 2 as long as other programs, like the Thunderbird mail client, were depending on it. The final internal release was 2.0.0.22, released in late April 2009.
In December 2007, Firefox Live Chat was launched. It allows users to ask volunteers questions with hours of operation and the possibility of help after hours. Because this service is kept running because of volunteers, if there are not enough volunteers to help, they may not open during the official hours.
The Mozilla Foundation released Firefox 3 on June 17, 2008. The first Firefox 3 beta (under codename ‘Gran Paradiso’). had been released several months earlier on 19 November 2007, which was followed by several more beta releases in the Spring of 2008 culminating in the June release.
One of the major changes in Firefox 3 is the implementation of Gecko 1.9, an updated layout engine. The new version fixes many bugs and implements new web APIs.
After several development releases, the final version was released on June 30, 2009. The current version is 3.5.10, released on June 22, 2010. Also, as of mid-December 2009, Firefox 3.5 is the most popular browser (when counting individual browser versions) passing Internet Explorer 7. It is the first version to accomplish this feat.
Version 3.6, released on January 21, 2010, uses the Gecko 1.9.2 engine and includes several interface improvements, such as “personas.” This release was referred to as 3.2 before 3.1 was changed to 3.5. The codename for this version was Namoroka.
One minor update to Firefox 3.6, version 3.6.4 (code-named Lorentz) is the first minor update to make non-intrusive changes other than minor stability and security fixes. It adds Out of Process Plugins (OOPP), which runs plugins in a separate process, allowing Firefox to recover from plugin crashes.
As part of Mozilla’s ongoing stability and security update process, Firefox 3.6.6 is now available as a free download for Windows, Mac, and Linux from http://www.firefox.com. This release makes a small change to the crash protection feature introduced in Firefox 3.6.4, increasing the amount of time that Firefox will allow a plugin to remain frozen before terminating it. For more information, see the Mozilla Blog announcement about the release.
The precursory releases of upcoming Firefox releases are codenamed “Minefield”, as this is the name of the trunk builds. As of June 2010, development for Firefox 4 takes place on the Mozilla trunk, with pre-release builds coming nightly.
Version 4.0
Nightly builds were marked as 4.0a1pre between February and June of 2008,[21][22] but were renamed to 3.1a1pre afterward.
Firefox 3.7 (Gecko 1.9.3) Alpha 1 was released on February 10, 2010.[23][24] Alpha 2 was released on March 1, 2010, Alpha 3 was released on March 17, and Alpha 4 was released on April 12, 2010. As of May 2010, Alpha 5 is being developed on the trunk. The version number 3.7 is a placeholder; this release is now planned to be Firefox 4.0 and is tentatively scheduled for November 2010.[25]
One of the main focuses is to improve the user interface. Mockups of a UI overhaul for the Windows version have been posted in the Mozilla Wiki. They show plans for many changes, including optionally display the tabs bar at the top of the window, integrating the status bar into the tab toolbar and integrating the search bar and the reload and stop buttons into the awesomebar.[26] The menu bar is not present in these mockups. The UI will use animations for manipulating tags and buttons.
The browser will be given a home tab. This will be similar to the new tab pages found in Internet Explorer 8 and Google Chrome. However, users are able to customise the button so that it takes the user to their homepage instead.
The installer on the Mac OS X will be redesigned to make installations easier. Also, the start up windows that appear when Firefox starts up will be eradicated to make the start up process quicker.
The preferences and add-ons manager windows will also be redesigned to better assist users.
“Door hanger” notifications will be added. This is to replace the current “bar” notifications, which can easily be spoofed by a web page.
The Gecko layout engine will be improved to support more HTML5 and CSS3 features.
As well as this, the Firefox Sync project will be integrated into the browser to allow users to sync things such as bookmarks and history with the cloud.
A new type of tab, called an application tab, can be placed in the tab bar. It is similar to the Mozilla Prism project, which allows web pages (such as Google Mail) to become applications.
If you are new in twitter and don’t know anything about it then don’t worry.. Here in this article we given 21 twitter marketing tips for small businesses.
21 twitter marketing tips for small businesses
In this post is supposed to answer all the questions you ever had about doing something on Twitter. In these, you can find really basic information about Twitter features.
Now WordPress in core the new post thumbnail function will not changed until. we have given info about How to use the the_post_thumbnail In WordPress.
use the the_post_thumbnail In WordPress
You can provide 4 picture formats to the function (change the width and height values to your need):
use the the_post_thumbnail In WordPress
// the thumbnail
the_post_thumbnail(array(100,100));
// medium resolution
the_post_thumbnail(array(300,200));
// large resolution
the_post_thumbnail(array(600, 400));
// original
the_post_thumbnail();
You can set how the images should align. It is also possible to assign an own class:
// left align
the_post_thumbnail(array(100,100), array('class' => 'alignleft'));
// right align
the_post_thumbnail(array(100,100), array('class' => 'alignright'));
// center
the_post_thumbnail(array(100,100), array('class' => 'aligncenter'));
// align right and the class 'my_own_class'
the_post_thumbnail(array(100,100), array('class' => 'alignright my_own_class'));
The 3rd possibility is the control of the images size with an array of height and width:
For this purpose we suppose that the settings for thumbnail is 150×150, for medium 300×200 and for large 600×400.
// thumbnail scaled to 60x60 pixel
the_post_thumbnail(array(60,60), array('class' => 'alignleft'));
// original thumbnail
the_post_thumbnail(array(150,150), array('class' => 'alignleft'));
// medium resolution scaled to 200x133 pixel
the_post_thumbnail(array(200,200), array('class' => 'alignleft'));
// large resolution scaled to 400x266 Pixel
the_post_thumbnail(array(400,345), array('class' => 'alignleft'));
We see that the image proportions are always maintained, even if one specifies crooked values.
For the Theme Designers is this not necessarily easier, because no one knows what the user will put in his settings o his library. One way to approach this problem, to query the options for the various sizes:
// width of the thumbnails
get_option('thumbnail_size_w');
// height of the thumbnails
get_option('thumbnail_size_h');
// height of the medium resolution
get_option('medium_size_h');
// width of the large resolution
get_option('large_size_w');
// 1 = Crop thumbnail to exact dimensions, 0 = Crop off
get_option('thumbnail_crop')
Here another example: If the size of a thumbnail is bigger than 100×100 and crop is activated, then the thumbnail should be resized to 100×100, otherwise use the original thumbnail.
Due to wordpress plugins, wordpress became so much powerful and successful CMS in the world. So we collected 15 Top most popular wordpress plugins which are downloaded most in the world.
In last few years wordpress become most popular CMS in the world. WordPress has great support of wordpress plugins which are free.
Many people many types of wordpress plugins as per their use.
most popular wordpress plugins
most popular wordpress plugins
Here I am going to give you the list of most popular wordpress plugins which are downloaded millions times.
I recommend if you hosted your website with wordpress you must use following wordpress plugins.
WPtouch automatically transforms your WordPress blog into an iPhone application-style theme, complete with ajax loading articles and effects, when vie
This Plugins is donwloaded 876,885 times.
Just another contact form plugin. Simple but flexible.
This Plugins is downloaded 2,021,419 times.
WordPress.com Stats
You can have simple, concise stats with no additional load on your server by plugging into WordPress.com’s stat system.
This Plugins is donwloaded 1,688,181 times.
A super customizable contact form that lets your visitors send you email. Blocks all common spammer tactics. Spam is no longer a problem.
This Plugins is downloaded 343,069 times.
ourSTATS Widget
create a widget for the ourstats.de counter service
This Plugins is downloaded 80,348 times.
Post videos and photo galleries
Post your videos and photo galleries/flash slideshows easily and in seconds.
This Plugins is downloaded 326,804 times.
Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg and many more.
This Plugins is downloaded 995,509 times.
WordPress Related Posts Plugin will generate a related posts via WordPress tags, and add the related posts to feed.
This Plugins is donwloaded 220,359 times.
6 free seo tools from google, SEO is very important when you are building and maintaining a website, and Google offers FREE tools to help make your job easier.
6 free seo tools from google
6 free seo tools from google
Google provides very nice free SEO tools here is list.
According to the website, Google Analytics gives you rich insights into your website traffic and marketing effectiveness. User friendly features allow you to see and analyze your traffic data in a whole new way, as well as produce better targeted ads, create higher converting websites and strengthen your marketing initiatives.
With Google Trends, you can compare the whole world’s interest in the topic of your choice. You can enter up to 5 topics to see how often they have been searched, how often they show up in Google News stories and what geographic locations have searched these topics the most. Google Keyword Tool:
Undoubtedly one of the most popular in the Google toolbox, the Keyword Tool can be a gigantic help in choosing the right and most effective keywords!
Google Website Optimizer:
A very easy to use free tool for testing your website content to see if it is delivering actionable results. You can find out what leads to the highest conversion rates, listen to your visitors and increase conversions dramatically. A great free tool! Google Webmaster Tools:
This one gives you detailed reports about your web pages’ visibility in Google search. You can see at a glance how Google crawls and indexes your site, as well as find out about problems Google is having with your site and how to fix them. You can also use the free link reporting tools and query traffic to see which search queries are driving traffic to your site.
This one will come in quite handy as it tells you such important things as average estimated CPC, estimated ad position, estimated daily cost and estimated daily clicks.
websites first impression important. That is all depend on your website landing means home page. we shown how to create great Landing Page for your website.
For many of those visitors, it will be the first time they have been on your website, so the last thing you want to do is create a bad first impression that will have those visitors hitting the back button to get our of there as fast as they can.
How to create great Landing Page for your website
How to create great Landing Page for your website
Here are some tips in writing a great landing page:
Write your landing pages so that a visitor has to do very little thinking about what to do next. Your job is to gently steer visitors in the direction of where you want them to go, and what you want them to do. So, your landing page message should make these things crystal clear. This is no time to be ambiguous! Have strong, concise calls to action that tell visitors what to do!
Bring out the big guns right away! Your promotional offers or freebies should always be above the fold on your landing page, which means on the top half of the page, prominently displayed where visitors can see them. However, you must get them to jump through a hoop or two before handing over the promotion or freebie. In other words, get something you want from them–such as signing up for your email subscription list—prior to delivering the goodies.
Explain the benefits of your products to visitors. People do not buy something because it’s a great widget, they buy based on how a widget benefits them. Remember that, and make it clear how they will benefit from what you are selling.
Lack of trust and credibility in your online business is a big reason why many visitors don’t become buyers. Remove those stumbling blocks to sales by displaying trust and security symbols on your landing pages, along with a brief, reassuring blurb about your business.
Use above guidelines and improve your landing page.
WordPress is used any almost all the blogs as CMS. Many people need the blog traffic for their site. There are many people searching for increasing the traffic of site. Here in this article We given tricks for Increase Your WordPress Blog Traffic Overnight.. Here in this article I found some best tricks to increase blog traffic.
How to Increase Your WordPress Blog Traffic Overnight?
Would you like to increase traffic to your ecommerce business blog overnight?
Believe it or not, this may just be do-able!
How, you ask?
With the WordPress OnlyWire Auto Poster plug-in, that’s how!
As you may or may not know, WordPress is probably the most popular and often used blog platform on the World Wide Web according to Technorati. It’s a state of the art publishing platform that focuses on aesthetics, web standards and usability.
How to Increase Your WordPress Blog Traffic Overnight?
Best of all, it’s FREE.
The WordPress Only Wire Auto Poster plug-in can significantly increase traffic to your blog—possibly or even probably—overnight because by using it, you are able to syndicate your blog posts to over 30 of the top social sites simultaneously, with just one click of a button.
No more slogging along doing it the hard way, one at a time. With the OnlyWire plug-in, you are assured of getting your blog post out there where the most people will see it, and hopefully read it.
Just think of how this could help you build valuable backlinks, not to mention improve your website traffic and search engine index speed!
There are two ways to use the WordPress OnlyWire Auto Poster plug-in:
As a Firefox plug-in which will stay in the upper right hand corner of your browser, right next to the Google search bar, or
Install the OnlyWire plug-in from your WordPress blog simply by selecting it from the available WordPress plug-ins, and then clicking install.
It’s just that easy!
OnlyWire is a blogger’s dream come true as a time saver. There are four ways to use it, including the simultaneous submission to social sites feature:
Submission browser button: Syndicates your blog article to 31 social sites at once
Bookmark and share button: This button can be placed on websites and blogs, and allows visitors to share the page on their social networking sites.
Developer API: Automatically submits blog or web content to an existing CMS system at the will of the user.
Account management: A very handy tool within the program that you can use to keep track of everything. It will set up the social sites to be used, show submission history, as well as finalize your submissions to manage a member account.
If you want to save yourself a lot of time on social media marketing, and increase traffic to your blog overnight, then you should take a look at WordPress OnlyWire for your online dropshipping business or other ecommerce enterprise.
Here you’ll find 44 best websites that offer various free icon set collections as well as just separate good collections in other sites, so browse through the sites and download the icon sets for free.
Icons are a requirement for any web-related project but creating your own custom icons for each project is rarely practical as it’s so time-consuming. On the other hand, finding those hidden treasures in a pool of tens of thousands of free icons also takes time.
You can easily find out who have added your tweets as favourites. Here we given simple steps for how to find your favorite tweets on twitter using google engine.
how to find your favorite tweets on twitter
how to find your favorite tweets on twitter
Twitter users have a option to favorite tweets they like, but users in general do not have any way to know when their tweets have been added as favorites.
But like always there is a solution and it’s called Google, using Google you can easily search the tweets (you made) that other users have added as favorites.
Just search Google for the term given below and you will find the users who have added your tweets as favorites:
site:twitter.com/*/favourites @username
Simply replace the @username with your own twitter username and you will see the users who have added your tweets as favorites.