Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

298
Views
Failed to load file inside server with $_GET

I've been trying to get inside of my folder a url but i'm getting a error like this i've tryed with file_get_contents but isn't working anymore

Warning: include(/home/vol2_3/*****/*****/htdocs/new/td.php?r=8&ids=309834): failed to open stream: No such file or directory in /home/vol2_3/*****/*****/htdocs/new/test.php on line 146

I've been trying like this and with file_get_contents but isn't working

include($_SERVER['DOCUMENT_ROOT']."/new/td.php?r=8&ids=".$info["id"]);
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You cannot pass query string in the include() function. This function requires the PHP file path to passed, not an URL. This will work:

include($_SERVER['DOCUMENT_ROOT']."/new/td.php");
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!