Posts by Lucas Caresia • 2,663 points
185 posts
-
0
votes0
answers69
viewsQ: How to use PHP command inside javascript
I would like to know how to use PHP(include) commands within javascript, as in the example below: jQuery(function($) { var $formteste = $('#fazer_upload_form') var $formcadastro =…
-
0
votes1
answer243
viewsQ: DIVS move according to browser size
As Divs move as browser size changes. When I change the browser size. body { margin: 0; background: #FFF; } /*CLASSES UTEIS*/ .foco:focus { outline: none; } /*CABEÇARIO*/ #cabecario { width: auto;…
-
2
votes1
answer335
viewsQ: It makes a difference to use LONGTEXT instead of VARCHAR(255)
I wonder if using LONGTEXT instead of VARCHAR(255) would cause more "lag", which would have a greater advantage ??
-
2
votes1
answer113
viewsQ: How to use different Urls and get information from them
I have a database with the following ID Nome 1 A 2 B 3 C I wish that when accessing www.example.com/perfil.php take all information and print on screen, but when accessing www.example.com/2/B or…
-
1
votes1
answer12122
viewsQ: How to increase input text and break line automatically
Hello, as you can see in the image, the input is larger than the part I type the text and if I keep typing it does not break the line, what should I do ??…
-
3
votes2
answers797
viewsQ: How to take bar of a modal
Hello, how do I get this gray bar off the modal ?? $(function() { var dialog, form, dialog = $( "#painel_fazer_upload" ).dialog ({ autoOpen: false, height: 520, width: 500, modal: true, }); $(…
-
1
votes1
answer545
viewsQ: Why doesn’t it change the edge of the input
The input confirmarsenha_cadastro should stick with the red border but this is not happening, why? </script> $(function() { var dialog, form, dialog = $( "#painel_logar_registrar" ).dialog ({…
-
0
votes0
answers93
viewsQ: How to place an image in the title of an input
Hello, I would like to put an image with a description in the title (when Voce leaves the mouse on top and a message appears) of an input.
-
2
votes1
answer103
viewsQ: Database stops working after a few hours
Hello, in this registration system, I get the information entered and play in a database. include("connection.php"); require("blowfish.php"); $login = $_POST['login_cadastro']; $senha =…
-
0
votes1
answer993
viewsQ: Mysql does not connect to server
Hello, I went to enter the phpmyadmin and appeared this, where should be the problem ?? Code $coneccao = mysqli_connect("localhost", "root", "MINHASENHA"); mysqli_select_db($coneccao, "luppbox");…
-
0
votes0
answers41
viewsQ: Short Tags php on server
Hello, host on my PC and works correctly, however when I put in a VPS happened these "bugs", I’ve already activated the short tags and Asp tags, what will be that can be ?? Can be seen by accessing…
-
8
votes4
answers34013
viewsQ: How to make a loading screen before opening the site
Hello, my website takes VERY MUCH to start, a lot to load and I would like to know how to make a Loading screen(as in MEGA) while the main website loads.…
-
1
votes1
answer406
viewsQ: Site is very slow
This site uploads files . torrent, downloads, opens Magnet, takes Seeds, leechers, etc, but it is VERY SLOW, it takes about 15 seconds to open. what I can do to reduce that time? if($sql =…
-
1
votes1
answer30
viewsQ: The Bitsnoop API is crashing WHILE
Hello, I’m using that API from Bitsnoop, but a part of it is "catching" WHILE. WHILE only runs once and nothing below it loads. Code: if($sql = mysqli_query($coneccao, "SELECT * FROM…
-
1
votes1
answer105
viewsQ: HASH is not working properly
Regardless of the password being right or not, the message is always returned saying that the password is invalid. make login.php <? include "connection.php"; require "blowfish.php"; $login =…
-
0
votes1
answer86
viewsQ: Mysql, load the wrong one
Hello, in case I add some file here it goes to the end of the list, however I want it to go to the beginning. Code that performs this if($sql = mysqli_query($coneccao, "SELECT * FROM…
-
1
votes1
answer78
viewsQ: How to use the Bitsnoop API
I wonder how I can get the seeders and leechers file .torrent using the API Bitsnoop. How can I be making the request?…
phpasked Lucas Caresia 2,663 -
8
votes2
answers1580
viewsQ: Security in login system
Hello, I made a torrent file download and upload system, and on this site has a login system with a database, and I would like you to explain a little bit about security in PHP and mysql and what I…
-
-2
votes1
answer7188
viewsQ: How to get the Magnet link from a . torrent file?
I can get file information .torrent using the class Torrent RW or Torrent-parse, as the file name, size, HASH, etc.. I would also like to get the Magnet link, however I am having difficulties to…
phpasked Lucas Caresia 2,663 -
5
votes1
answer239
viewsQ: How to get information from. torrent files?
I wonder how I can get information from a file .torrent using any of these classes: Torrent RW Torrent-parse…
phpasked Lucas Caresia 2,663 -
2
votes2
answers575
viewsQ: Use <style> inside if of javascript
Hello, I was doing a javascript test to see if the value of two inputs were different, if they were I would change the background from an input to red, and I tried opening the style tags inside the…
-
1
votes3
answers754
viewsQ: How to update a DIV with PHP
Hello, I read some tutorials on how to update every few seconds(using javascript, Jquery, etc) and wanted to know if there is a way to update a DIV with PHP itself, when pressing a button for…
-
2
votes1
answer91
viewsQ: move_uploaded_file can’t catch a file
Hello, the move_uploaded_file can’t get a file. echo " <form method=\"post\" enctype=\"multipart/form-data\" action=\"testar_formato.php\" id=\"upload-container\" class=\"fileUpload\">…
-
7
votes2
answers15219
viewsQ: Grab the file extension
Hi, I tried to use the pathinfo() but I guess I didn’t use it the right way, I’d like to know how to use. $arquivo_up = $_FILES['arquivo']['name']; $extensao = pathinfo($arquivo_up); $extensao =…
-
0
votes2
answers83
viewsQ: How to deal with <ul>
Hello, I would like to put the "Exit" and the "Login | Register" up. The input file would like to leave only a large button like this without that part that shows what was selected. index php.…
-
0
votes2
answers838
viewsQ: How to create a button if you are logged in to an account
Hello, I wonder when someone is logged in to create a FILE type button. The registration and login system is created, but I do not know how to know when it is logged in or not. index php.…
-
2
votes1
answer56
viewsQ: How to make a frequent update
Hello, for example, I have the text box SENHA and CONFIRMARSENHA, and test if they are different, but I will only know when he presses a button, and I want the moment they are different (without…
-
8
votes2
answers357
viewsQ: How to access information from a. torrent file?
I would like to know if it is possible and how to obtain information (Link Magnet, seedes, leechers, peers, size, etc. ) of a file .torrent using PHP.
-
2
votes1
answer1444
viewsQ: Overwrite one HTML page with another
I would like to know if it is possible (and how to do if possible) to overlap one HTML page with another and leave the dark background with a low opacity, as for example here:…
htmlasked Lucas Caresia 2,663 -
3
votes2
answers2452
viewsQ: How to remove a specific part of a string
Let’s say I have a file called Icon.png and I’ll zip it up, it’ll stay Icon.png.zip but I want you to call yourself just Icon.zip, how do I remove the part .png of the file name?…
phpasked Lucas Caresia 2,663 -
6
votes1
answer3320
viewsQ: Source code is displayed on screen and does not run
A code of mine gave problem and kept appearing some snippets of it on a blank screen when I ran: The code was right, I didn’t know what the problem was, so I went to test another code that a few…
phpasked Lucas Caresia 2,663 -
-1
votes1
answer67
viewsQ: The code does not respect ifs
Hello, in this code when it runs it does not respect ifs, it goes straight through running everything. For example, if the message "This user does not exist" appears it should simply end. but also…
-
2
votes1
answer191
viewsQ: WAMP does not store
Hello, there is no mistake, however WAMP does not save the information. Code of cadastro_db.php: <? include("conection.php"); $nome = $_POST['nome']; $email = $_POST['email']; $idade =…
-
1
votes1
answer343
viewsQ: What parameters to use in the mysql_fetch_array
Hello, I don’t know which parameters(I only know one of them) to use in the mysql_fetch_array, please tell me what it is and how to get it. include "conection.php"; session_start(0); $db =…
phpasked Lucas Caresia 2,663 -
1
votes1
answer2924
viewsQ: move_uploaded_file does not work
Hello, move_uploaded_file is not working and would like to know why index php. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
phpasked Lucas Caresia 2,663