Jump to content

ownership of files


drifter

Recommended Posts

I have folder with a ton of thumnails.

I resize with the whole  code like

                  $im = imagecreatefromjpeg($source);


I did try out using the method

  exec("/usr/bin/convert $large -thumbnail '240x240>' $mediumlarge");

now lately when using the first method (which is the one I want to stick with) I am getting some failed to write errors. My only guess is that maybe some of these images were created by the other method so they have a different owner? I am not really sure how to tell.

is there a command that I can type into php or command line that I can see who owns a specific file? the dir has like over a million pics, so just listing them will not work much.

Thanks
Scott


Link to comment
https://forums.phpfreaks.com/topic/30073-ownership-of-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.