RE: [PHP] rename an uploaded file.

2005-08-11 Thread Ford, Mike
On 10 August 2005 22:19, Richard Lynch wrote: > You can also, in some versions, "get away" with having \ > inside of "" so > long as the following character isn't special: > $string = "C:\homedirectory\uploadedfiles\\newfile.gif"; > > Note that the 'n' character is special (newline) but 'h' and '

Re: [PHP] rename an uploaded file.

2005-08-10 Thread Richard Lynch
On Tue, August 9, 2005 6:16 am, Stut wrote: > Colons (:) are not allowed in Windows filenames. Of course they aren't allowed in file NAMES -- Because they are an integral part of a drive letter designation such as "C:" which is what is being used here. There's nothing wrong with the C: part of t

Re: [PHP] rename an uploaded file.

2005-08-09 Thread Stut
Bosky, Dave wrote: I seem to be having some trouble renaming a file after uploading it. It always returns a warning message indicating I have an invalid attribute in my rename statement. $old = 'C:\\homedirectory\uploadedfiles\\newfile.gif'; $new = 'C:\\homedirectory\\uploadedfiles\\2005-08-

[PHP] rename an uploaded file.

2005-08-09 Thread Bosky, Dave
I seem to be having some trouble renaming a file after uploading it. It always returns a warning message indicating I have an invalid attribute in my rename statement. Thanks, Dave --- Example: $old = 'C:\\homedirectory\uploadedfiles\\newfile.gif'; $new = 'C:\\homedi