Questions tagged as 'txt'

1
answer

Read from a predefined line in txt

I am doing a txt file to save some information from a root user (username, password, name, cpf, email) in order, and I would like to know how do I read just the line that I would like, cpf or email or user.     
asked by 28.05.2018 / 20:17
3
answers

Find Strings in Text Files in PHP

I have a file named "test.txt" inside it has several words, I have an input where I get the inserted word and would like to check if this word is contained within this ".txt file". Does anyone know how to do this?     
asked by 19.10.2017 / 14:30
2
answers

Write to txt file with PHP

I have a file txt but it is missing the nome in several lines of the file, I would like to name it according to the order number. The logic would be to check the order number of the line that is unnamed in the case of the 203...
asked by 04.11.2016 / 15:00
1
answer

Determining sequence of numbers with bubble sort from a txt file in python?

I have an input file in txt with data type the following: 7 6 8 4 8 5 0 1 2 1 0 3 2 3 0 This file is about 3 students from a school. The first line is the age of these 3 students (the first column could be student1, the second...
asked by 17.07.2018 / 22:53
1
answer

Txt file manipulation in JAVA

Hello, I'm a beginner in java and I need to create a program that creates a txt file with a pre defined content, read it and divide the contents of this file into two different txt files. start with // (java comments) and pass the rest (it will...
asked by 20.04.2018 / 21:59
1
answer

What is the best way to record a user log?

I have a small monitoring system that aims to show if the data on some servers are the same as the backups . As the system interacts directly with the database, there was a need to know who was accessing and when accessing the system, as I a...
asked by 21.02.2018 / 14:32
1
answer

Read file txt

I am creating a WEB application and need to read a txt file that will be provided by the user. The code I'm using to read is not working and I can not find a way to read it elsewhere. // Código dentro do controller $scope.imprimir = funct...
asked by 22.08.2017 / 00:15
1
answer

Error trying to save txt

Personal good morning,  I have this code block: $delimitador = ';'; $cerca = '"'; $VarDataAux = ''; // Abrir arquivo para leitura $f = fopen($_FILES['arquivo']['tmp_name'], 'r'); if ($f) { // Ler cabecalho do arquivo...
asked by 30.06.2017 / 13:34
1
answer

The PN0 control number V0102 does not correspond to the IBGE municipalities code. How to join the banks?

Hello I am working with the food supplements of pnad04 , pnad09 and pnad13 of IBGE and with two other banks of IPEA, one on municipal GDP ipea.pib and another on investments in social programs by municipality% with%...
asked by 01.02.2016 / 05:24
1
answer

Listview does not repeat records

I have a txt file with multiple records inside, I need something that at the time the function is to add to the ListView these records, do not let me add repeated items. To do this, it could use a particular column and compare. Wit...
asked by 31.08.2014 / 20:15