PDA

View Full Version : Image Upload PHP Help


ManagerJosh
01 Dec 2002, 00:41
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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
01 Dec 2002, 01:10
Here is another file that might be used during the upload procedure.

ManagerJosh
01 Dec 2002, 01:48
MySQL Database Structure of Table: manufacturers