[PHP-AS] File upload without form?

I wonder…

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

	<title>HTML Form</title>
	<form name="upload" method="post" action="up.php" enctype="multipart/form-data">
	 <input type="file" name="Image"><br>
	 <input type="submit" value="Upload Image">
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;'>

Can it be triggered directly from PHP?

echo $apr;