python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
file_get_contents() from url that is only accessible after login (No cURL)
I would like to access a page by file_get_contents(). But, this page is accessible only after login. I was wondering how I should write the code. No cURL please, as this page doesn't allow cURL...
$co...
Jaehyuck Choi
Votes: 0
Answers: 0
php file_get_contents Failed to open stream: Resource temporarily unavailable
I have the following code which works most of the time, but still sometimes generates this warning in the error.log:
[Wed Mar 30 11:22:24.266675 2022] [php:warn] [pid 7388:tid 1204] [client 192.168.17...
coderZev
Votes: 0
Answers: 1
set timeout for slow download using file_get_content or CURL
I'm downloading files from external servers. In most cases everything works fine, but with 2 servers i have problem. Sometimes, randomly, they send files very slow.
I don't get timeout, because i conn...
MatKus
Votes: 0
Answers: 0
Google recaptcha V3 response array NULL on live server but works on localhost
I have the following problem: My code works on localhost but doesn't work on live server.
My code:
$recaptcha_url = 'https://www.google.com/recaptcha/api/siteverify';
$recaptcha_secret = 'CAPTCHA_SECR...
kopasz
Votes: 0
Answers: 1