Answers for "get file object php"

PHP
7

php get file contents

<?php
file_get_contents("file.txt");
?>
Posted by: Guest on May-12-2020
0

which is file attributes in php

ATTRIBUTE					DESCRIPTION
  [name]					Name of the which is uploading
  [size]					Size of the file
  [type]					Types of the file (like .pdf,.zip,.jpeg....etc)
  [tmp_name]				A temporary address where the file is located before processing the upload request
  [error] 					Types of error occurred when the file is uploading
Posted by: Guest on December-21-2020

Browse Popular Code Answers by Language