Posts by Willy Stadnick • 66 points
5 posts
-
1
votes2
answers123
viewsA: Sanitize email address
to sanitize email addresses you can use the functions preg_replace and iconv: $email = preg_replace('/[^a-z0-9+_.@-]/i', '', iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $email)); it is important that…
-
1
votes1
answer443
viewsA: Filter tables to be mapped by Doctrine from Entitymanager (no command line)
you can try using the metadatafilter class in accordance with the command itself available in the Doctrine project use, in your code would look something like this: ... $filter = 'string de…
-
2
votes2
answers1644
viewsA: How to store files in the browser cache
You can set the directive Exhale through function header directly in PHP files. You can also control the caching of files directly in the server settings (eg.: Apache).…
-
1
votes2
answers3089
viewsA: How to filter results and reload the/view page in Codeigniter?
Your form points to the method listar class TrackerCtrl where the countryside frota_list is not considered popular the variable user_trackers_list through the method get_trackers class TrackerModel.…
-
0
votes2
answers9582
viewsA: Position of blocks in Bootstrap
You can use the grid options to position the elements in the desired manner, depending on the device in which they are displayed. In the example below, you will have only one column on small and…