vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Image Upload PHP Help (https://vborg.vbsupport.ru/showthread.php?t=46252)

ManagerJosh 11-30-2002 11:41 PM

Image Upload PHP Help
 
1 Attachment(s)
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 Code:

<?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

1 Attachment(s)
Here is another file that might be used during the upload procedure.

ManagerJosh 12-01-2002 12:48 AM

1 Attachment(s)
MySQL Database Structure of Table: manufacturers


All times are GMT. The time now is 08:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02146 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete