You are here: FILE structure « PHP Programming Language « IT news, forums, messages
FILE structure

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация