Page 31 of 56

How to find file size using perl

Last updated on November 22nd, 2024 at 10:47 amScript works to check the size of a file passed as a command-line argument, provides its size in bytes or kilobytes and display it in KB (Kilo Bytes). To check the size of a file, you must provide the file name as an argument, and the script […]

How to check PHP Script memory utilization

Last updated on February 22nd, 2022 at 01:19 pmPHP has a built in function memory_get_peak_usage() which help us to find the memory usage by a single php script in bytes. This function returns the peak of memory, in bytes, that’s been allocated to the php script. Here we are providing you a simple php function […]

How to read text file reverse using php

Last updated on August 8th, 2022 at 10:06 amIn this tutorial we will read the text file from bottom to top using PHP. There is array_reverse function available in PHP we are utilizing that along with the regular file function to read the file. Once each line is read using foreach statement we can assign […]

How to make a HTTP get request in Perl

Last updated on April 19th, 2022 at 10:43 amThere are many methods in perl on how to send HTTP GET request and grab it on the targeted web page. Different modules are available which will allow us to get the requested variables easily. Here i am not going use any modules. Just a simple straight […]

« Older posts Newer posts »