Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8043423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:53:46+00:00 2026-06-05T04:53:46+00:00

When a search engine visits a webpage, what does get_browser() function and $_SERVER[‘HTTP_USER_AGENT’] return?

  • 0

When a search engine visits a webpage, what does get_browser() function and $_SERVER['HTTP_USER_AGENT'] return?

Also, what is the other possible evidence that PHP offers when a search engine crawls a webpage?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:53:49+00:00Added an answer on June 5, 2026 at 4:53 am
    • The get_browser() function attempts to determine the browser’s features (in array) but dont count too much on it because of the non standard user-agents; instead, for a serious app, build your own.

    • the $_SERVER["HTTP_USER_AGENT"] is a long string “describing” the user’s browser and can be used as first parameter in the above function (optional); A tip: use this one to uncover user’s browser instead of get_browser() itself! Also be prepared for a missing user agent as well! An example of this string is this:
      Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.3

    • a search engine or robot or spider or crawler that follows the rules will visit your page according to the information stored of robots.txt that must exist in your site’s root.
      Without a robots.txt a spider can crawl the whole site, as long as it find links inside your pages; if you have this file you can program it so to tell the spider what to search; NOTE: this rule applies only to “good” spiders and not the bad ones

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

FOR SEARCH ENGINE OPTIMIZATION PURPOSES , does the location of the slug within a
I wanted to create search engine for my webpage, but during indexing on server
Simple search engine issues.. I'm creating a simple search engine but i'm not able
I've made a search engine for my database table where the search query gets
hello i have a search engine for my site. i have two selection fields.
I'm making a search engine for my website. I have six select fields: price,
im building a search engine with php/sphinx/jquery and i have most of it working
Do any search engine [spiders] take issue with escaped special characters in a page's
I am writing a search engine (why not hey?) and need to handle navigating
I am using solr search engine to query an index for classifieds that match

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.