All pastes #539062 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-05 05:18 UTC
rendered paste body
<?php

error_reporting(E_ALL);

$image = $_POST["image_file"];

$uniq = uniqid("img_");

if(!copy($image, "clothing/".$uniq)) {

	echo "File did not copy";

}

?>

<img src="<?php echo "clothing/".$image; ?>" alt="..."  />

<?php