Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Wednesday, June 17, 2009

How to increase traffic to your website?

A-Z Tips to Increase Site Visitors

We said A-Z and we meant it. Here are 26 sure-fire ways to increase web traffic and site visitors to your website. Use some or all of them, and let us know which ones worked best for you.

  1. Optimize your site (SEO).
    Win on the search engines when people search for keyword phrases related to your products or services.

  2. Get your site listed in directories.
    Submit your site to all the major web directories. This will generate traffic directly from the directories themselves and will also help to improve your link popularity. That helps you win on Google!

  3. Get listed in search engines.
    Submit your site to all the major search engines.

  4. Get links to your site.
    Get people with complimentary sites to link to yours. You offer rental kayaks on the beach. Ask the local restaurant owners to link to you, and offer to link to them. Ask the local tour guides, the real estate agents, the night clubs, and everyone else. Links lead to clicks onto your website and help to improve your search engine rankings.

  5. Buy links to your site.
    Buy text links on other websites. That means more spiders stopping by, more people clicking through, and better search engine rankings.

  6. Buy banner ads.
    Buy banner ads on other websites. It helps to build brand recognition.

  7. Participate in a banner exchange program.
    It won't cost you anything, and will lead to a few extra visitors. Plus, you're spreading your brand all over the place.

  8. Participate in a WebRing.
    Connect your site with other sites in your niche.

  9. Pay for clicks to your site.
    Pay for clicks or inclusion on the search engines so that people will see your site in the sponsored links section of the search results when they search for keyword phrases related to your products or services.

  10. Set up an affiliate marketing program.
    With affiliate marketing, you can either pay per click, pay per lead generated, pay per sale, or pay per customer acquired.

  11. Use smart public relations (PR).
    Get news coverage of your business and your site. Approach online and traditional media. This will often lead to others placing links pointing to your website, which leads to more clicks and also to improved search engine rankings.

  12. Use E-mail marketing.
    Ugly, but effective for the cost. Blast out your special offers, but be nice about it.

  13. Use off-line marketing.
    Promote your site. Put your url on all your license plates. Paint it on your car. Buy newspaper and yellow pages ads with your url. Put up flyers and stickers. Sponsor a little league team. Do anything and everything to spread the word about your website around your city.

  14. Run regular promotions.
    Stage regular giveaways and spread the word about it.

  15. Get published.
    Write articles for publication on other websites. The author profile will link to your site. The article will show that you're an expert.

  16. Publish yourself.
    Write articles for your own site regularly. This will help you to win on the search engines and gives your visitors a reason to come back over and over.

  17. Ask for reviews.
    Ask for reviews of your self-published articles on other webmasters' websites. Ask for reviews of your website, your products, your software, your services. These will usually include links to your articles.

  18. Write briefs.
    Write daily or weekly news briefs focusing in on your industry or specialty area. This keeps your site "fresh" in the eyes of the major search engines and helps you to spread a wide net when fishing for top search engine positions.

  19. Create a newsletter.
    Ask your visitors to sign up for your newsletter, and encourage them to send it along to people they know. Send a newsletter regularly with teasers or lead-ins to your in-depth new articles or with special offers and the latest products.

  20. Post in chat rooms.
    Become active in bulletin boards and chat rooms focusing on your industry. Leave inciteful comments, and people will click on your profile, then visit your site.

  21. Give away free stuff.
    Offer something people want at your site. Give them a reason to come back and get more. Offer free downloads and update them regularly. Offer coupons or discounts. Content content content.

  22. Give awards for excellent sites in your niche.
    This builds more links back to your site and establishes you as a credible reviewer, an expert in your space.

  23. Run a contest and promote it.
    Photo contests, essay contests, goofy contests, random drawings, anything. Example: Messiest Garage in America contest on OfftheFloor.com.

  24. Join your local business organizations.
    Chambers of Commerce and other organizations will often add your site to their member directory. That's an added advantage over the obvious business-building and networking opportunities.

  25. Create an RSS feed.
    Give people another way to interact with your content.

  26. Be accessible.
    Build your site so that it is accessible to all browsers and to PocketPC and Palm Pilot users. Don't forget, people with disabilities buy things too. Make your site Section 508 complaint. Your competition probably hasn't.

We really couldn't stop at Z. This last suggestion is our most important one:

Be a good Internet citizen.
Provide useful resources on your website, resources that make people feel thankful that you put in the time and effort. Help every person who ever calls you on the telephone or emails you a question. When they ask "How can I ever thank you?" just say, "If you like my site and think it's useful, why not link to it?"

Original post: www.seologic.com/web-traffic/increase/visitors

Tuesday, July 1, 2008

What is PHP?

PHP is a powerful server-side scripting language for creating dynamic and interactive websites.

PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. PHP is perfectly suited for Web development and can be embedded directly into the HTML code.

The PHP syntax is very similar to Perl and C. PHP is often used together with Apache (web server) on various operating systems. It also supports ISAPI and can be used with Microsoft's IIS on Windows.
What You Should Already Know

Before you continue you should have a basic understanding of the following:

* HTML / XHTML
* Some scripting knowledge


What is PHP?

* PHP stands for PHP: Hypertext Preprocessor
* PHP is a server-side scripting language, like ASP
* PHP scripts are executed on the server
* PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
* PHP is an open source software (OSS)
* PHP is free to download and use

What is a PHP File?

* PHP files may contain text, HTML tags and scripts
* PHP files are returned to the browser as plain HTML
* PHP files have a file extension of ".php", ".php3", or ".phtml"

What is MySQL?

* MySQL is a database server
* MySQL is ideal for both small and large applications
* MySQL supports standard SQL
* MySQL compiles on a number of platforms
* MySQL is free to download and use

