-Original Message-
From: caspar kennerdale [mailto:[EMAIL PROTECTED]
Sent: 14 July 2003 21:05
If you want the file to go into a holding location until your
administrator
can approve it and move it to its real final location, then
the holding
location should be the target of
Thanks for everyones help
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 10:19
To: 'caspar kennerdale'; Php-General
Subject: RE: [PHP] Moving Files/ Temporary Names
-Original Message-
From: caspar kennerdale [mailto:[EMAIL PROTECTED
I was hoping someone might clarify what may seem like a basic point. I looked in the
archives but didnt seem to get my answer.
I am creating a basic set of functions that will form the back bone of an image
gallery and a directory handler.
I am trying to crate the function that will allow the
-Original Message-
From: caspar kennerdale [mailto:[EMAIL PROTECTED]
Sent: 14 July 2003 18:49
I was hoping someone might clarify what may seem like a basic
point. I looked in the archives but didnt seem to get my answer.
I am creating a basic set of functions that will form the
I am trying to crate the function that will allow the
administrator to Move a selected file to a different folder.
I have looked at move_uploaded_file () and it seems that
the source file to move needs to actually be the file's temp name.
If the file has recently been uploaded then the
caspar kennerdale wrote:
- I'm a little confused. The files are already in there real location. It is
just that someone may want to change that location at a later date.
e.g. they upload an image to a folder and two months later decide it is
better placed in a different folder.
Or am I missing
On Monday, July 14, 2003, 11:04:48 PM, caspar wrote:
ck If you want the file to go into a holding location until your administrator
ck can approve it and move it to its real final location, then the holding
ck location should be the target of the move_uploaded_file(). This makes it up
ck to you
In your application code ... you can implement a move() function that
can either call the unix (mv) or windows (move) commands to move the
file to another location (same permission restrictions apply). The
thing about move is, its a copy + delete function in one, so you have
to be careful about
8 matches
Mail list logo