[Vtigercrm-commits] [vtiger development] #4461: Problem in Attching FIle With ' and "
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Nov 23 09:05:56 EST 2007
#4461: Problem in Attching FIle With ' and "
------------------------+---------------------------------------------------
Reporter: vamsee | Owner: developer
Type: defect | Status: new
Priority: major | Milestone:
Component: vtigercrm | Version: 5.0.4
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by prasad):
When the filename has ' (single quotes) it value is not properly captured
inside PHP by $_FILES as reported on http://in.php.net/features.file-
upload
A workaround fix is also suggested which involves having a hidden text
filed for every file type input and populate its value after the file is
selected.
Refer: http://in.php.net/manual/en/features.file-upload.php#64087
To get only file name (given the complete file path, windows/linux) using
javascript the function getFileNameOnly could be used as described on:
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4439
Hope these information is useful.
Regards,
Prasad
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4461#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list