Posts by Andre Cardoso • 439 points
4 posts
-
5
votes1
answer144
viewsQ: How to manage a project with several variations?
How you manage the development of an application that is replicated to multiple customers? My setting: An application web and 2 apps (1 for iOS and 1 for Android). For each client the base (master)…
-
2
votes3
answers252
viewsA: Group and add PHP dynamic arrays
That should solve: $lista = array( 636 => 1, 637 => 2 ); $novosItens = array( 636 => 1, 638 => 1 ); foreach ($novosItens as $produto => $quantidade) { if (array_key_exists($produto,…
-
19
votes7
answers22208
viewsA: Is using MD5 the safest way to encrypt passwords in PHP?
There is a very secure and native PHP solution that is the password API (password API). It is available from version 5.5 natively, but can be used from version 5.3 with a lib available on Github,…
-
3
votes1
answer1127
viewsA: Sending and validating form with reCAPTCHA and Ajax
To perform the reCaptcha validation via Ajax you need to send a POST to https://www.google.com/recaptcha/api/siteverify in order to measure the resolution. In your processo.php validates the captcha…