Skip to main content

All Questions

Tagged with
1 vote
0 answers
64 views

Update z/OS Password Using PHP cURL Module

I'm trying to change a password on a z/OS mainframe that I make an FTPS connection to. Working with a legacy codebase and I'm trying to get rid of the exec calls to cURL. You'll notice all the ...
Haskell McRavin's user avatar
0 votes
1 answer
53 views

Php curl get Acces denied error. What is wrong in my code?

I have test curl command on Reqbin.com and get correct result. curl execed on reqbin return exactly result But when I run php curl code, It return Access Denied error. Result when run php curl code ...
Ngạo Thiên's user avatar
3 votes
2 answers
61 views

Accessing Pinecone via PHP

I am having trouble accessing Pinecone via PHP. I tried to follow the examples from the documentation, but it does not seem to work. <?php ini_set('display_errors', '1'); ini_set('...
Ionică Bizău's user avatar
1 vote
1 answer
40 views

How to get Referrer value using CURLINFO or cURL

How to get Referrer value from cURL URL? I am trying something like this but not working. $curldomain = "https://www.example.com/"; $ch = curl_init($curldomain); // Set cURL options ...
JK Sandhiya's user avatar
1 vote
1 answer
49 views

Is possible to spoof HTTP Header Referer value using cURL

Let say, my website is https://www.example.com and i am using cURL to pull https://stackoverflow.com I am using cURL HTTP Header to spoof referer value like this curl_setopt($ch, CURLOPT_HTTPHEADER, ['...
Stellan Coder's user avatar
0 votes
2 answers
68 views

How do I fix this curl deepl code is not working

I have the following code and it is not working, I just get string(0) "" This code is a copy of a DeepL curl script that creates a glossary which works perfect, I just changed the url and ...
Peter's user avatar
  • 91
0 votes
1 answer
61 views

PHP Curl Fails To Connect to SFTP Server

I am unable to sftp a file to a server using my code. But only under a very specific scenario. MyClient can successfully connect to any SFTP Server I try, except MyHost. Every other client I try, can ...
danielson317's user avatar
  • 3,298
1 vote
1 answer
77 views

Ebay API - Search my listing by keyword in title

I am trying to get data using the Ebay API and a keyword for my items. For example, I used to be able to enter this... https://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=...
CheeseFlavored's user avatar
0 votes
0 answers
26 views

Convert command line curl into PHP curl [duplicate]

I am having problems getting my command line curl command to work with PHP. working command line curl below curl http://localhost:11434/api/chat -d '{"model":"deepseek-r1:1.5b",&...
Dango's user avatar
  • 159
1 vote
1 answer
44 views

cURL error(28) in laravel when accessing internal php files

I am trying to do a POST request to my classless personal-api.php file located at http:ip.address:port\public\api\personal\personal-api.php but it returns a cURL error(28) I am using Http facade to ...
bitmarksss's user avatar
1 vote
0 answers
63 views

Issue with Multiple Laravel API Requests via cURL on Nginx in Laragon [duplicate]

I'm trying to configure Nginx with PHP 7.4 NTS in Laragon and I'm encountering an issue with making (probably concurrent?) API requests. My Setup: Operating System: Windows (using Laragon) Web Server:...
Filbert Umbawa's user avatar
1 vote
1 answer
29 views

cookie jar not saving cookies

function 3rd_party(){ $cookie_path = __DIR__ . '/cookies.txt'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'xyz.com'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); ...
Pradeep's user avatar
  • 11
1 vote
1 answer
343 views

windows curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate

When doing a composer update on my Laminas projects with composer (on a Windows Machine with PHP 8.3 and Apache 2.4) out of the blue this error appeared 2 days ago (before that I used it with success):...
Jilco Tigchelaar's user avatar
-1 votes
1 answer
132 views

Unable to cURL to localhost web app from within Docker container

I have a container that is running a PHP application. I also have a dotnet core application running locally on my mac to handle OIDC/Identity. I am looking to integrate the two but am having trouble ...
shenn's user avatar
  • 886
0 votes
1 answer
56 views

Image is being corrupted when sent through cURL [duplicate]

I'm trying to use the following code to transfer an image file from my website to a Rackspace Cloud Files container: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://storage101.dfw1....
Brent Curry's user avatar

15 30 50 per page
1
2 3 4 5
1503