Kiran Bhor
1 min readMay 12, 2020

File operations in PHP

When we consider any real world application, File management is one of the most commonly used feature. It could be saving the file uploaded by user in appropriate folder, verifying the file type and file size, changing the file permissions, resizing image etc.

Php provides file management functions which we can use to accomplish such file operations in our applications.

We will go through various file functions available in php.

Opening a file

Php ‘fopen()’function is used to open a file. It returns a file resource or a pointer to a file specified in the parameter.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Kiran Bhor
Kiran Bhor

Written by Kiran Bhor

Cofounded Accunity Services (Software Consultancy Firm) and Passionate Coder at Heart. reach me at kiran@accunityservices.com

No responses yet

Write a response