Check File Status Snippets


22 November, 2011   

Check out the Time in the Status Line at the bottom left.

22 February, 2018   

MySQL Code Snippets to Export Table to File CSV

11 April, 2013   

Pull external HTML code from a file right into your webpage

22 March, 2014   

You can display your link description in the status bar of your browser.

PHP’s rmdir function does not allow the deletion of a folder if it is not empty.

07 March, 2011   

Shows how to upload a single file to a FTP server.

08 January, 2014   

Simple Python IRC bot by Berend.

iPhone code snippet to display the network activity status indicator

14 May, 2011   

This is a general code to use when deleting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. A variation of the code would be not to delete the record (as you tend to always need to restore or retrieve it sooner or later) you can add a 'status' field. If status='d' then it is...

30 March, 2011   

Need to people out if they have been inactive for too long? Do it with this piece of code. This takes 3 functions to complete the inactive session task. 1. We need to check if the person is actually logged in using our isLogged function 2. We need the function to check the time the page loaded, and when the last page was loaded 3. We need a...

The IsFileInUse Delphi function will return true if the file is locked for exclusive access. False is returned if the file does not exist. Code "flow": Two things need to be checked here: A) Is the file a READ-ONLY file? and B) Is the file in use? The main point of the excercise is to check the files attributes for the READ-ONLY...

The IsFileInUse Delphi function will return true if the file is locked for exclusive access. False is returned if the file does not exist. Code "flow": Two things need to be checked here: A) Is the file a READ-ONLY file? and B) Is the file in use? The main point of the excercise is to check the files attributes for the READ-ONLY flag...

04 May, 2011   

Need to people out if they have been inactive for too long? Do it with this piece of code. Introduction ----------------------- This takes 3 functions to complete the inactive session task. 1. We need to check if the person is actually logged in using our isLogged function 2. We need the function to check the time the page loaded, and when...

22 August, 2012   

This JavaScript code will enable you to display text within your status bar that is typed line by line.

PHP code example to get All-Time Number of MySQL Queries

07 September, 2014   

The "WITH CHECK OPTION" is used to indicate that Oracle will prevent any changes to the table or view that would produce rows that are not included in the subquery. When used in the subquery of a DML statement, you can specify this clause in a subquery in the FROM clause but not in subquery in the WHERE clause.

18 September, 2013   

PHP example for listing directory contents

20 August, 2014   

Javascript function to check or uncheck all the checkboxes in a form.

13 April, 2011   

Reading a file to a string couldn't be easier than using the file_get_contents() function. Simple pass the name of the file (with path) and optional parameters

30 August, 2015   

Loads the contents of a dir an sorts them by the date of creation.