Changes between Initial Version and Version 1 of Ticket #62794, comment 5
- Timestamp:
- 01/09/2025 07:57:13 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62794, comment 5
initial v1 3 3 4 4 That's good to note, however values passed via `$_POST` can only ever be a string or an array, per the [https://www.php.net/manual/en/language.variables.external.php#language.variables.determining-type-of PHP manual]: 5 > HTTP being a text protocol, most, if not all, content that comes in Superglobal arrays, like `$_POST` and `$_GET` will remain as strings. PHP will not try to convert values to a specific type. 5 > HTTP being a text protocol, most, if not all, content that comes in Superglobal arrays, like `$_POST` and `$_GET` will remain as strings. PHP will not try to convert values to a specific type. In the example below, `$_GET["var1"]` will contain the string "null" and `$_GET["var2"]`, the string "123". 6 > 7 > `/index.php?var1=null&var2=123` 6 8 7 9 So I think this is ready to go, I would just add a similar check for `$_POST['log']` for consistency.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)