Path Directory Separator
Posted: Fri Jan 22, 2010 2:42 pm
Hi,
I'm using JFileUpload with ftp mode and "longer" or "exta" set in "postparameters".
When I read the posted parameters I get the directory of uploaded files without the separator
(C:UsersspirosDocumentsmain.pdf instead of C:\Userss\piros\Documents\main.pdf)
I'm using windows 7 with Apache and FileZilla as test machine.
The JFileUpload is embedded in a joomla cms and I'm using
$filename = JRequest::getVar('filename1', '') to get the posted parameters
what I'm doing wrong?
Thanks
I'm using JFileUpload with ftp mode and "longer" or "exta" set in "postparameters".
When I read the posted parameters I get the directory of uploaded files without the separator
(C:UsersspirosDocumentsmain.pdf instead of C:\Userss\piros\Documents\main.pdf)
I'm using windows 7 with Apache and FileZilla as test machine.
The JFileUpload is embedded in a joomla cms and I'm using
$filename = JRequest::getVar('filename1', '') to get the posted parameters
what I'm doing wrong?
Thanks