first, on my local machine this code works exactly as expected. but on remote server i get the error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock
at some point in my application i have this call:
$alts = sanitize_array($_POST[ 'allalts' ]);
the function is very simple:
$sanitize = array_map(
since i do get and work with my database on the remote server i do not get why i get this error.
what am i missing here?