Execute queries in Oracle with PHP

Execute queries in Oracle with PHP PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Random numbers within a range in PHP

Random numbers within a range in PHP PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Show the contents of an XML in PHP

Parses an XML file and show its contents on the page. By default is assumes example.xml file in the same direcory as the script is. PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made...

Manipulate XML in PHP

Manipulate XML in PHP PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of illustration. * * *...

Connecting to FTP throught PHP

Connect to the FTP server with PHP. PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Greatest common denominator from the input

This PHP programme returns the greatest common denominator from the input. PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided...

Search the LDAP Directory.

Search the LDAP Directory. PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of illustration. *...

OS stats in PHP

Shows the OS statistics and information about OS. PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * *...

Show all fields of a table in PHP

This programme shows all the fields in a table of a database in MySQL. PHP /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided...

Client Server in Java

Set up a Server that will receive packets from a client and send packets to a client. Also set up a Client that will send packets to a server and receive packets from a server. [sourcecode...

Sketcher

Sketecher Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of illustration. * * * * Please...

Bank Operations using Threads in Java

Bank Operation demo that uses Bank, Clerk and Account and Transaction objects to complete the operation. Actually this demo shows how you can use threads to perform the tasks intheir own capicity and utilise the maximum system resopurces. What we do is, we have two...

Calculator

A simple Java Calculator Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of illustration. *...

Java network chat Applet

This applet simulates a network chat, in which the user chats with someone over a network. Here, there is no network. The partner is simulated by a thread that emits strings at random. The point of the simulation is to show how to use a separate thread for receiving...

Drawing Pad

A simple Drawing Pad on which the user can draw some lines and shaps by using the mouse. Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors...

Java ChatWindow for two way Chatting

A ChatWindow supports two-way chatting between two users over the Internet. The constructor for a ChatWindow requires a connected Socket. Messages are sent and received through this socket. The window has a text-input box where the user can type messages. When the...

Form

A Java Form class extended from JFrame with few buttons. These buttons show message dialog box when some actions are performed on them. Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is...

PostFix expression evaluator – Java

This program evaluates postfix expressions entered by the user. The expressions can use non-negative real nubmers and the operators +, -, *, /, and ^ (where ^ represents exponentiation). Numbers must begin with a digit. That is, you have to say 0.7 rather than just...

String Sorting

String Sorting demonstration. Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Java color chooser Appelt

A ColorChooserApplet shows six scroll bars that the user can manipulate to set the red, gree, blue, hue, brightness, and saturation components of a color. A color patch shows the selected color, and there are six labels that show the numerical values of all the...