Re: Can't find existing file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 22, 2010 at 14:24, Dee Ayy <dee.ayy@xxxxxxxxx> wrote:
> 1)
> Warning: getimagesize("./photos/HPR-130-260_HD-3070-1.jpg"): failed to
> open stream: No such file or directory in ... on line ...
>
> ls ./photos/HPR-130-260_HD-3070-1.jpg
> ./photos/HPR-130-260_HD-3070-1.jpg
>
> ls "./photos/HPR-130-260_HD-3070-1.jpg"
> ./photos/HPR-130-260_HD-3070-1.jpg
>
>
> 2) Similarly...
> Also trying
> $cmd = 'cp '.$src.' '.$dst;
> exec($cmd);
>
> And some files failed to copy.  I assumed it was due to spaces in the
> name, so I double quoted them.  For example:
> cp: ./photos/Nozzle 130 Amp SS Alum 94-00994-06 220197.JPG: No such
> file or directory
>
> ls "./photos/Nozzle 130 Amp SS Alum 94-00994-06 220197.JPG" FAILS THOUGH
>
> cp ./photos/Nozzle\ 130\ Amp\ SS\ Alum\ 94-00994-06\ 220197.JPG ... ALSO FAILS
>
> Help.

    Well, I'm not the most brilliant man in the world, but it sounds -
based upon your very vague description - as though the file doesn't
exist.

-- 
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux