Questions tagged as 'txt'

0
answers

Replace palava in txt using php

I have the following line in the txt file #EXTINF:-1 tvg-id="Globorj.br" tvg-name="GLOBO RJ HD" tvg-logo="https://2.bp.blogspot.com/- this line repeats several times. I need to open txt and change the word tvg-name to N...
asked by 16.01.2018 / 14:31
1
answer

.txt does not show old messages, takes only the last one and displays

What the application consists of: saves the result of a question (qtd hit and qtd error) strong> on another screen. What the application is doing : Saves everything and only displays the result of the moment the application opens, it ig...
asked by 29.12.2017 / 22:32
0
answers

Model lp in txt to run in Gurobi

I created an optimization model through a macro, writing an lp template in txt to run on Gurobi. However, when I walk in the Gurobi, the model appears as infeasible. Does anyone know how to help me find the error?     
asked by 10.12.2017 / 22:23
1
answer

Read CSV worksheet data to generate custom files

Friends, I'm having trouble creating a Python code that reads information from a CSV and creates TXT files with custom names according to the content of the CSV (reads the cell item and generates the file esse_name.txt) Can someone give me a lig...
asked by 13.10.2017 / 03:03
1
answer

How to save txt with date and time?

<?php $data = $data = date("d/m/Y"); $pastaO = ""; // pasta de origem $pastaD = "BACK_UP/"; // pasta de destino $arquivo = $data.".txt"; // arquivo if (copy($pastaO.$arquivo, $pastaD.$arquivo)){ echo "Sucesso!"; }else { echo "...
asked by 14.09.2017 / 00:23
1
answer

How to put the value of a Php variable inside the Input in html5

Good afternoon I need to make the value of the $ x variable appear inside the input item. below is the code. Thank you very much in advance. <!DOCTYPE html> <html> <head> <title>Teste</title> </head&...
asked by 08.09.2017 / 20:11
1
answer

Count number of occurrences in a log file

I'm trying to count the number of occurrences of multiple text patterns in a log file. My code is counting all the lines in the file for all text patterns. Where am I going wrong? The log file looks like this:    Feb 1 00:00:02 bridg...
asked by 02.08.2017 / 17:01
1
answer

Apply data from a txt to ArrayList

I need tips on how to create (where to start, which functions to use, etc.). A generic project that receives a .txt file, reads the data and stores the words in ArrayList<> . I have already created a structure for: L...
asked by 31.08.2017 / 16:12
0
answers

How to compare the password through a wordlist

How can I implement the code so that the password is compared through a wordlist in .txt? And print out the password that is matched. In the example below the password is the world.      $hash = '$2a$08$Cf1f11ePArKlBJomM0F6a.EyvTNh6W2huyQi5UZs...
asked by 24.04.2017 / 04:59
1
answer

PHP Read TXT, delete lines, create new file

I want to use PHP and xamp / wamp to do the following task on my computer without the need to upload / download: I have dozens of TXT files on the computer, each TXT containing only 1 name per line, no dashes, periods,., etc. I want to do...
asked by 30.11.2016 / 20:10