PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$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';
at present it uses the product code which is leading to problems and as i later want to be able to change the image.
$stock = $_POST["id"];
$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';