It looks like you're new here. If you want to get involved, click one of these buttons!
<html>
<head>
<link href="/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/uploadify/swfobject.js"></script>
<script type="text/javascript" src="/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : '/uploadify/uploadify.swf',
'script' : 'uploadify.php',
'cancelImg' : '/uploadify/cancel.png',
'folder' : 'uploads',
'multi' : true
});
});
</script>
</head>
<body>
<input type="file" id="file_upload" name="file_upload" />
<a href="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a>
</body>
</html><html>
<head>
<link href="/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/uploadify/swfobject.js"></script>
<script type="text/javascript" src="/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : '/uploadify/uploadify.swf',
'script' : 'uploadify.php',
'cancelImg' : '/uploadify/cancel.png',
'folder' : 'uploads',
'multi' : true,
'onAllComplete' : function(event,data) {
document.getElementByID('someForm').submit();
}
});
});
</script>
</head>
<body>
<form id="someForm" action="someFile.php" method="post">
<input name="someField" type="text" />
<input id="someID" name="someName" type="file" />
<input onclick="$('#someID').uploadifyUpload()" type="button" value="Submit" />
</form>
</body>
</html>
<html>
<head>
<link href="/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/uploadify/swfobject.js"></script>
<script type="text/javascript" src="/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : '/uploadify/uploadify.swf',
'script' : 'uploadify.php',
'cancelImg' : '/uploadify/cancel.png',
'folder' : 'uploads',
'multi' : true,
'onAllComplete' : function() {
document.getElementByID('someForm').submit();
}
});
});
</script>
</head>
<body>
<form id="someForm" action="somefile.php" method="post">
<input name="someField" type="text" />
<input id="file_upload" name="someName" type="file" />
<input onclick="$('#file_upload').uploadifyUpload()" type="button" value="Submit" />
</form>
</body>
</html>
<html>
<head>
<link href="/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/uploadify/swfobject.js"></script>
<script type="text/javascript" src="/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : '/uploadify/uploadify.swf',
'script' : 'uploadify.php',
'cancelImg' : '/uploadify/cancel.png',
'folder' : 'uploads/',
'multi' : true,
'onAllComplete' : function() {
document.getElementByID('#testform').submit();
}
});
});
</script>
</head>
<body>
<form id="testform" action="somefile.php" method="post">
<input name="someField" type="text" />
<input id="file_upload" name="someName" type="file" />
<input onclick="$('#file_upload').uploadifyUpload()" type="button" value="Submit" />
</form>
</body>
</html>
<html>
<head>
<link href="/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/uploadify/swfobject.js"></script>
<script type="text/javascript" src="/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : '/uploadify/uploadify.swf',
'script' : 'uploadify.php',
'cancelImg' : '/uploadify/cancel.png',
'folder' : 'uploads/',
'multi' : true,
'onAllComplete' : function() {
$('#testform').submit();
}
});
});
</script>
</head>
<body>
<form id="testform" action="somefile.php" method="post">
<input name="someField" type="text" />
<input id="file_upload" name="someName" type="file" />
<input onclick="$('#file_upload').uploadifyUpload()" type="button" value="Submit" />
</form>
</body>
</html>
$myFileName = $_FILES['myfiles']['name'];
echo $myFileName;