Related Articles
*NEW
PHP – File Upload Filter ($_FILES)
If you allow you users to upload files to your web server you will probably want to create some restrictions. You can block uploads based off of file size, extension, or if a filename already […]
MySQL Introduction (NEW)
MySQL – HTML Form Validation with PHP (filter_var)
You can validate that variable values look how they are supposed to by using filter_var in PHP. Filter_var determines if an email address, IP address, Int, Float, etc are formatted how they are supposed to […]
*NEW
PHP – Parse Filenames and Paths with pathinfo()
The pathinfo() function allows you to turn a filepath into an Array and then interact with the keys of the Array. You can grab the Filename, Extension, Folder Name and Basename. pathinfo() https://www.php.net/manual/en/function.pathinfo.php https://www.w3schools.com/php/func_filesystem_pathinfo.asp pathinfo.php
Be the first to comment