Tag : File

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




Laravel Vue JS File Upload Using vue-dropzone Example

Laravel Vue JS File Upload Using vue-dropzone Example

When we require to add drag and drop file upload then we always choose dropzone js for that because it is awesome. So in this tutorial, i would like to share with you vue js file upload using vue-dropzone component in laravel. basically, you can also use dropzone js in your vue js script. Here, i c.....

By Hardik Savani | August 11, 2018 | Category : PHP Laravel Vue.JS

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 file size from URL in Laravel 5?

How to get file size from URL in Laravel 5?

We sometimes require to get file size from path in laravel, so if you need to get file size from url then no worry and you can get using File facade. File facade provide several function that way we can get size of file or image. In bellow example i just give you path of my images folder inside pub.....

By Hardik Savani | July 18, 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 get filename without extension in PHP?

How to get filename without extension in PHP?

If you need to get just filename from url withour file extension then you can get that using basename() php function. In bellow example i give you how to get image name without extension. first we need to get extension of given filename url and then basename() through we can remove that extension li.....

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

Laravel 5 create and download zip file example using chumper/zipper composer package

Laravel 5 create and download zip file example using chumper/zipper composer package

Sometimes, we need to create file of our project directory and give to download that zip file to users. we are always prefer zip file because it is very safe and secure from virus. If you want to generate zip file and donwload that file in your laravel 5 application then you do it easily using chump.....

By Hardik Savani | May 10, 2016 | Category : Laravel

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 check if file exists or not in Laravel 5?

How to check if file exists or not in Laravel 5?

Nowdays laravel framework is popular framework in PHP Language. So, if you required to check if file is exists or not in given path then you can check eisily. Normally we always need to check if image exists, check if pdf file exists, check if docs exists or not etc. I give you two way to check file.....

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

How to check if View Exists or not in Laravel 5?

How to check if View Exists or not in Laravel 5?

In some situations, we require to check if view exists then render view otherwise display something else. But you can perform this task using "exists" function of view helper. It will return true or false. So you can use bellow example. <strong class="example">Example:</strong> <pre class="prettypr.....

By Hardik Savani | April 12, 2016 | Category : Laravel

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