Check Internet Connection Snippets


if client is on shared internet, returns true if client is not on shared internet, returns false

Delphi code to check you are connected to the Internet

25 May, 2013   

PHP code for how to get Remote IP Address

Here's how to check whether you are connected to the Internet.

14 February, 2012   

MySQL code to connect to db. Don't forget to change the parameters.

23 October, 2012   

MySQL code example for sorting data in a GRID

18 June, 2013   

Define few variables with your MySQL database connection settings and connect to MySQL database using mysql_connect() and mysql_select_db() functions.

19 February, 2011   

Detect Internet Explorer

13 April, 2011   

Connecting to a MySQL database to make the data from the database available in your Web application, can be done in many different ways. Here are two often used methods.

26 December, 2012   

Email regex validation with MX check and communication. Sample code included. Returns bool valid code, bool condition code and str message.

Note that you must include the unit ExtActns in the uses clause.

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.

20 August, 2014   

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

07 February, 2011   

Check if Number is Even/Odd

02 June, 2011   

This will check an email, to see if it is in a valid format.

13 February, 2011   

Check for Empty Elements

29 March, 2012   

ASP code example to check reciprocal link

23 September, 2011   

ASP code snippet to check Reciprocal Link

12 February, 2015   

JS sniffer detects browser and OS.

15 July, 2013   

This is a method that can be used to take a connection string and a valid oledb command and perform a scalar. This returns an Integer/Int32 value.