JavaScript – Printing the Periodic Table
The periodic table is a tabular arrangement of the chemical elements, ordered by their atomic number, electron configuration, and recurring […]
Programming powers modern technology — from desktop software and websites to mobile apps, games and enterprise systems. Strong programming skills remain essential for developers, students and technology professionals building modern digital solutions.
MYCPLUS has been publishing programming tutorials, source code examples and practical development guides since 2007. This programming hub brings together tutorials for C, C++, C#, Java, JavaScript, PHP and Python, along with game development and real-world coding examples designed for hands-on learning.
You will find beginner-friendly programming tutorials, practical source code examples and advanced development guides covering object-oriented programming, debugging, modern programming techniques and professional software development practices. Whether you are learning your first language, improving coding skills or exploring modern development technologies, this section provides structured resources for real-world programming and software engineering.
Why MYCPLUS: One of the web’s longest-running programming resources — trusted since 2007 with hundreds of tutorials, practical coding guides, source code examples and developer learning resources designed for real-world programming skills.
The periodic table is a tabular arrangement of the chemical elements, ordered by their atomic number, electron configuration, and recurring […]
Does it ever bother you how much a long-distance phone call is going to cost, after you hung up? With
It’s often necessary to make a script only accessible to the newer browsers (that can support the script without error)
This source code shows you how to connect to Oracle Database 11g and execute queries using the PHP. First of all it sets the ORACLE_HOME and ORACLE_SID Environment variables using the putenv() method. Note that to run this code, you will need PHP OCI8 extension enable in php.ini file.
The following PHP source code shows that how to print random numbers within a range using. It uses rand() function to return the random numbers within a predefined range. The srand() function is used to provide the seed or arbitrary int number.
This is simple PHP script to show the contents of an XML file on html page. The script uses PHP XML parser to traverse through the xml file and print it’s contents. This extension requires the libxml PHP extension to be enabled.
To use SFTP within your PHP application, a series of fundamental steps need to be executed. First and foremost, you must establish a connection to the SFTP server by utilizing the ssh2 extension, which facilitates secure communication. Subsequently, authentication is crucial to ensure the identity of the connecting entity. This is achieved by providing valid credentials, including a username and password, to the SFTP server. Once authenticated, your PHP script gains access to the server and enables file-related operations such as listing directory contents, downloading files to the local environment, and uploading files to the remote server.
This PHP code defines a function called gcd that calculates the greatest common denominator (GCD) of a list of integers by using a brute-force approach and later efficient and widely-used method called Euclidean Algorithm.
This PHP code connects to an LDAP server, performs a search for entries with the last name and then sorts and prints them alphabetically. The sorting is done by a custom function called compareEntry, which compares entries based on last names and first names. It uses the LDAP functions to communicate with the server and showcases basic error handling.
Welcome to the PHP Server Information Script – a robust script designed to provide valuable insights into your server environment. This script offers a overview of key aspects such as PHP memory usage, system memory details, and OS/Web Server information.
The script uses MySQLi, a modern and more secure extension for interacting with MySQL databases in PHP. It provides a beginner-friendly way to understand the composition of your database tables. The script connects to the database, query the structure of a specific table and presents the information in an organized HTML format.
A ColorChooserApplet shows six scroll bars that the user can manipulate to set the red, gree, blue, hue, brightness, and