Posts by Vitalves • 31 points
5 posts
-
2
votes8
answers29160
viewsA: Duplicate visual line studio
Go to File (File) >> Preferences >> Keyboard Shortcuts In the search field type copy line down Click the pencil (edit) and a text field will appear Press the combination of CTRL+D Ready!…
visual-studio-2015answered Vitalves 31 -
0
votes3
answers2689
viewsA: How to rename all tables in a Mysql database
In phpmyadmin (or adminer), go to "SQL" and type the command: RENAME TABLE current name_to new_name Click on Run. After that, give F4 to update the list of tables in the database!…
-
0
votes4
answers5899
viewsA: PHP ask for confirmation before deleting
I use the confirmation via javascript, but in this case only to confirm the action, does not make checks. Anyway it is essential to send accidental actions. onclick="return confirm('Tem certeza que…
-
0
votes4
answers930
viewsA: Optimize loading of images
Cloudflare is an excellent tool for this. After properly configuring Cloudflare, search for Cloudflare’s "page rules"!
-
1
votes3
answers2002
viewsA: Block access to pages containing ". php" with HTACCESS
You can also do this in PHP itself, so you can choose whether or not to display the file. Example: if (basename($_SERVER["PHP_SELF"]) == "nome_do_arquivo.php") { echo "acesso nao permitido..."; //ou…