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

  • Home
  • SEARCH
  • 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 9102765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:27:35+00:00 2026-06-17T01:27:35+00:00

For example we have this URL: https://www.domain.com/pdf.php?url=http://www.domain.com/report.php?id=341 I would like to know if it’s

  • 0

For example we have this URL:
https://www.domain.com/pdf.php?url=http://www.domain.com/report.php?id=341

I would like to know if it’s possible to somehow detect using PHP in report.php that pdf.php is trying to open access report.php?id=341.

If that’s possible I would limit later on that report.php can be called only by pdf.php, invoice.php etc.

BASICALY I want to make sure that report.php is requested by server and not human.

Is there perhaps a security risk?

I hope my question make sense. Thanks in advance.

  • 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-17T01:27:36+00:00Added an answer on June 17, 2026 at 1:27 am

    You can try using the following to display the full contents of the $_SERVER array. It will show you the required variable you are looking for.

    print_r($_SERVER);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have URL scheme for my blog like this: http://www.example.com/%YEAR%/%MONTH%/%CATEGORY%/%POST_TITLE%/ Now i want to
I have a url like this - www.example.com/blog.php/username, it will take you to the
i would like a simple help... i have a url like this: example.com/profile.php?id= &
Example current URL http://www.domain.com/subdomain/install/finish.php I use this code to get the current URL. $url
Is this a valid http url http://www.example.com?x&y or we must always have = sign
Let's say I have this url: www.example.com/test.php?page=4 How do i retrieve the value of
I have a long URL with several values. Example 1: http://www.domain.com/list?seach_type[]=0&search_period[]=1&search_min=3000&search_max=21000&search_area=6855%3B7470%3B7700%3B7730%3B7741%3B7742%3B7752%3B7755%3B7760%3B7770%3B7800%3B7840%3B7850%3B7860%3B7870%3B7884%3B7900%3B7950%3B7960%3B7970%3B7980%3B7990%3B8620%3B8643%3B8800%3B8830%3B8831%3B8832%3B8840%3B8850%3B8860%3B8881%3B9620%3B9631%3B9632 My variable search
I have thousands of URLs that look like this: http://www.domain.com/here-is-a-product-ab00007a1.html The number at the
I have an application with URLs such as these: https://www.domain.com/example/public/subscription https://www.domain.com/example/public/subscription/source https://www.domain.com/example/public/test/subscription I'd like
How can I hide the parameters in Codeigniter? I have this URL: http://example.com/profile/1 I

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.