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)
Is it okay to read text files as binary?
I am working on GLSL shader program loader. The shader programs are just plain texts with source code inside. I can open them by calling fopen() in binary mode, it is much easy. But as my source files...
Alex
Votes: 0
Answers: 4
How to use multiple async fread with Fibers in PHP?
I would to like to get contents from each url in a list using fread and Fibers where each stream does not need to wait a feof to run another fread in another url
My current code is the follow:
<?ph...
celsowm
Votes: 0
Answers: 1
how to fix fopen unexpected 400 bad request error when url contains ghost word “- H”?
everyone, I have a super werid problem:
I'm using php7.4 on ubuntu18.04, and I want to fetch my remote resource using fopen.
This is sample code:
// That's say remote file name: "- h.zip"
fo...
Yan
Votes: 0
Answers: 1
Windows doesn't update last access time if opening it with fopen()
As the title says i am trying to determine if someone has accessed a file even using fopen.I have enabled Windows NTFS Last Access Time Stamps but it only works if i open the file normal.Is there any ...
makeleio
Votes: 0
Answers: 0