Jump to content

using row id as file name


zx81

Recommended Posts

how could i use the mysql row id as a file name for an image?

 

# $stock = $_POST["prod_code"];
#          $size = 75; // the thumbnail height
#          $filedir = 'cat_images/'; // the directory for the original image
#          $thumbdir = 'cat_images/'; // the directory for the thumbnail image
#          $prefix = 'small_'; // the prefix to be added to the original name
#          $maxfile = '2000000';

 

 

Link to comment
https://forums.phpfreaks.com/topic/144095-using-row-id-as-file-name/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.