Answer the question
In order to leave comments, you need to log in
File_get_contents not opening image?
Hey!
Such a thing.
I make a request, I want to upload an image.
file_get_contents('http://sites.vu/images/110973.jpg');
Warning: file_get_contents(http://sites.vu/images/110973.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/engine.sites.vu/public/engine/moduls/sites/go_pleas.php on line 9
Answer the question
In order to leave comments, you need to log in
Read the documentation: php.net/manual/ru/function.file-get-contents.php
somehow I can’t understand what it is to upload and file_get_contents. what is the relationship? file_get_contents - read into a string from some resource. please give more complete code to make it clear why it doesn't work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question