Please Log in to join the conversation.
Pena007 wrote: Files whose names contain numbers or numbers and letters of the Latin alphabet are loaded normally. Nested groups are not used
/[^-a-zA-Z0-9_]/
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Pena007 wrote: Yes, if there is at least one Latin character or digit, then the file is loaded
$uploaded_name = preg_replace( '/[^-a-zA-Z0-9_]/', '', pathinfo( $value['name'], PATHINFO_FILENAME ) );
$uploaded_name = pathinfo( $value['name'], PATHINFO_FILENAME );
Please Log in to join the conversation.