Skip to content

WebCheatSheet

The easy way to know

  • PHP
  • HTML
  • JavaScript
  • SQL
  • ASP
  • MS Access Functions
  • SaaS
  • Email
SQL

Verify the TLS Version Used by a SQL Server Connection

Sergey KornilovNovember 23, 2026

Confirm SQL Server encryption with a supported DMV, then use the actual TLS handshake to distinguish TLS 1.3 from TLS 1.2.

PHP

Enforce Unique Email Addresses Safely with PHP and MySQL

Sergey KornilovNovember 23, 2026

Prevent duplicate accounts by enforcing email uniqueness in MySQL and handling duplicate-key errors in the PHP insert path.

PHP

Order PHP Login, CSRF, Idle Timeout, and PRG Safely

Sergey KornilovNovember 23, 2026

Structure a small PHP login so idle timeout, CSRF validation, session regeneration and Post/Redirect/Get happen in a safe order.

PHP

Validate Dynamic PHP Callables Before Creating a Closure

Sergey KornilovNovember 22, 2026

Validate a configured PHP callback before converting it to Closure so missing functions produce a controlled application error.

PHP

Call getAfterPortlet() Through Skin in MediaWiki Templates

Sergey KornilovNovember 22, 2026

Fix a MediaWiki custom skin after an upgrade by calling getAfterPortlet() through the Skin object instead of BaseTemplate.

SQL

Connect Python to MySQL Through a Local SSH Tunnel

Sergey KornilovNovember 22, 2026

Connect Python to MySQL through SSH by running the client beside the local forwarding port and using the correct loopback address.

PHP

Handle PHP 8.5 SNMP ValueError Separately from Network Failure

Sergey KornilovNovember 21, 2026

Validate SNMP configuration and catch PHP 8.5 ValueError without confusing invalid arguments with an unreachable device.

SQL

Explain Why PolarDB Storage Exceeds MySQL Table Size

Sergey KornilovNovember 21, 2026

Reconcile PolarDB console storage with information_schema table totals by separating logical data from logs, temporary and system files.

PHP

Fix Gutenberg Blob Worker and iframe CSP Errors in Nginx

Sergey KornilovNovember 21, 2026

Adjust Nginx Content Security Policy and Permissions Policy syntax when Gutenberg workers or editor frames are blocked.

PHP

Install SQLSRV for PHP 8.1 with a Compatible Driver Version

Sergey KornilovNovember 20, 2026November 22, 2026

Install the Microsoft SQLSRV and PDO_SQLSRV 5.12 drivers when PHP 8.1 cannot use the newest driver release.

Posts navigation

Older posts

Recent Posts

  • Verify the TLS Version Used by a SQL Server Connection
  • Enforce Unique Email Addresses Safely with PHP and MySQL
  • Order PHP Login, CSRF, Idle Timeout, and PRG Safely
  • Validate Dynamic PHP Callables Before Creating a Closure
  • Call getAfterPortlet() Through Skin in MediaWiki Templates

Recent Comments

  1. Enforce Unique Email Addresses Safely with PHP and MySQL - WebCheatSheet on Hash and Verify Passwords Securely in PHP
  2. Explain Why PolarDB Storage Exceeds MySQL Table Size - WebCheatSheet on Get the Size of Every MySQL Database and Table
  3. Install SQLSRV for PHP 8.1 with a Compatible Driver Version - WebCheatSheet on Install and Configure PHP on Windows
  4. Build Accessible Tabs with JavaScript - WebCheatSheet on JavaScript Functions
  5. Remove SQL Server STX Characters before FOR XML – WebCheatSheet on Export a MySQL Database Schema as XML with PHP

Archives

  • November 2026
  • October 2026
  • September 2026
  • August 2026
  • October 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022

Categories

  • ASP
  • Email
  • HTML
  • JavaScript
  • MS Access Functions
  • PHP
  • SaaS Architecture
  • SQL
  • Uncategorized
Copyright © 2026 WebCheatSheetFresh News by Ascendoor | Powered by WordPress.