Page 1 of 1

File Upload - userfile not getting passed

Posted: Wed Dec 12, 2007 4:04 pm
by bobmeetin
I have a simple file upload script which works outside of joomla, but within it fails to upload or even display the common userfile variable. It does see and pass other values, such as $fname in this case. 

I am using JUMI to access the script.  In the page contents detail I have.  You can get to the upload form at:

http://www.dottedi.biz/jvm13a/
select Upload Form from the bottom of the Main Menu.

The upload form itself looks something like:


$fname = htmlspecialchars(stripslashes($_POST['fname']));
$userfile = htmlspecialchars(stripslashes($_POST['userfile']));

echo "

userfile: $userfile
fname: $fn

"; // purpose is to output value of userfile for testing only

// As this is in test mode to troubleshoot userfile, I don't have any save file processing action in this example.
?>


 

Upload File




echo "
 


 
 
 



 


 
 
 


";
?>




------------>>  Suggestions please?  -Bob