by sachin | 24/04/17 | 1 Answers | Tags : PHP , file-system , readFile , memory-leak , memory-issue , chunk-read Views : 214
dealing with very large data file and want to read without memory crash . fread will read all content file which is time consuming and some time script goes out of order so is there any way we can read data in chunk with good library or something ? so file read in PHP so no memory issue and fast processing for large file

Read more

by yogi | 09/02/17 | 3 Answers | Tags : file-system , zip , best-way-to-code , node.js Views : 378
i want to make zip file from given some xls and text file , is that possible with Node JS

Read more

by yogi | 08/02/17 | 1 Answers | Tags : file-system , best-way-to-code , node.js , extension Views : 208
how to get file extension in Node JS ?

Read more

by sachin | 14/01/17 | 1 Answers | Tags : Javascript , file-system , how-it-work , client-side Views : 128
in client side by JavaScript . to create a text file without use of server and prompt use to save it to his Computer. possible problem :: -> not able to use client side machine to save content or save file directly Locally Creating files with JS

Read more

by chirag | 21/12/16 | 1 Answers | Tags : PHP , scandir , file-system Views : 80
want to get all executable file at provided directory in php. using PHP for some local system. where i want to keep track of all files for particular directory. so if i provide directory path than it should be give how many number of file is executable on that directory . so i start to write code with count function give me count of all files not only count of executable files, so scandir not really scan the directory . suppose is that possible i can put scandir(".exe,.sh") something like that so it can give me scanned result where only provided extension's file contained in list or scandir("executable") give me only executable files . is that possible to use scandir like this? or any other solution to get executable files for given directory ? testing with wamp .

Read more