RE: [PHP-DB] Help/Advice/Suggestions need to Upload 9 images on one submit button.
| From: | John W. Holmes | Date: | Mon, 27 Jan 2003 17:22:19 +0000 |
| Subject: | RE: [PHP-DB] Help/Advice/Suggestions need to Upload 9 images on one submit button. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25172@lists.php.net to get a copy of this message | ||
> Can any one guide me through the uploading file procedure please?
> Should I use copy() function to copy the image file to a temp file and
> rename it to the real name and then reference the name in the data
base.
> Or is there any other way.
> Should say though my Service Provider does not support exec("cp
$picture
> /full/path/to/joesauto/images/$picture_name") as explained in one of
the
> article in phpbuilder by Willim Samplonius.
You should be able to use move_uploaded_file() instead of the exec()
call.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/