Answer the question
In order to leave comments, you need to log in
Why can't Imagick find the file?
Hello, I have this code:
$path = "public/content/".time().".png";
if(!empty($_POST['url']))
{
file_put_contents($path, file_get_contents($_POST['url']));
}
echo '<img src="'.$path.'">';
$imagick = new Imagick($path); // и тут ничего не работает, пишет, что не находит файл. если работать с $_FILES, то все работает, но загрузку по пути он не делает
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question