Posts by Viniam • 642 points
27 posts
-
2
votes4
answers3043
viewsA: What are temporary tables for?
What are Temporary Tables: Temporary tables are types of tables that exist only while the connection to the database is active, after the connection is terminated the table is automatically deleted,…
-
5
votes4
answers2408
viewsA: What is buffer overflow?
What is Buffer Overflow? Look man Buffer Overflow means "Buffer overflow" is when something exceeds the limit, for example if you have an array that can only receive 10 values and you put in this…
-
1
votes1
answer55
viewsQ: Where increasing condition
I have a table called users and want to catch some users as per id so I’m doing so: select * from usuarios where id=2; Only that I would like to get multiple users with different ids, for example…
-
1
votes1
answer42
viewsQ: Query in a given string
Good staff my question is the following: I would like to know how to make a query in the database of certain string, for example I would like to in the field "name", I would like to make a query by…
-
2
votes2
answers1180
viewsA: Limit file size
Good for you to be able to limit the size of the file uploaded on the server, just use this function: FileInfo fileInfo = new FileInfo(@"c:\arquivo.txt"); Console.WriteLine(fileInfo.Length); This…
-
2
votes1
answer253
viewsQ: PHP Mysql - return of duplicates
Good staff my question is the following: How can I be doing the check to know if there is already such value in the database? I have this code here that is already checked by SQL Query itself, ie if…
-
3
votes1
answer723
viewsA: How to get an image of a Resource
For you to get an image of Resource and Add to Picturebox, Do it this way: On the Onclick button put: { pictureBox1.Image = Properties.Resources.Untitledd; } //Unitledd is the name of the image that…
visual-basic-6answered Viniam 642 -
2
votes3
answers3002
viewsA: How do I try to make a site compatible with major browsers?
Look man Leaving a site compatible for all browsers is not a very easy job because each browser has its own way of working and processing each code: javascript, html, css, etc. But for you to…
-
-4
votes2
answers462
viewsA: What technology to use to develop a Webservices for Android
The Webservice is personal has to be something that meets your need more accurately, ie the two options are good (Linux or Windows). This is a personal matter: ease for you to develop, price,…
-
2
votes1
answer89
viewsA: Shorten Google Analytics tracking URL (variables only)
You could use a GET and Redirect together, this way: www.meusite.com/? shortener=1 In php: <?php if (!empty($_GET['encurtador']) { if($_GET['encurtador'] == 1) {…
-
1
votes1
answer81
viewsA: Creating data array from a php table
Change that: //todos os dados recebidos dos inputs //recebendo datas de cada coluna $dats1 = $_POST['dats1']; $dats2 = $_POST['dats2']; $dats3 = $_POST['dats3']; $dats4 = $_POST['dats4']; $dats5 =…
-
1
votes1
answer524
viewsA: Delphi xe8 Multi-device Json post
Good as none of you gave importance/attention to my question so I researched double and managed to solve my problem. The code below shows how to send values through Indy POST to a page: var…
-
1
votes1
answer524
viewsQ: Delphi xe8 Multi-device Json post
Good staff I would like to send data by json to a php server from Delphi, I tried to do this way: Delphi Cliente: procedure TForm7.Button7Click(Sender: TObject); var code : Integer; sResponse :…
-
-2
votes2
answers128
viewsA: Create a register where the user increments a new checkbox to save a new information in Mysql
Good guy this is called: Building components at runtime. Good guy in php is easier you do this using php’s echo function. Example: echo '<input type="checkbox" name="vehicle" value="Bike">'; I…
-
0
votes2
answers1527
viewsA: What are and how do . NET technologies relate to developing web systems?
Look at . Net is being a much used framework as Delphi itself included . NET as well, I think one of the biggest advantages is the use of .NET. With ASP.NET you can easily develop "object-oriented"…
-
2
votes1
answer54
viewsA: How to select several?
for ($i = 0; $i < count($nas); $i++) { $id = $nas[$i]; }
-
1
votes1
answer54
viewsA: GET method getting NULL
It was just your typo. session_start(); class Login { private $email; private $senha; private $db; public function __construct(PDO $db){ $this->db = $db; } public function autenticar($email,…
-
0
votes2
answers5121
viewsA: How to keep the session after browser close?
Friend the session/Session works as follows: It stores the data in the browser or it will leave the data stored while the browser is not closed, from the moment the client closes the browser the…
-
3
votes3
answers4599
viewsQ: Javascript - save/update content
Good staff my question is the following: I would like to know if it is possible to update the contents of a file in general. Example: I have a file called html name. and inside him I have a…
-
1
votes1
answer104
viewsA: How do I send an email?
What is the Phpmailer? Phpmailer is a class ready to send emails via PHP via SMTP connection widely used around the world. Its sending method is widely recommended and superior, compared to mail(),…
-
5
votes2
answers424
viewsA: What is the purpose of empty command blocks or which do not belong to any command?
No, there’s no point in using the block {} empty, it is simply ignored by the compiler, its usefulness is only when it is being used together with another command being them: if, else,while, etc.…
-
2
votes0
answers158
viewsQ: Delphi xe8 Deployment file
Good people I am using the Delphi XE8 Multi-device, I would like to attach an image.jpg file in the project and be able to use on android, I looked at the site of Mbarcadero and there it says how to…
delphi-xe8asked Viniam 642 -
5
votes2
answers731
viewsQ: SQL - Double UPDATE with double Where
Next, it is possible to make two update-where together in the same consultation? I will explain, what I wanted to do is the following: UPDATE usuarios SET nome = "Matheus Silva" WHERE id = 1 AND…
-
6
votes1
answer5018
viewsQ: How to Insert/Recover Image in Mysql Database
I would like to know in a clear and simple way how to insert/recover image in Mysql database? I’m using Firedac to connect to the Mysql database. I have a JPEG image and want to save it in a Mysql…
-
2
votes1
answer271
viewsQ: Scroll bar Twebbrowser
How can I leave the scroll bar at the end of the TWebBrowser?? Or know some other component that interprets and displays html? Help me please help!
delphi-xe8asked Viniam 642 -
1
votes0
answers392
viewsQ: Delphi - Chat with Emoticons
I believe that there are many and many people with this same doubt, unfortunately I did not find anything on google that could help me so I would like the solidarity and help of the staff here, How…
-
0
votes1
answer1180
viewsQ: SQL - Update without losing values
Good personal my doubt is the following I would like to update a value in the "Database" without losing the value there already allocated, Good for better understanding of my doubt I would quote an…