Posts by Rodrigo Dias • 106 points
6 posts
-
2
votes2
answers1019
viewsA: Use "anti_injection" in a MD5 password
Following guy, as you are converting to md5 only this would already prevent the attack of sqlinjection, however the recommended is to use Prepared statements of PDO. You’d have to treat the user in…
-
2
votes1
answer216
viewsA: Filter elements from one list and show in another
It is copying the element to a new list and then retrieving it itself, removes the class after copying: $('.search').keyup(function(event) { var val = $(this).val().toUpperCase(); var ele = [];…
-
0
votes1
answer197
viewsA: Mysql Connector problem in Rails
The problem is not in ruby, it is not finding is windows Dlls to connect with mysql. Download the file that talks about the error:…
-
1
votes1
answer945
viewsA: Error 550 when deleting a directory via FTP
Make sure that the user php is running is the same user you logged on to ftp. Use: <?php $userid = posix_geteuid(); $userInfo = posix_getpwuid($userid); var_dump($userInfo); If the user is…
-
1
votes3
answers9575
viewsA: Allow only letters, numbers and hyphen
You can do it like this: return preg_match('/^[a-zA-Z0-9-]+$/', $string) ? true : false
-
0
votes2
answers248
viewsA: App Store Submit Error - Itunes Connect
The registration you completed for the review requires that your App is enabled to appear at the newsstand. Add the Uinewsstandapp tag to the root of your info.plist and set as YES. Will stay like…