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 617065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:23:39+00:00 2026-05-13T18:23:39+00:00

all external URLs look like ‘module/action?key1=param1’. No customization possible–but it’s fast. The difference is

  • 0

all external URLs look like ‘module/action?key1=param1’. No customization possible–but it’s fast.
The difference is that the first uses PHP’s GET, and the second uses PATH_INFO.

I’ve seen PATH_INFO several times, but still don’t know what exactly it is. What does it do?

  • 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-05-13T18:23:39+00:00Added an answer on May 13, 2026 at 6:23 pm

    Actually, PATH_INFO is related to the Apache Web Server serving PHP pages and not PHP per se.

    PATH_INFO is an environment variable set by Apache when the AcceptPathInfo directive is turned on. It will contain trailing pathname information that follows an actual filename or non-existent file in an existing directory, whether the request is accepted or rejected. Environment variables are then passed on to the Apache/CGI module in charge of rendering the page.

    The variable is accessible in PHP using $_SERVER['PATH_INFO'].

    For example, assume the location /test/ points to a directory that contains only the single file here.html. Then requests for /test/here.html/more and /test/nothere.html/more both collect /more as PATH_INFO.

    Apache Core Documentation: AcceptPathInfo Directive

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

Sidebar

Related Questions

How can i rewrite all external links with a single onmousedown event? Kinda like
I've a Glype proxy and I want not parse external URLs. All URLs on
I need to convert a rails 2.3 site so that all external URLs open
I would like to block all external http requests directed to a certain folder
Is there any module in Drupal which will set target=_blank for all external sites
I was trying the following example, but with external URLs: Using WebViews The example
I'm using a plugin jquery-oembed-all. Plugin provides oembed featues to dynamically embed external urls
How can I redirect all external links (ie clicks from Google towards my site)
I am aware that I can access all external links on a page using
I'm trying to disable log output from all external libraries in logback-test.xml. Somehow it

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.