Bryan Henry wrote:
Chmod and file_exists report that the file does not exist,
even though I can view the files via the FTP client.
This is a permissions problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Browser and FTP client act as if the image
files do not exist, even though the directory
contents can be views via FTP...
What did I do?
Bryan
On Thu, 26 Feb 2004 17:56:25 -0600, Bryan Henry <[EMAIL PROTECTED]>
wrote:
Hello all,
I wrote a small script to rename a few thousand images,
both g
>I wrote a small script to rename a few thousand images, both gif and
>jpeg... After running the script, none of the renamed images can be
>viewed or downloaded.
>
>I now have over 3000 images I cannot download or view on our website.
>What about rename caused this?
Well, on line 5 of your script.
Here is the script I used to rename images.
foreach ($config as $line) {
if ( $line == "" ) next($config);
elseif ( $line == "\n" ) next($config);
elseif ( strstr($line,"#")) next($config);
else {
$value = split(Chr(9),$line);
$imgs[$value[0]] = $value[1];
Chmod and file_exists report that the file does not exist,
even though I can view the files via the FTP client.
bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5 matches
Mail list logo