Questions tagged as 'text'

2
answers

How to block copying and pasting in an input?

I have an input ... <input type="text"> How do I block the commands (control + c and control + v) and right click, copy or paste?     
asked by 05.12.2017 / 20:50
1
answer

Delete Row according to text in a Java Txt

Good I have a code like this: String ruta = "archivo.txt"; File archivo = new File(ruta); String texto; String[] a; String pre= "texto a encontrar"; FileReader f = new FileReader(archivo); FileWriter f1 = new FileWriter(archivo); Buffere...
asked by 11.05.2018 / 13:28
2
answers

Extract characters from a text file in Linux

I have a very basic question. I have the following text file (cdrag.txt) and I want to extract only the value (number) that is just after Cd : forceCoeffs forceCoeffs execute: Coefficients Cm : -3.99664 (pressure: -4.0...
asked by 16.06.2018 / 11:36
1
answer

Problem with text file and PHP

Text and PHP files: How do I automatically display the message I just sent via POST on the same page? here is my code: <html> <head> <title>mboard</title> </head> <body> <?php $myfile = fopen("mboa...
asked by 06.07.2017 / 17:34
1
answer

Fill in input text with user data from mysql

Good afternoon! I am creating a visitor registration form for commercials. I need to extract in an "input type=" text "as the default value: The commercial agent's code, (it is not the same as the client's id) This is the form:               ...
asked by 09.11.2017 / 17:44
3
answers

Save text files in vectors

I have the following code #include <stdio.h> #include <string.h> int main() { FILE *fp1; FILE *fp2; int i,j; int bin[7], dec[70]; int c; fp1 = fopen("bin.txt", "r"); //Abrimo el archivo fp2 = fopen("dec.txt","r")...
asked by 03.07.2017 / 17:29
3
answers

Go through a txt file StreamReader

I'm trying to go through a txt file with StreamReader , the problem I have is that I can never get past the first row of my txt file and I do not understand why. I have dealt with a for and with a while but I only cycle on the first row...
asked by 16.07.2018 / 22:01
1
answer

PHP do a search and extract in another variable

Good I am trying to do one thing, I explain myself: Of a variable type text with several lines I want to extract in another variable the line that contains something I've tried it in the following way: $reporte strrpos(substr('$TextoGrande'...
asked by 07.05.2018 / 16:50
2
answers

as a full html code as TEXT in database through AJAX?

I have a html code, I need to use AJAX, by pressing the button: Save, that all the code is saved in the database in a field type TEXT     
asked by 30.11.2018 / 12:29
0
answers

SQL - Read a txt file and separate rows by blanks

Hello friends I am trying to process some txt's that I receive from a system other than mine, I need to take this information and store it in a table within my SQL Server , the question is that my data It comes separated by 2 characters, very l...
asked by 11.07.2018 / 23:36