
Python HTTP Server Accept File Upload in Two Ways
Upon Apache CGI, Python scripts play the role of HTTP web server that accepts both single and multiple file upload. In the article, first, we review methods of file upload in HTML browser, and then ...

Scraping Three Global Weather Channels by Tricks
Using web scraping techniques to add a weather crawler module in your apps can help users to crawl temperature and more weather info as they want. For weather inquiry, you can call weather APIs provided ...

Telegram Bot API Send Weather Message by Python
Based on the example of a Telegram weather bot, let us learn how Python scripts send messages to apps by using Telegram API. The procedural steps are made up of registering a bot, creating a ...

MySQL Crud by Python DB Class and Error Handling
We are introducing a Python DB class for helping your coding. In Python programming, MySQL connection and CRUD operations seem common, but have risks inside because of potential exceptions. Our open-source database class allows you ...

Python Webapp Demo on Apache CGI for Windows
For Python webapp scripts to run, we enumerate the most concise steps to Apache CGI configuration on Windows and Linux. The JS scripts in browser clients request not only PHP scripts on server sites, but ...

3 Steps Line Notify API Inform Group Member by Token
Line Notify API with an authorized token allows web applications to occasionally fire information to registered people. If web applications act as services, these services are no longer passive. Services can actively pass messages to ...

How to Create Many Web Chat Rooms Using PHP, JS
Let us investigate how a web chat room in PHP and JS is working in a simple way. In addition, if people require many web chat rooms, how do you let the attendee create more ...

PHP AJAX Live Chat Example for Single Chat Room
The PHP live chat is mostly of web-based, AJAX-based. We propose a concise example of client-server structure about a jQuery or JavaScript chat room. And no database is required here. So far, one chat room ...

PHP Namespace Example Include Class, Function
Namespace in programming implements an abstract concept. The re-usable PHP class, function, or constant of libraries and extensions are grouped to prevent from name collisions. In addition, Namespace aliasing increase readability of codes. The article ...

5 Tips for PHP Image Effect, Watermark, Resize
Apart from softwares like Photoshop, PHP image functions can resize, add an effect to, or put a watermark on an image. Resizing will reduce the storage of mass uploaded pictures. Image filter can append a ...