How Can PHP Sanitize Filename for Windows, Linux and other Systems - PHP Sanitize Filename String package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP Sanitize Filename String PHP Sanitize Filename String   Blog PHP Sanitize Filename String package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can PHP Sanitize ...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2020-08-30

Posted on: 2020-08-30

Viewers: 128 (August 2020)

Package: PHP Sanitize Filename String

When applications need to create files, it is convenient to only use ASCII characters in the file names to avoid portability problems when those files may be used by people that have computers or mobile devices that use different operating systems.

This package can not only replace non-ASCII characters by similar ASCII character versions in a string, but it can also rename a file that has non-ASCII characters to use only similar ASCII characters.




About the PHP Sanitize Filename String Package

The package PHP Sanitize Filename String is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Change file name to use only ASCII characters

Here follows in more detail what it does:

This class can change file name to use only ASCII characters.

It can take a given string of a file and replaces non-ASCII characters by other ASCII characters that are more similar to the original characters.

The class can also rename a existing file named with the given input string and rename it to a new file name that has only the ASCII characters after that file name string has been sanitized.

Conclusion

The PHP Sanitize Filename String can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

1,562,724 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   PHP Sanitize Filename String PHP Sanitize Filename String   Blog PHP Sanitize Filename String package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can PHP Sanitize ...  

For more information send a message to info at phpclasses dot org.