Skip to content

WebCheatSheet

The easy way to know

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

Author: Sergey Kornilov

SQL

Contain SQL Server JDBC getIndexInfo() Memory Growth

Sergey KornilovNovember 9, 2026

Measure metadata-call memory growth per pooled connection, avoid repeated getIndexInfo calls, and test a fixed JDBC driver release.

PHP

Handle Doctrine DBAL getObjectName() PHPStan Warnings

Sergey KornilovNovember 9, 2026

Use Doctrine DBAL’s public naming interfaces and a narrow temporary PHPStan suppression when getObjectName() is reported as internal.

SQL

Find the Real Cause of a SQL Server BACKUP Failure

Sergey KornilovNovember 9, 2026

Capture the detailed BACKUP error, read the SQL Server error log, and test the destination with the Database Engine service identity.

PHP

Set a PHP Session ID Without Starting a New Session

Sergey KornilovNovember 9, 2026

Validate a supplied PHP session ID, set it before session_start(), and verify that cookies and the configured save handler preserve it.

PHP

Send Telegram Bot Broadcasts from PHP Without 429 Errors

Sergey KornilovNovember 8, 2026

Queue recipients, respect per-chat and broadcast limits, honor retry_after, and checkpoint large Telegram bot broadcasts.

SaaS Architecture

Avoid Missing Rows During Offset Pagination

Sergey KornilovNovember 8, 2026

Use a stable snapshot or cursor when possible, and add a high-water mark plus ID deduplication when an API exposes only limit and offset.

PHP

Drop a Doctrine DBAL Foreign-Key Column Safely

Sergey KornilovNovember 8, 2026

Remove the foreign key and every remaining index that references its column before dropping an introspected Doctrine DBAL column.

SQL

Distinguish phpMyAdmin SQL Lint Errors from Server Errors

Sergey KornilovNovember 8, 2026

Verify CHECK constraint syntax against the actual database server when phpMyAdmin lint reports an error before execution.

PHP

Diagnose PHP JIT Processes That Use 100% CPU

Sergey KornilovNovember 8, 2026

Disable JIT as a controlled comparison, confirm the active FPM configuration, and isolate the request or trace that drives a PHP worker to 100% CPU.

HTML

Why a Web Page Works on localhost but Not from a File

Sergey KornilovNovember 7, 2026

Use a local HTTP server when modules, fetch requests, PHP, or browser origin rules make a page fail under a file URL.

Posts navigation

Older posts
Newer posts

Recent Posts

  • Distinguish PHP stream_select Timeouts from Readable Streams
  • Set UTF-8 Output for a PHP gettext Domain
  • Combine CSV Columns into an RDF Literal with CSVW
  • Fix PHP set_error_handler Callbacks with Five Parameters
  • Replace Curly Brace String Offsets in PHP 8

Recent Comments

  1. Set UTF-8 Output for a PHP gettext Domain - WebCheatSheet on PHP Variables, Types, and Scope
  2. Combine CSV Columns into an RDF Literal with CSVW - WebCheatSheet on Create Word, Excel, and CSV Files with PHP
  3. Replace Curly Brace String Offsets in PHP 8 - WebCheatSheet on PHP Variables, Types, and Scope
  4. Fix PHP set_error_handler Callbacks with Five Parameters - WebCheatSheet on PHP Functions: Parameters, Return Types, and Scope
  5. Fix PHP Extension undefined symbol Errors after a Runtime Change - WebCheatSheet on Connect PHP to SQL Server with PDO_SQLSRV

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.