PDA

View Full Version : Image Upload PHP Help


ManagerJosh
11-30-2002, 11:41 PM
Could someone give me some assistance with this script? I can't seem to make this script to upload to $imagedirectory.$manufacturer_directory

I think I'm not doing the queries properly (i might be wrong) (Line 380)


Trying to accomplish this:

When I select something from
<?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, $pInfo->manufacturers_id); ?>

Using the UserID, it queries the MySQL Table: Manufacturers and retrieves data from the field, manufacturers_directory and inserts the that information into $imagedirectory.$manufacturer_directory creating this.

Assuming that $imagedirectory is
/home/httpd/vhosts/mysite.com/public_html/images/

the end result will be:

/home/httpd/vhosts/mysite.com/public_html/images/$directory

ManagerJosh
12-01-2002, 12:10 AM
Here is another file that might be used during the upload procedure.

ManagerJosh
12-01-2002, 12:48 AM
MySQL Database Structure of Table: manufacturers