Make your own free website on Tripod.com

Add Products


Choose a product category

Choose product items to add to your product pages

item name

item description

item price

upload image


File Upload Results Image is unknown
'; //echo "
Back
"; break; case 1: echo '
Image is a GIF
'; echo 'Image uploaded!!'; //echo "
Back
"; $dest = $uploadpath.uniqid('img').'.gif'; break; case 2: echo '
Image is a JPG
'; echo 'Image uploaded!!'; //echo "
Back
"; $dest = $uploadpath.uniqid('img').'.jpg'; break; case 3: echo '
Image is a PNG
'; echo 'Image uploaded!!'; //echo "
Back
"; $dest = $uploadpath.uniqid('img').'.png'; break; } if ($source_type = 'text/plain') { echo '
The name of the uploaded files is: '; echo "$source_name"; } // put the file where we'd like it $upfile = $uploadpath . $source_name; // is_uploaded_file and move_uploaded_file added at version 4.0.3 if (is_uploaded_file($source)) { if (!move_uploaded_file($source, $upfile)) { echo 'Problem: Could not move file to destination directory'; exit; } } else { echo 'Problem: Possible file upload attack. Filename: '.$source_name; exit; } if ( $dest != '' ) { if ( move_uploaded_file( $source, $dest ) ) { echo 'File successfully stored.
'; echo ''; echo "Name is:".$dest."
\n"; echo ''; } else { echo '.
'; } } } else { echo 'File not supplied, or file too big.
'; } ?>
"; $result = mysql_query($theSQL); echo "

"; ?> "; #run loop to display HTML table of gallery images while($products = mysql_fetch_array($results)){ echo " ".$products[3]."
".$products[3].""; } ?>
"; echo "Thanks, the items have been added to category

"; echo " The items that you have add to the category are:
Product Items: $txtprodItems
Cat Id: $txtCatID
Item Description: $txtItemDesc
Item Price: $ $txtItemPrice
Item Image: $txtItemImage "; } else { echo "


You Have To Enter In All Information Before Results Can Show"; } ?>