i have tried what you recommended and still nothing. this is my code, maybe im overlooking some small detail:
this is the page where the applet lives:
<?php session_start(); ?>
<?php require('../own_site_dev/_includes/db_info.php')?>
<?php require('../own_site_dev/_includes/db_connect.php')?>
<?php require('../own_site_dev/_includes/head.php')?>
<!-- BODY -->
<!-- WRAP -->
<div id="wrap">
<?php require('../own_site_dev/_includes/header.php')?>
<?php require('../own_site_dev/_includes/nav.php')?>
<div id="content">
<?php require('../own_site_dev/_includes/left_col.php')?>
<div id="main_content">
<?php
$user=$_SESSION['myemail'];
$gallery = $_POST["gallery"];
$user = preg_replace("/[^a-zA-Z0-9\s]/", "", $user);
$upload_directory = "/var/www/own_site_dev/galleries/".$user."/".$gallery;
if (!is_dir("/var/www/own_site_dev/galleries/".$user)){
mkdir("/var/www/own_site_dev/galleries/".$user, 0777);
mkdir("/var/www/own_site_dev/galleries/".$user."/".$gallery, 0777);
}
else {
mkdir("/var/www/own_site_dev/galleries/".$user."/".$gallery, 0777);
}
if (is_dir("/var/www/own_site_dev/galleries/".$user."/".$gallery)){
echo $gallery." has been created successfully created";
}
?>
<div>
<script type="text/javascript">
var _info = navigator.userAgent;
var _ns = false;
var _ns6 = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
if (_info.indexOf("Opera") > 0) _ie = false;
var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));
var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
if (_ie == true) {
document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="475" HEIGHT="475" NAME="fileupload" codebase="
http://java.sun.com/update/1.4.2/jinsta ... on=1,4,0,0">');
}
else if (_ns == true && _ns6 == false) {
// BEGIN: Update parameters below for NETSCAPE 3.x and 4.x support.
document.write('<EMBED ');
document.write('type="application/x-java-applet;version=1.4" ');
document.write('CODE="jfileupload.upload.client.MApplet.class" ');
document.write('JAVA_CODEBASE="./" ');
document.write('ARCHIVE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/previewui.jar,lib/ifilter.jar" ');
document.write('NAME="fileupload" ');
document.write('WIDTH="640" ');
document.write('HEIGHT="350" ');
document.write('url="
http://mine.com/own_site_dev/process.php" ');
document.write('paramfile="uploadfile" ');
document.write('param1="todo" ');
document.write('value1="upload" ');
document.write('transferui="jfileupload.transfer.client.preview.PreviewerTransferUI" ');
document.write('resources="i18n_bar" ');
document.write('transferuiresources="i18n_pane" ');
document.write('mode="http" ');
document.write('scriptable=true ');
document.writeln('pluginspage="
http://java.sun.com/products/plugin/ind ... "><NOEMBED>');
// END
}
else {
document.writeln('<APPLET CODE="jfileupload.upload.client.MApplet.class" JAVA_CODEBASE="./" ARCHIVE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/previewui.jar" WIDTH="475" HEIGHT="475" NAME="fileupload">');
}
// BEGIN: Update parameters below for INTERNET EXPLORER, FIREFOX, SAFARI, OPERA, MOZILLA, NETSCAPE 6+ support.
document.writeln('<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">');
document.writeln('<PARAM NAME=CODEBASE VALUE="./">');
document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/previewui.jar,lib/ifilter.jar">');
document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
document.writeln('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">');
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="url" VALUE="
http://mine.com/own_site_dev/process.php">');
document.writeln('<PARAM NAME="paramfile" VALUE="uploadfile">');
document.writeln('<PARAM NAME="param1" VALUE="todo">');
document.writeln('<PARAM NAME="value1" VALUE="upload">');
document.writeln('<PARAM NAME="transferui" VALUE="jfileupload.transfer.client.preview.PreviewerTransferUI">');
document.writeln('<PARAM NAME="resources" VALUE="i18n_bar">');
document.writeln('<PARAM NAME="transferuiresources" VALUE="i18n_pane">');
document.writeln('<PARAM NAME="mode" VALUE="http">');
document.writeln('<PARAM NAME="filter" VALUE="jfileupload.upload.client.filter.ImageFilter">');
document.writeln('<PARAM NAME="filterproperties" VALUE="scaling.properties">');
document.writeln('<PARAM NAME="forward" VALUE="
http://mine.com/own_site_dev/">');
document.writeln('<PARAM NAME="post" VALUE="
http://mine.com/own_site_dev/multi_test.php">');
document.writeln('<PARAM NAME="postparameters" VALUE="extra">');
document.writeln('<PARAM NAME="param8" VALUE="upload_directory">');
document.writeln('<PARAM NAME="value8" VALUE="<?php echo $upload_directory; ?>">');
// END
if (_ie == true) {
document.writeln('</OBJECT>');
}
else if (_ns == true && _ns6 == false) {
document.writeln('</NOEMBED></EMBED>');
}
else {
document.writeln('</APPLET>');
}
//-->
</script>
</div>
<?php require('../own_site_dev/_includes/right_col.php')?>
<?php require('../own_site_dev/_includes/footer.php')?>
</div>
and this is the first couple lines of process.php, i havent changed anything else other than the first couple lines:
<?php
$upload_dir=$_POST['upload_directory'];
$max_size = 1500000000;
$createsubfolders = "true";
$keepalive = "false";
$resume = "false";
...
am i missing something?
thank you again for oyur quick response