2 ms·
Streams used to be the less secure option and CURL was recommended instead because it meant fopen() calls couldn't be hijacked for remote include vulnerabilitie
by porker 12y ago
Streams used to be the less secure option and CURL was recommended instead because it meant fopen() calls couldn't be hijacked for remote include vulnerabilities and the programmer had to at least mean to include a remote file.
I have to admit I've continued to avoid streams much of the time for this reason - even though they are useful.