Varshyl Blog

Web Simplified….

Archive for April, 2006

1) Don’t make the users to guess or think. Always keep the UI decisions simple enough, so that users can make their decisions, without having to draw workflow diagrams or  without  making them  feel lost in  pages between you website.

2)  Very Important ,If you dont have experts who can give you feedback on you website, do the peer website walk through which means let your peer have a go at your website and tell them comment upon their experience.

3) Always have people easily figure, where they stand, in the current scheme of things. Implementing this principle would be as easy as having a page name at the top of the page, or in the case of a website, with very deep branches, have a clearly explained path at the top of the page.

  • 0 Comments
  • Filed under: Web Design
  • Uploading Multiple Files with PHP

    Today we will see how can we write a code to upload mutilpe files, this is pretty simple. You can do it using one file or one html file and php file.

    Today will see how we can do it with a single ( please see I am not adding bells and whistles)
    // Absolute path of location where file is to be uploaded and don’t forget to have CHMOD 777 for it
    $fileDir = “absolute path to location”;
    $intuploadcount = 0;
    for ($intCount=0;$intCount<$numoffile;$intCount++)
    {
    //Check if the all the input box have data or not
    if (trim($_FILES['file']['name'][$intCount])!="")
    {
    $newfile = $file_dir.$_FILES['file']['name'][$intCount];
    move_uploaded_file($_FILES['file']['tmp_name'][$intCount], $newfile);
    $intuploadcount++;
    }
    }

    if (isset($intuploadcount)&& $intuploadcount>0)

    print “$intuploadcount files uploaded
    “;

    if (isset($intuploadcount)&& $intuploadcount>0)

    print “$intuploadcount files uploaded
    “;

    // echo “

    “;
    //for($i=0;$i<$filecount;$i++) {
    // echo "
    “;
    //}
    // echo ““;
    //echo “

    “;
    //?>
    ?>
    Doing with html and php files is simple, you just need to create form in html and instead of using ‘for’ loop to generate box, you need to make different box and then create another file ( name it ) and in action of form give the name of file..

    That;s it, it should work now.

  • 0 Comments
  • Filed under: PHP
  • FAQ’s contd..

    a.) Why does Google hate me/pick on me?

    A: “Google” does not pick on individual sites but instead allows complex mathematical equations to decide the value of your site in any particular search. Although it may sometimes feel like they are picking on you, most times a ban or bad results can be traced to a small piece of bad or misguided SEO.

    b.) Google banned my website?

    A: You can check whether you are banned in Google or not indexed in Google, by using the ’site:’ operator in Google’s search. For instance ( site:www.yourdomain.com)

  • 0 Comments
  • Filed under: SEO
  • Google FAQ’s….contd

    a.) What are things to look for if your site ranking goes down in Google listing? ( i.e. I have lost the top spot, what happened?)
    A: Most obvious reason would be a drop in backlinks. Obviously when you are not aggressively acquiring new inbound links to your site on a day-to-day basis, existing backlinks may even deteriorate in value or The referring site may disappear, be changed, lose relevance or lose PR itself, reducing the PR that is passed onto you. Thus resulting in dip of your listing.

    b.) Should I submit my website to Google every month?
    A: No, you only need to do it once. In most cases you will not even need to submit your website to Google. If you are active in building links to your website then Googlebot will frequent your site soon, and thus include it in the index.

    c.) My site is not cached in Google, I’ve submitted it to google numerous times but I’m not seeing it crawl my entire site. I’m also seeing an incomplete listing.
    A: Sometimes the googlebot will visit, and leave, only to come back at a later time in order to crawl all of your pages. If a site has no cache, or an incomplete listing, it has not been crawled and indexed properly yet. The best thing you can do is get more in bound links to your site, so that the googlebot arrives to your site from more than 1 source.

    d.) When I look up my site in Google, I am #23, but when some in Sanjose looks it up I am #31. Which one is right?
    A: They both are! Actually, a more accurate explanation is that Google using multiple datacenters that deliver the results you see. The datacenter that is used depends on your geographical location. It is very common to see a small difference in results depending where you are. Sometimes, results can differ when you move just a few miles away!

  • 0 Comments
  • Filed under: SEO
  • Google FAQ’s….contd

    a.) What are things to look for if your site ranking goes down in Google listing? ( i.e. I have lost the top spot, what happened?)
    A: Most obvious reason would be a drop in backlinks. Obviously when you are not aggressively acquiring new inbound links to your site on a day-to-day basis, existing backlinks may even deteriorate in value or The referring site may disappear, be changed, lose relevance or lose PR itself, reducing the PR that is passed onto you. Thus resulting in dip of your listing.

    b.) Should I submit my website to Google every month?
    A: No, you only need to do it once. In most cases you will not even need to submit your website to Google. If you are active in building links to your website then Googlebot will frequent your site soon, and thus include it in the index.

    c.) My site is not cached in Google, I’ve submitted it to google numerous times but I’m not seeing it crawl my entire site. I’m also seeing an incomplete listing.
    A: Sometimes the googlebot will visit, and leave, only to come back at a later time in order to crawl all of your pages. If a site has no cache, or an incomplete listing, it has not been crawled and indexed properly yet. The best thing you can do is get more in bound links to your site, so that the googlebot arrives to your site from more than 1 source.

    d.) When I look up my site in Google, I am #23, but when some in Sanjose looks it up I am #31. Which one is right?
    A: They both are! Actually, a more accurate explanation is that Google using multiple datacenters that deliver the results you see. The datacenter that is used depends on your geographical location. It is very common to see a small difference in results depending where you are. Sometimes, results can differ when you move just a few miles away!

  • 0 Comments
  • Filed under: SEO
  • Google FAQ!

    Search Engine Optimization:

    There are many question that comes to your mind when one thinks of SEO, In this article I am trying to answer few of those question. If you any question you can ask me at info@varshltech.com

    1.) How can I use Robot file; can you give us an example of it?
    Ans:- I believe you talking about robots.txt. It’s a file in the main/root directory of a website which informs the crawler/search engine spiders where they are allowed to go, i.e which all pages in the website they should crawl.

    A basic robot.txt file is:
    User-agent: *
    Disallow:

    You can disallow folders or files by putting this into the file:

    User-agent: *
    Disallow: /foldername/filename or /foldername
    official guidelines and keep the number of links per page below 100.

    2.) How can I find out how many people have searched for my keywords?
    A: There are number of tools available on Internet, but the one that is free and very good is overture, Google for “Overture keyword Toll” and you will find it. The Search Term This Tool  will show you number of searches per month on Overture’s network.

    3.) What are SERPs?
    A: Search Engine Result Pages

  • 0 Comments
  • Filed under: SEO
  • Components of SEO

    Components: There are three major components of search engine optimization that you should keep in mind and incorporate into any web design, written Web page content, coded HTML, and programming scripts for your site.

    1. Keywords and Phrases – To optimize your site, you must strategically select and place words or phrases into your Web page content and specific HTML tags - the areas from which search engines grab words and phrases to build their indices. If you want your target audience to find your site through a search engine, your Web pages must contain keywords or keyword phrases that match the search queries of your target audience. Often, there are multiple words or phrases that mean the same thing. From an SEO standpoint, it is important to include all the words or phrases your target audience may use in their searches. The closer the match between your Web site’s content’s keywords and phrases with those terms, the higher you will be ranked in a result set.

    2. Web Site Structure and Page Layout –The way you structure your web site and design your Web page layout will have a large impact on your site’s search engine ranking. This includes how you serve your Web pages (e.g., as static HTML or XHTML pages or dynamically from a database or Web script), the directory structure of your site, the names of your site’s directories and individual HTML or XHTML files, and the URLs you choose when selecting your domain names. Also, each Web page on your site needs to be optimized individually to most effectively present the content it contains to the search engines. Thus, the elements of a page’s layout, including navigation, site maps, graphics and multimedia elements such as Flash and QuickTime movies, need to be placed correctly on every Web page. Using W3C Web standards such as XHTML and CSS can allow you to place unique content for a given page above its navigational elements, while at the same time reducing the file size of these Web pages. Other factors that affect a Web site’s ability to be successfully indexed are the use (and sometimes non-use) of Image Maps, Frames, JavaScript and, most importantly, your Web page title tags.

    3. Web Pages Popularity – Putting up a Web site is not enough to market your company competitively on the Internet. For your target audience to find you, your Web site needs to be found easily by search engine spiders/crawlers and then to be ranked well in search engine results sets for the keywords and phrases you have selected and placed in the content of your Web site.

    That’s the end of “Basic of SEO”

  • 0 Comments
  • Filed under: SEO