[PHP-AS] File upload without form?

I wonder…

Uploading a file with php is fairly simple, using a html form:

<html>
<head>
	<title>HTML Form</title>
</head>
<body>
	<form name="upload" method="post" action="up.php" enctype="multipart/form-data">
	 <input type="file" name="Image"><br>
	 <input type="submit" value="Upload Image">
	</form>
</body>
</html>
<?php
copy ($_FILES['Image']['tmp_name'], $_FILES['Image']['name']) or die ('Could not upload');
?>

The problem: I want the upload to be triggered from AS, without using the form, thus, making PHP prompt the “browse…” window directly…

This is possible with javascript, but also means brower-hell.

<form method="POST" enctype="multipart/form-data" name="form1">
<input type="file" name="F1" size="20" style='display: none;'>
</form>
<SCRIPT LANGUAGE=JavaScript>
document.form1.F1.click();
</script>

Can it be triggered directly from PHP?

$apr=‘Cheers’;
echo $apr;