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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:08:09+00:00 2026-06-17T18:08:09+00:00

I am stuck in a situation when I get content of a web page

  • 0

I am stuck in a situation when I get content of a web page through CURL then I received page content but got error query result not present there. I always got element not found error.

But when I put URL in browser then got appropriate result. How can I resolve that?

URL I am using is http://164.100.9.38/judis/handle/123456789/30346/simple-search?query=%28%28petitioner:ajay%29%29&from_advanced=true&query11=&query9=&query8=&conjunction8=AND&conjunction9=AND&query10=&conjunction6=AND&conjunction7=AND&field5=judge&field4=petitioner&field3=respondent&field2=caseyear&field9=abstract&field8=type&field7=datejudgement&conjunction10=AND&field6=headnotes&query4=ajay&query5=&query6=&query7=&field1=casenumber&query1=&query2=&query3=&conjunction3=AND&conjunction2=AND&conjunction5=AND&conjunction4=AND&field10=citation&conjunction1=AND&field11=keyword&num_search_field=11

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);

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-17T18:08:11+00:00Added an answer on June 17, 2026 at 6:08 pm

    You need to login on the site first or create a session first. They are using session. Surprisingly they are providing session id on page http://164.100.9.38/judis/styles.css.jsp.

    So request http://164.100.9.38/judis/styles.css.jsp first. It’ll set the cookie. And then request your usual way.

    To keep your session cookies use CURLOPT_COOKIEFILE and CURLOPT_COOKIEJAR options.

    curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
    curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am stuck in a situation. My problem is to get the most repeated
I know this subject has been covered and re-talked, but I still get stuck
everyone,I am new to PP but got stuck in a problem when importing NumPy
I am stuck in a situation from which I am finding no solution. Let
I'm basically stuck in a situation where I need a bunch of div's with
I'm using ASP.NET MVC 2 and stuck with the situation when needed to store
I am new to iPhone programming, and stuck in a situation. The situation is
I just stuck in a very simple situation bt couldnt help myself.My question is
Im stuck with this little project in C# but basically my problem is this:
I am new to the MVC and I am stuck with a wierd situation.

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.