Skip to content

WebCheatSheet

The easy way to know

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

Author: Sergey Kornilov

SQL

Store ISO 8601 Offsets Correctly in MySQL

Sergey KornilovNovember 7, 2026

Use TIMESTAMP for instants, include a supported numeric offset, and set the session time zone explicitly when storing ISO 8601 values.

PHP

Recover from a phpMyAdmin LoginCookieValidity TypeError

Sergey KornilovNovember 7, 2026

Remove the invalid saved LoginCookieValidity preference, restore a positive configured value, and verify phpMyAdmin configuration storage.

SQL

Bound MySQL Connector/J Connection Setup Time

Sergey KornilovNovember 7, 2026

Set both connectTimeout and socketTimeout, then enforce a pool-level acquisition deadline so MySQL connection initialization cannot wait forever.

PHP

Discard Doctrine OCI8 Connections After a Rejected Commit

Sergey KornilovNovember 6, 2026

Treat an Oracle commit failure as connection-fatal, close the Doctrine DBAL connection, and retry the complete unit of work on a clean connection.

PHP

Verify Symfony S/MIME Signatures After Email Transport

Sergey KornilovNovember 6, 2026

Preserve the signed MIME bytes, capture the delivered message, and verify S/MIME after the same transport path recipients use.

PHP

Use Last-Modified Correctly in Symfony Responses

Sergey KornilovNovember 6, 2026

Compute Last-Modified from every dependency in the representation, evaluate conditional requests, and avoid validators on time-dependent output.

PHP

Understand phpMyAdmin MySQL Connection Compression

Sergey KornilovNovember 6, 2026

The phpMyAdmin compress option affects only the MySQL client/server protocol; enable it only for measured network savings.

SQL

Verify In-Memory OLTP Support on SQL Server Express

Sergey KornilovNovember 6, 2026

Check the edition, architecture, and XTP support flag before creating a memory-optimized filegroup or table on SQL Server Express.

SQL

Discard MySQL Async Connections After Query Cancellation

Sergey KornilovNovember 5, 2026November 13, 2026

Treat cancellation during MySQL protocol I/O as connection-fatal and use Connector/Python shutdown() to discard the direct connection without a ping or QUIT.

PHP

Keep Laravel Redis Counters Compatible with INCR

Sergey KornilovNovember 5, 2026

Leave PhpRedis serialization and compression disabled for numeric cache counters, then test queue and limiter counters with the production connection.

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.