P
P
Pavel2015-01-19 22:27:25
PHP
Pavel, 2015-01-19 22:27:25

The site gives the wrong page that is requested from it?

The problem manifests itself in the fact that the w3bsit3-dns.com site returns the wrong page that is requested from it using curl.
For example, when requesting a page at 4pda.ru/forum/index.php?act=Print&client=printer&f... it returns 4pda.ru/forum/index.php?showtopic=510378 .
Here is the curl_getinfo output:

array(26) {
  ["url"]=>
  string(70) "http://4pda.ru/forum/index.php?act=Print&client=printer&f=282&t=637036"
  ["content_type"]=>
  string(31) "text/html; charset=windows-1251"
  ["http_code"]=>
  int(200)
  ["header_size"]=>
  int(449)
  ["request_size"]=>
  int(101)
  ["filetime"]=>
  int(-1)
  ["ssl_verify_result"]=>
  int(0)
  ["redirect_count"]=>
  int(0)
  ["total_time"]=>
  float(0.060899)
  ["namelookup_time"]=>
  float(2.3E-5)
  ["connect_time"]=>
  float(0.002226)
  ["pretransfer_time"]=>
  float(0.002524)
  ["size_upload"]=>
  float(0)
  ["size_download"]=>
  float(13213)
  ["speed_download"]=>
  float(216965)
  ["speed_upload"]=>
  float(0)
  ["download_content_length"]=>
  float(-1)
  ["upload_content_length"]=>
  float(0)
  ["starttransfer_time"]=>
  float(0.057016)
  ["redirect_time"]=>
  float(0)
  ["certinfo"]=>
  array(0) {
  }
  ["primary_ip"]=>
  string(12) "104.20.12.93"
  ["primary_port"]=>
  int(80)
  ["local_ip"]=>
  string(13) "91.223.123.58"
  ["local_port"]=>
  int(39368)
  ["redirect_url"]=>
  string(0) ""
}

Can anyone come across? I will be grateful for help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question