Tag : Folder

ItSolutionStuff.com have tutorials for Folder tag, here you can study articles of Folder tag, Folder tag posts collection, most popular and useful tutorials of Folder tag, here you can find list of all relevant posts and example about Folder tag, we have lists of tutorials and examples about Folder tag. very simple and quick example collection of Latest Folder tag.




How to get size of directory in MB Laravel 5?

How to get size of directory in MB Laravel 5?

Mostly we require to calculate for uploaded directory size because we can see how much we size allocate in uploaded directory. If you have limited server then you always need to check how much size of data in my folder. You can also get size of directory that way you can also display on your admin.....

By Hardik Savani | July 23, 2016 | Category : Laravel

How to get folder path from file path in PHP?

How to get folder path from file path in PHP?

Sometimes, we require to get directory path from Image path or file url in our PHP website or any PHP framework website at that time we can get folder name using php pre-define function dirname. If you ever use this function then you can see as bellow example how it's works. I have one image url l.....

By Hardik Savani | July 4, 2016 | Category : PHP


How to check file is exists or not in PHP?

How to check file is exists or not in PHP?

If you need to check file is exixt or not on folder. Normally we require to check image is exist or not, video is exists or not etc. In this example i use file_exists() for determine file is available or not in given path. So if you also need check then follow bellow example: <strong>Example:</stron.....

By Hardik Savani | April 26, 2016 | Category : PHP

How to recursively change the permissions of files and directories in ubuntu?

How to recursively change the permissions of files and directories in ubuntu?

Sometimes, we need to give recursively change the permissions of specific files and directories in ubuntu OS. you can open terminal and run bellow command, so let's try this way : <strong class="example">Example</strong> <pre>sudo find foldername -exec chmod a+rwx {} ";"</pre> Give more specific! <p.....

By Hardik Savani | April 6, 2016 | Category : Ubuntu

How to count number of files in directory PHP?

How to count number of files in directory PHP?

If you are working on code php and you require to count number of files, images, zip file, rar files, etc in the given folder path, then you can count using glob() and count() of php. So, let's see this bellow example and learn how it done. <strong class="example"></strong> <pre class="prettyprint l.....

By Hardik Savani | March 14, 2016 | Category : PHP