Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Transaction Patterns » Filepicker - getDir()
Re: Filepicker - getDir() [message #7435 is a reply to message #7434] Fri, 27 March 2020 05:58 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
If you want to store only the file name in the database and not the full path then you should use code similar to this:
$filename = basename($filepath);


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Output2 - Options / 90° cell rotation
Next Topic: Alternative to the LINK1 pattern
Goto Forum:
  


Current Time: Sun Nov 24 07:32:02 EST 2024

Total time taken to generate the page: 0.03683 seconds