|
Posted by Bob Bedford on 05/23/05 12:37
I've created a function with takes some files (input type="file") as
parameter.
Now, since this is an array of a structure, I'd like to fill this structure
with my own datas, as I'd like to use the same function but not from a form,
but from a self created PHP script.
my function has the file parameter;
myfunction($files)
I've seen there is a $file['file1']['tmp_name'] field. But how to save the
datas.
In my case, the files are actually on my server (a program upload files on a
directory of the server). I must use those files (actually images) to save
them somewhere else on the site, after renaming and putting some records in
the mysql database.
How to fill such $file structure with the different .jpgs ?
Thanks
Bob
Navigation:
[Reply to this message]
|