mardi 27 octobre 2015

Copy images form another sites to our site with PHP(laravel 5)

I have a direct admin with a shared host. I want to copy images from another websites that I find those URLs from google. we have some functions for do this :

  • file_get_contents()
  • copy()

these functions are works truly in normal route request with browser , and image uploaded . but when I use astisan CLI to do this it not works...

my configuration for CLI and using cron and others are true and just 'copy' and 'file_get_contents' not works...

where is the problem?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1PRoSog
via IFTTT

Aucun commentaire:

Enregistrer un commentaire