Posts by Matheus Lopes Marques • 178 points
18 posts
-
0
votes0
answers60
viewsQ: How to store images in Mysql
Speaks guys, I’m having a question: register image with encryption( that is only codes in DB ) or register local image, and save the image in a folder? NOTE: I don’t know if registering in the BD…
-
0
votes2
answers3624
viewsA: Remove negative signal from input number
uses property min="0" <input data-mask="00" data-mask-selectonfocus="true" style="margin:0;" onfocus="campoTexto(this, 1)" onblur="campoTexto(this, 0)" type="number" onChange="Multiplica(' +…
-
1
votes0
answers23
viewsQ: how to create Syntax Highlight - jquery - css
How do you create a Highlight, color marking, like an IDE if what you typed is a command? would like to create a textarea, superimposing a div, both of the same size, and when typing in the…
-
1
votes3
answers394
viewsA: Is it possible to remove the option all files in the file explorer?
It is only possible to set the start pattern... that is marked, but if you want, you can change the file extension when it is time to explore files, as it is in your image. But you can receive the…
htmlanswered Matheus Lopes Marques 178 -
0
votes1
answer529
viewsQ: encrypt files
I wonder if there’s any way to encrypt videos, images, etc.... not just text, with PHP, SQL, some language WEB, I am wanting to do something that keeps file security, that if the person is going to…
-
3
votes1
answer451
viewsQ: bootstrap or grid-template
Speak guys, I would like to know what is more recommended to use on a site: Bootstrap, Grid-template or flexbox. I have this doubt because when looking at the websites that used Bootstrap the code…
-
1
votes2
answers1083
viewsA: Change data without refresh with jquery
$('.envia_imagem').click(function(){ $.ajax({ url: 'url que recebe.php', method: 'POST', data: $('.input_com_a_imagem'), beforeSend: function(){ alert('enviando'): }, success: function(e){…
jqueryanswered Matheus Lopes Marques 178 -
1
votes1
answer1464
viewsQ: Create and/or edit image with PHP
You can edit images with PHP? For example, place watermarks, or even make a "Paint" (with other languages together tbm, not just PHP). OBS: I would like a solution without the use of frameworks.…
-
0
votes1
answer45
viewsA: Accessibility - More than one CSS on the site
the example ai: <!DOCTYPE html> <html> <head> <title>teste</title> <script…
-
3
votes1
answer659
viewsQ: How to reveal items when arriving on a particular scroll
I would like to know how to do the effect of revealing items when the scroll of the page reaches the element, example of this site: http://www.metodistapirassununga.org/ The effect is on the blocks…
-
1
votes1
answer347
viewsA: Script smaller than 18
separates the date into an array ex: $data = [02, 11, 2017]; then begins the current day check with if( ($data[2]-date('Y') ) <= 18 ){ if( ($data[1]-date('m') ) <=0 ){ $maior = true; }else{…
-
1
votes1
answer46
viewsA: How to show that the user is logged in to the pages he visits?
uses php session variables session_start(); $_SESSION['nome_da_variavel'] = valor da variavel; example: session_start(); $_SESSION['nome'] = "joao"; echo $_SESSION['nome']; Obs: it is possible to…
-
0
votes1
answer144
viewsA: The PHP Rating System
add a field in DB to store the amount of votes, then at the time of receiving make a formatting (quantity / 2), if the quantity is = 5 blocks to not vote more, if not, creates the form, link, sla,…
phpanswered Matheus Lopes Marques 178 -
0
votes2
answers38
viewsA: How to configure URL to center object
if the link is internal in the page, put it at the beginning of the site (in the photo ta as "specialties") and add a margin top the size of the navbar
-
-2
votes3
answers1416
viewsA: Disable field if another one is filled
only modify: if(codigo != ""){ codigo_interno.disabled = false; } for if(codigo != ""){ codigo_interno.disable = false; } the property is wrong, just typing error…
-
-1
votes2
answers460
viewsA: how to make an embed with width and height fixed responsive?
could create a class that would contain the embed, and set the value you want (height and width) then put overflow:Hidden, and in the embed, put centered on the parent div. I know it is not the best…
-
0
votes1
answer32
viewsA: Page Loading Can’t Work
change $(window).load(function(){ setTimeout(function(){ $('.loading').fadeOut() }, 1000); }); for $(function(){ setTimeout(function(){ $('.loading').fadeOut() }, 1000); }); if it doesn’t work,…
-
1
votes1
answer50
viewsA: Privileges of users(2)
Creates a switch structure, and saves in an array all functions of each user permission at the end of the switch creates a foreach of each user permission