Uploaded File Name
-
Hello,
I am using your plugin and I need a little help. I have added 4 extra fields named ‘file’,’file1′,’file2′,’file3′ to provide my users the facility of uploading there files and sharing them on the site.
But the problem is now on the file name. I am using this code:
$values = get_cimyFieldValue(3, false); foreach ($values as $value) { echo cimy_uef_sanitize_content($value['VALUE']).'<br/>'; }
This is showing the name of the file with the directory address. Like: https://localhost/sumon/wp-content/Cimy_User_Extra_Fields/rasel/file/After-a-Meal-.pps
But I would like to show only the name, as: After-a-Meal-.pps
How can I do so?
https://www.ads-software.com/plugins/cimy-user-extra-fields/
- The topic ‘Uploaded File Name’ is closed to new replies.