Advanced Search
Search Results
1657 total results found
Installation requirements vtenext 26.04
1. Minimum Hardware Requirements: RAM: 2 GB Hard Disk: 20 GB Processor: 2 GHz dual-core 2. Recommended Hardware Requirements: RAM: 4 GB Hard Disk: 80 GB Processor: 2 GHz quad-core 3. Recommended Operating System: The recommended operating system for instal...
Coding style
A list of coding style rules to be used when developing in vtenext. File encoding: UTF-8. All files should be encoded in UTF-8 Newlines: Unix style, so \n, not \r\n or \r Indentation size: With TABS, set to 4 character. Don't mix spaces a...
Escaping
How to properly escape html/js code in Smarty templates and PHP files
Introduction
Starting with vtenext version 26.01, all variables outputted by Smarty templates (for example {$VARIABLE} ) by default have all applicable characters are converted to html &...; notation. For instance, the string "nice & 'smooth' à > è" is converted to "nice &...
Escaping rules
1. Avoid html code in php Avoid generating html code directly in php, or outputting it, if possible use Smarty templates. Exceptions can be made for very short snippets, see paragraph 3 for how to handle them. Examples Good $name = ...
Cheat sheet
Quick reference if you just need to know how to escape stuff! Do's and Don'ts Use only query_result_no_html and fetchByAssoc(..., -1, false) or fetchByAssocNoHtml, we don't want that pesky to_html function to be called Do not generate html strings in ph...
RequestHandler
What is RequestHandler? RH (alias for RequestHandler) provides secure, centralized access to HTTP request data. It automatically sanitizes input using vtlib_purify() and applies type-safe filters from F:: enum. This replaces direct access to superglobals like...
Escape
Come eseguire correttamente l'escape del codice html/js nei template Smarty e nei file PHP
Introduzione
Vedi Escaping > Introduction
Regole di escape
Vedi Escaping > Escaping rules
Guida rapida
Vedi Escaping > Cheat sheet
RequestHandler
Vedi RequestHandler
Weak comparisons
Backward Incompatible Changes View https://www.php.net/manual/en/migration80.incompatible.php Key principles Follow these fundamental rules when writing compatible code: Analyze variable types: Always understand what types and values a variable can hold. ...
Release Note vtenext 26.04
Per installare vtenext alla versione 26.* è necessario utilizzare php >= 8.3. Vedi i requisiti necessari nell'apposita sezione.L'adeguamento a php 8 ha comportato una revisione di gran parte del codice quindi rimandiamo gli sviluppatori a prendere visione dell...
Migrazione a PHP ≥ 8.3
Cosa cambia in PHP 8.3+
Vedi What's new in PHP 8.3+
Migration to PHP ≥ 8.3
What's new in PHP 8.3+
Minimum PHP version updated The application now requires PHP 8.3 as the minimum version. Database updates Starting from version 26.01 of vtenext, some important database changes took place, such as: Charset and CollationDatabase is now using by defau...