Thread: SQL ERROR
View Single Post
  #9  
Old 3rd June 2021, 12:12
Elena Elena is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 111
Default
Code:
if(!function_exists("htmlspecialchars_uni")){function htmlspecialchars_uni($message){
$message = preg_replace("#&(?!\#[0-9]+;)#si", "&", $message); // Fix & but allow unicode
$message = str_replace("<","&lt;",$message);$message = str_replace(">","&gt;",$message);
$message = str_replace("\"","&quot;",$message);$message = str_replace("  ", "&nbsp;&nbsp;", $message);return $message;}
////////////////////////////////
function html_uni($str){return htmlspecialchars_uni($str);}}
In general, I'm wildly interested - why two requests for the number of Comments and Posts? I have it all ALREADY in the table USERS, for EVERY user. And the statistics of the USER on my CACHE file in the version FastCGI (Nginx + PHP-FPM) PHP 5.4.45 and for FastCGI (Nginx + PHP-FPM) PHP 8.0.3 I use MEMKESH.
I would have someone to take a picture - why the hell do I need to find out the client's name?
Reply With Quote