Questions tagged as 'archivo'

0
answers

How to read and manipulate .txt file in php and choose a row and column?

I have the following code in php: <?php exec("exec.bat"); $archivo = file_get_contents("result.txt"); //Guardamos archivo.txt en $archivo $archivo = ucfirst($archivo); //Le damos un poco de formato $archivo = nl2br($archivo...
asked by 16.04.2018 / 07:37
0
answers

input type = 'file' ... in Microsoft Edge

I have a series of which, from the Microsoft Edge browser, I can not access its features since query by Jquery returns undefined, but from others such as Chrome, Firefox or Opera si. These are stored in an array called FileList Next I show th...
asked by 11.04.2018 / 08:38
0
answers

Using files to save SQL queries is good for performance

I am doing a new project in node.js, but I have the question whether it is a good idea to save the SQL queries in file to be able to version in git, since I am using the orm squelize. using the fs library of node.js, to retrieve the inf...
asked by 04.04.2018 / 21:54
0
answers

In an application in ASP.NET c # that copies a file in a local network from a client to the server. What user should I give permission to?

Good morning, thank you in advance for the collaboration you may receive. The situation is as follows, I have an application in .NET That copy a configuration file of several clients to the server in a Local Network, the problem is that for it t...
asked by 02.04.2018 / 23:11
2
answers

Create .php files with fopen ()

I'm Trying this: <a href=" <?php $fh = fopen($p['n'].php, 'w') or die("Can't create file"); if($fh) { $code =" <?php //codigo combinado con html nada complejo incluí php para manejar sesiones ?>"; echo fwrite($file,$code); fcl...
asked by 20.03.2018 / 15:19
1
answer

How to search and modify a specific part of a line in a text file

I am programming an application that resembles a library. The program will save the author, title, date and subject of a book in a text file, each field separated by commas, in this way: Don Juan Manuel, Count Lucanor, 1331, novel The user...
asked by 15.03.2018 / 16:31
2
answers

Python: open txt file in different folder

I have the following hierarchy > Project > App1 > folder1 > main.py > App2 > folder1 > folder2 > file.txt I want to op...
asked by 08.03.2018 / 18:11
1
answer

Read file by blocks How to optimize it? see the end of the post

Good morning dear community. I am a platform application development student and I have encountered a problem in class that brings me some headaches, to see if someone can help me or give me a clue. I have the following file (sudokus.txt):...
asked by 28.02.2018 / 03:30
0
answers

How to use str for file lines in Python?

When reading the lines of the file, some characters are always read as last characters, some white characters as spaces and the line change character ('\ n'). This causes the created file names to include these additional characters. For example...
asked by 01.03.2018 / 17:06
1
answer

Doubts files and lists python

I'm starting to program in python, and I've been asked to make a menu that asks the user for the code, name, surname, city and add this to a file. I've been thinking and it comes to mind, create a list where to enter the data entered by the u...
asked by 28.02.2018 / 18:33