fork download
  1. <?php
  2.  
  3. $curl = curl_init();
  4.  
  5. CURLOPT_URL => 'https://w...content-available-to-author-only...e.sa/wps/portal/saudiexchange/newsandreports/issuer-news/issuer-announcements/!ut/p/z1/lY_NDoIwHMOfhQcwqxD-zOPUODAgTBjiLmYHY0h0ejA-v8Qb-BHsrcmvacsMa5hx9tGe7L29Onvu_N7QIRQEP-bIEVcLEEpJuuLTpU9s1wd4JglqI1TuRyFkDWb-yqMsQqhVkQUptpCgcXl8kRjRb_pILmZRt2A9l0kqAk7REPhwcVDy_uEF_BhZHh27XbRu0CYT4XlP_MzK5g!!/p0/IZ7_5A602H80O0HTC060SG6UT81DI1=CZ6_5A602H80O0HTC060SG6UT81D26=NJgetAnnouncementListData=/',
  6. CURLOPT_RETURNTRANSFER => true,
  7. CURLOPT_ENCODING => '',
  8. CURLOPT_MAXREDIRS => 10,
  9. CURLOPT_TIMEOUT => 0,
  10. CURLOPT_FOLLOWLOCATION => true,
  11. CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  12. CURLOPT_CUSTOMREQUEST => 'POST',
  13. CURLOPT_POSTFIELDS =>'annoucmentType=1_-1&symbol=&sectorDpId=&searchType=&fromDate=&toDate=&datePeriod=1+year&productType=&advisorsList=&textSearch=&pageNumberDb=1&pageSize=1000',
  14. CURLOPT_HTTPHEADER => array(
  15. 'accept: */*',
  16. 'accept-language: en-US,en;q=0.9',
  17. 'content-type: application/x-www-form-urlencoded; charset=UTF-8',
  18. 'cookie: _ga=GA1.1.2042096406.1705861206; BIGipServerSaudiExchange.sa.app~SaudiExchange.sa_pool=2617184684.20480.0000; com.ibm.wps.state.preprocessors.locale.LanguageCookie=en; TS01fdeb15=0102d17fad956c41fd4aa1616fd825ca27382bd0b525ad2a1df5e162af5ffa698929d416ee459ea9a7880313e72df2069b0d81bbc2cf7d98f161465cf1e52d97287b670ae88936fb7f458c004a9a5c64cf29fd178717740774ab9df6a5a728820f57f5d096; _ga_P0MCK0BGCX=GS1.1.1736159345.152.1.1736160159.0.0.0; _ga_DC6H7ZFCGP=GS1.1.1736159345.45.1.1736160159.0.0.0; RT="z=1&dm=www.saudiexchange.sa&si=2bbb16ff-0a71-4c36-b48a-1e977c0e2c7d&ss=m5kwg0w9&sl=4&tt=avv&obo=2&rl=1&nu=207re2x3&cl=hyy3"; TS01fdeb15=0102d17fad17a76eec61cabd5b433aec5d106e9a03ec56d363cbc4748fa23e55b0581269abab40dacf80503d197bcc2f0ba8f398f61d551d8416b7f03c21f4b75bf35fc33ad83759e202af7e3cf6a21f446b9c3bd6ad474125344645e48e69c16ec494f8ca',
  19. 'origin: https://w...content-available-to-author-only...e.sa',
  20. 'priority: u=1, i',
  21. 'referer: https://w...content-available-to-author-only...e.sa/wps/portal/saudiexchange/newsandreports/issuer-news/issuer-announcements?locale=en&page=1',
  22. 'sec-ch-ua: "Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"',
  23. 'sec-ch-ua-mobile: ?0',
  24. 'sec-ch-ua-platform: "macOS"',
  25. 'sec-fetch-dest: empty',
  26. 'sec-fetch-mode: cors',
  27. 'sec-fetch-site: same-origin',
  28. 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',
  29. 'x-requested-with: XMLHttpRequest'
  30. ),
  31. ));
  32.  
  33. $response = curl_exec($curl);
  34.  
  35. curl_close($curl);
  36. echo $response;
  37.  
  38. ?>
  39.  
Success #stdin #stdout 0.03s 26048KB
stdin
Standard input is empty
stdout
Standard output is empty