Tag: Programming

Input and Output in C: Stream Functions

The standard way of handling all input and output is done with streams in C programming regardless of where input is coming from or where output is going to. This approach has definite advantages for the programmer. A library package has been evolved which is known as known as the Standard I/O Library which is used in any C program by using stdio.h header. First, however, we need to understand exactly what the terms input and output mean in context of C.

Read More

Programming Perl: Unmatched power for text processing and scripting

Programming Perl is an excellent resource for anyone interested in learning or improving their programming skills with Perl. The book provides a comprehensive overview of the language, covering everything from basic syntax to advanced topics like object-oriented programming and regular expressions. It also emphasizes the importance of writing clear, maintainable, and efficient code, and provides practical advice on how to achieve these goals.

Read More

Get Detailed Server Information in PHP

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.

Read More

PHP/MySQL Database Table Structure Viewer

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.

Read More

Exporting PowerPoint Slides to Images in C#

This is a very simple Visual Basic source code to export all the slides from a PowerPoint presentation. This source code can export images in any specified image format like .jpg, .bmp or .gif. I wrote this function while I was working on my undergraduate project “PowerPoint to XML Interchangeability”. I had to make some sort of PowerPoint Viewer to view the slides so I wrote this function to export PowerPoint slides into image sequences so that I can display them into an image control and export the images at a temporary location.

Read More

Block a Specific IP Address in PHP

In this article, we’ll explore how to block a specific IP address or a list of addresses from accessing a webpage using PHP. By leveraging PHP’s capabilities, you can fortify your web applications against unauthorized access and potential security threats. Let’s delve into the process of implementing IP-based access restrictions to bolster the security of your PHP-powered webpages.

Read More

C Programming – Math.h library functions

Today I will try to explore math.h (library) header file provided to the programmers by turbo C++ compiler. Mostly people try to implement their own implementation of these functions; this is due to the lack of knowledge about Math library provided by turbo C++.

Read More