Aha, und was ist das dann ?
Code:
<script language="JavaScript">
function past_pic(past_pictext) {
opener.document.send.IMG.value += past_pictext+" ";
opener.send.IMG.focus();
}
</script>
<form action="index2.php" method="POST" ENCTYPE="multipart/form-data">
<input type="hidden" name="submit" value="1">
<input type="file" name="userfile">
<input type="submit" value="Bild hochladen">
</form>
<script language='javascript'>postamble();</script>