GTUTO
https://www.gtuto.com/php-notes/
Export date: Sat Apr 20 4:57:51 2024 / +0000 GMT

PHP remarques


Notes divers pour PHP
♦ Fonction htmlentities ("chaine à convertir") pour une chainne sortie de MySQL, à partir de PHP 5.6 retourne parfois vide solution :




Stoker mot de passe cryptés. Il n'est plus possible de retrouver le mot de passe, mais seulement de le contrôler

substr
substr ( $chaine, début, longeur ) 1er caratère=0 (pas 1)

si début négatif on commence par la fin 0 dernier caractère

si longueur abscent -> on prend tout ce qui reste

si l longeur négatif -> on prend ce qui reste moins les l dernier

Post date: 2016-01-23 21:09:29
Post date GMT: 2016-01-23 21:09:29

Post modified date: 2016-02-18 12:51:22
Post modified date GMT: 2016-02-18 12:51:22

Export date: Sat Apr 20 4:57:51 2024 / +0000 GMT
This page was exported from GTUTO [ https://www.gtuto.com ]
Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com