PHP + MySQL

* PHP combined with MySQL are cross-platform (means that you can develop in Windows and serve on a Unix platform)

Why PHP?

* PHP runs on different platforms (Windows, Linux, Unix, etc.)
* PHP is compatible with almost all servers used today (Apache, IIS, etc.)
* PHP is FREE to download from the official PHP resource: www.php.net
* PHP is easy to learn and runs efficiently on the server side

Where to Start?

* Install an Apache server on a Windows or Linux machine
* Install PHP on a Windows or Linux machine
* Install MySQL on a Windows or Linux machine

Sunday, June 29, 2008

How to install XAMPP?

XAMPP is an easy-to-use multi-platform package that installs Apache, MySQL, PHP, phpMyAdmin, and a whole slew of other software useful for dynamic web development on your computer. Installation is painless, and configuration minimal. This page guides you through installing the package on both Windows and Mac OS X. You can also read general notes about using XAMPP.

Installing on Windows

  1. Go to http://sourceforge.net/project/showfiles.php?group_id=61776 and click "XAMPP Windows". Click the "1.6.5" link to expand the appropriate version, and choose to download xampp-win32-1.6.5-installer.exe.

    The XAMPP Control Panel in Windows
  2. Run the installer. If you want, you can choose to install the Apache and MySQL servers as services, which will make them start automatically every time you start Windows. If you don't choose this option, you will need to use the XAMPP Control Panel application to start the servers individually each time you need them. This may be desirable if you don't intend to use your servers that often.
  3. Upon completion of installation, the XAMPP Control Panel will open (if not, click Start » All Programs » Apache Friends » XAMPP » XAMPP Control Panel). This tool lets you start and stop the various servers installed as part of XAMPP.
  4. Start Apache and MySQL by clicking on the "Start" buttons next to each item. If prompted by Windows Firewall, click the button labelled "Unblock".
  5. Go to http://localhost/. If you are directed to a page with the XAMPP logo, your installation was successful. Congratulations!

You can add or change the files in C:\xampp\htdocs to change what you see at http://localhost/ on any local web browser. You may need to delete index.php in that directory to stop the server from automatically redirecting you to the XAMPP configuration interface.

Here are the locations of some configuration and log files you may want to view or change:

TypeLocation
Apache configurationC:\xampp\apache\conf\httpd.conf,
C:\xampp\apache\conf\extra\*.conf
Apache logsC:\xampp\apache\logs\access.log,
C:\xampp\apache\logs\error.log
PHP configurationC:\xampp\php\php.ini
MySQL configurationC:\xampp\mysql\bin\my.cnf

Installing on Mac OS X

  1. Go to http://sourceforge.net/project/showfiles.php?group_id=61776. Choose "XAMPP Mac OS X".
    The XAMPP Control Panel in Mac OS X
  2. Choose to download xampp-macosx-0.7.1.dmg.
  3. Double-click the Disk Image file you just downloaded.
  4. In the window that opens, double-click XAMPP for MacOS X.pkg.
  5. Once installation completes, go to your Applications folder, and go inside the xampp folder inside.
  6. Double-click on XAMPP Control Panel. This tool lets you start and stop the various servers installed as part of XAMPP.
  7. Start Apache and MySQL by clicking on the "Start" buttons next to each item. Note that you will need to repeat these steps if you reboot your computer and wish to use Apache and/or MySQL.
  8. Go to http://localhost/. If you are directed to a page with the XAMPP logo, your installation was successful. Congratulations!

You can add or change the files in /Applications/xampp/htdocs to change what you see at http://localhost/ on any local web browser.

Here are the locations of some configuration and log files you may want to view or change:

TypeLocation
Apache configuration/Applications/xampp/etc/httpd.conf,
/Applications/xampp/etc/*.conf
Apache logs/Applications/xampp/xamppfiles/logs/access_log,
/Applications/xampp/xamppfiles/logs/error_log
PHP configuration/Applications/xampp/etc/php.ini
MySQL configuration/Applications/xampp/etc/my.cnf

Notes about XAMPP

Note that "localhost" (often resolving to the reserved IP address 127.0.0.1) is a special name defined in the DNS system as a name that a host uses to reference itself, using the loopback interface. URLs that refer to "http://localhost/" can only be used on the system with XAMPP installed. However, by default, XAMPP configures Apache to allow connections from outside your system, so people on your network, or in some cases users from anywhere in the world, may be able to access your Apache-served files using your IP address.

You can go to http://localhost/phpmyadmin/ to use the locally-installed copy of phpMyAdmin, a tool useful for manipulating your MySQL databases in a graphical environment.

On the Windows version of XAMPP, you can use the command-line interface (CLI) version of PHP at C:\xampp\php\php.exe. On Mac OS X this is located at /Applications/xampp/xamppfiles/bin/php. If you want to be able to execute PHP by simply typing "php" at the command line in either operating system, you need to add the directory containing PHP (C:\xampp\php on Windows and /Applications/xampp/xamppfiles/bin on Mac OS X) to your "path" variable. There are tutorials available for doing this on Windows and on Mac OS X.

If you want to fine-tune your Apache, MySQL, or PHP settings, you can go to http://localhost/xampp/ to view and change parts of your XAMPP configuration. If you are feeling especially adventurous, you can also hand-tweak the configuration files in the XAMPP installation directory.

Note that XAMPP may tell you that PHP is insecure because it is not running in "safe mode". However, PHP's safe mode feature is considered a broken security measure (and has been removed in the next version, PHP 6.0) and should not be enabled.



source: http://www.keitr.com/tutorials/xampp

Live Traffic Feed