Date in title bar using php

Last updated on May 10th, 2016 at 12:29 pmClick to rate this tutorial! [Total: 0 Average: 0]Date in title bar using php, This is a simple script that appends date inside the html title tag. Another quick tip for you 🙂 Click to rate this tutorial! [Total: 0 Average: 0]

How to change max_execution_time php during runtime

Last updated on February 22nd, 2022 at 01:32 pmClick to rate this tutorial! [Total: 0 Average: 0]Change maximum execution time in PHP temporarily is always a good idea since you can dynamically change the execution time of a particular php file. According to php.net, max_execution_time sets the maximum time in seconds a script is allowed […]

How to read text file reverse using php

Last updated on August 8th, 2022 at 10:06 amClick to rate this tutorial! [Total: 3 Average: 2.7]In 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 […]

File System Reference In PHP

Click to rate this tutorial! [Total: 1 Average: 5]The unlink() function deletes a file. This function returns TRUE on success, or FALSE on failure. Syntax unlink(filename,context) Parameter Description filename Required. Specifies the file to delete Example <?php $file = “newfile.txt”; if (!unlink($file)) { echo (“Error deleting $file”); } else { echo (“Deleted $file”); } ?> […]