il mio frame e`
<Iframe src="groupIconBrowse.php" title="Group Icon Upload Utility" width="500" height="300" frameborder="0" marginwidth="0" marginheight="0"></iframe>

questo e` il codice che lo richiama nella pagina principale.
Poi il codice del frame e`:

<?php
include("calendar_header.php");

if($_POST["Attach"] != ""){

$filename = $HTTP_POST_FILES['userFile']['name'];
$type = $HTTP_POST_FILES['userFile']['type'];
$location = $_POST["toLocation"];
$continueUpload = true;

if($continueUpload == true){
if($filename == "")
print("Error : File not selected");
else{
if(!copy($HTTP_POST_FILES['userFile']['tmp_name'],($location . "/" . $filename))){
print("Error : failed to copy the icon file into the calendar");
}else
print($filename . " - TESTED
" );
$uploadedIconName = $filename;
}}}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="description" content="addDescription" />
<meta name="keywords" content="addKeyword" />
<meta name="author" content="www.kc3.net - Internet Solutions Provider. Please email sales@kc3.net for further information." />
<?php if($IsLoggedIn == 1){ ?>
<style type="text/css">
<!--
table.Standard{
width:auto;
}
-->
</style>
<?php } ?>
</head>
<body>
<?php if(allowAccess(2)){ ?>
<form action="groupIconBrowse.php?idEvent=<?php print($idEvent); ?>&idGroup=<?php print($idGroup); ?>iframeRefresh=1" method="POST" name="eventForm" id="eventForm" enctype="multipart/form-data">

<input name="toLocation" type="hidden" value="<?php print($_SERVER['DOCUMENT_ROOT'] . "/phptest/images/icons"); ?>" size="20" maxlength="255" />
<input name="userFile" type="file" value="<?php print($fileName); ?>" size="48" maxlength="255"/>
<input type="submit" value="Attach" name="Attach" />
</form>
<?php if( $uploadedIconName != ""){ ?>
<script language="javascript">
pageFormMode = top.groupForm.pageFormMode.value
groupName = top.groupForm.groupName.value
idGroup = top.groupForm.idGroup.value //top.location.href="groups.php?iconFilename='<?php print($uploadedIconName); ?>'&FormMode=' + pageFormMode + '&groupName=' + groupName + '&iframeRefresh=1&idGroup=' + idGroup" top.location.href="groups.php?iconFilename=<?php print($uploadedIconName); ?>&iframeRefresh=1"
//top.location.reload()
</script><?php } } ?>
</body>
</html>

c'e php in mezzo, ma comunque all'interno del frame c'e` una form per fare l'upload di un file, niente di piu`.