hi drj478,
i am fairly new to PHP so i am having a little trouble piecing it together. here is what i have:
foreach($_FILES as $file_name => $file_array) {
$rnd = sprintf("%08d", floor(rand(0,100000000)));
if (is_uploaded_file($file_array['tmp_name'])) {
move_uploaded_file($file_array['tmp_name'],
"$file_dir/$rnd-$file_array[name]"

or die ("Couldnt copy"

;
chmod("$file_dir/$rnd-$file_array[name]",0644);
//print "<br><br><h2><center><b> File type is valid, and was successfully uploaded.</b></h2><br>\n ";
//print "<h1><b>Congratulations!!!</b></h1><br><br>\n ";
$image = "$rnd-$file_array[name]";
print "Your file has been uploaded to SkyLinePrints.com for processing. Please ";
print "write down your confirmation number listed below and refer to it with ";
print "any questions about your order. <br><br>\n ";
//print "To <strong>complete</strong> your order for a <strong><font color=#FF0000> $msg </font></strong>, choose the <strong>&quot;ADD To Cart&quot; </strong><br>\n ";
//print "button and <strong>complete the checkout process.</strong> <br><br>\n ";
//print "Once payment is confirmed, your order will be processed and shipped immediately. ";
//print "Upon completion, we will send you an email confirming your order is ";
//print "finished and has been shipped. <br><br>\n ";
//print "Thanks for the opportunity to serve you. </center><br><br>\n ";
}
}
}
?>
</div>
<div id="Layer3" style="position: absolute; left: 442px; top: 300px; width: 390px; height: 19px; z-index: 3"><strong>ORDER
CONFIRMATION: <?php echo $rnd; ?></strong></div>
<div id="Layer4" style="position: absolute; left: 508px; top: 325px; width: 239px; height: 66px; z-index: 4">
<form action="
method="post" name="payment" target="paypal" id="payment">
<p>
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="bn" value="wa_dw_3.0.4">
<input type="hidden" name="business" value="skylineprints@bellsouth.net">
<input type="hidden" name="item_name" value="<?php echo $msg; ?>">
<input type="hidden" name="amount" value="<?php echo $pamt; ?>">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="
<input type="hidden" name="cancel_return" value="
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="0">
<strong>Step 4:</strong>
<input type="hidden" name="on0" value="CONFIRMATION: <?php echo $rnd; ?>">
<input type="image" name="submit" src="
border="0" alt="It's going to look Great! ">
</p>
</form>
<p></p>
&copy; SkyLinePrints.com</div>
<div id="Layer5" style="position: absolute; left: 566px; top: 395px; width: 123px; height: 19px; z-index: 5">
<p align="center"><a href="../../merchandise/apparel.htm">Back to Shopping</a></p></div>
<div id="Layer6" style="position:absolute; left:394px; top:139px; width:152px; height:151px; z-index:6"><img name="customerpicture" src="<? echo $image; ?>" width="150" height="150" alt="It's going to look GREAT!!"></div>
</body>
</html>
the image wont display. :-( can you offer any suggestions?
Have A Great Day!!!,
Nathan
Software Testing Lead