Posts by Wellington • 334 points
4 posts
- 
		4 votes2 answers188 viewsA: Data entry validation allowing HTML TAGyou can use this native php function strip_tags($texto, $tags_permitidas); for example: strip_tags("<strong><span class='block'>texto a ser filtrado</span></strong>",… 
- 
		4 votes3 answers226 viewsA: Link structure problems in MVCyou need to define a function with the base URL of your application. for example: <?php function site_url($uri = null) { if($uri) { return "http://localhost/pasta_raiz/$uri"; } return… 
- 
		1 votes2 answers166 viewsA: Routing CodeigniterRoutes work more or less like this. any request after the domain, for example www.site.com.br/page he treats as controller. that is, if you want to suppress the word "page" would be more or less… 
- 
		12 votes5 answers52381 viewsA: Regular expression to detect credit card flagHypercard: /^(606282\d{10}(\d{3})?)|(3841\d{15})$/ regexanswered Wellington 334