Posts by gustavohej • 1 point
2 posts
-
-1
votes3
answers53
viewsA: cleaning variables with preg_match()
$nome = preg_replace('/[\*\&%#\$+-]/', '', $nome); $email = preg_replace(/[^A-Za-z0-9\-\_]/, '', iconv('UTF-8', 'ASCII//TRANSLIT', $email));
-
-1
votes1
answer142
viewsQ: Images with content-type as text/html, how to solve?
I am making a foreach in the controller to test if it is returning all images the problem is that the images do not appear because the content-type is as text/html, when I am using the index method…