24 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for PriteshP23

Hello, I have one big XML file (600 MB - 850 MB) in format "**cells_yyyymmdd_hhmi.xml**" I would like to specify that everyday i will have new file with new date. So, *there should be general way to read it and cut it*. For exmaple, i have file of 7th January. …

Member Avatar for rubberman
0
254
Member Avatar for timmyjoshua
Member Avatar for saguni
-2
360
Member Avatar for PriteshP23

How to read **550 MB** XML file in php? I couldn't put data in php file like: $xml =<<<EOT <?xml version="1.0" encoding="utf-8"?> <data> ..... ... </data> EOT; In addition, when i did from command line, it "**kill**" the process. *Any idea ?*

Member Avatar for PriteshP23
0
515
Member Avatar for chris.causey.37

This code should read in some data from sector zero off of a USB flash drive, then print out some of the data. However when I run it there is nothing that was put in the buffer. int _tmain(int argc, _TCHAR* argv[]) { int ReadSect = 0; char diskname[60]; sprintf_s(diskname, …

Member Avatar for dx9_programmer
0
303
Member Avatar for daffi_gusti

Dear all, I am trying to read a list of string from text file and put it into an array. Could anyone tell me, how to split that string to array. Here's my text file.... [I]text.txt[/I] a b 1 2 4 2 3 1 *3 1 3 *4 4 4 …

Member Avatar for Sokurenko
0
4K
Member Avatar for sieuwe

Hi, I've got a problem with my project. When I initialize an arraylist, the content is displayed and you can go through the arraylist by correctly answering the given word. But when I load a new arraylist from a file, the old arraylist is removed and the new one is …

Member Avatar for JamesCherrill
0
222
Member Avatar for esesili

Hello all, I want to write a qui program which opens and reads a text file when pressed Open File button. So far, when I click the button Open File Dialog works and I can choose the file to read but I do not know how to read it line …

Member Avatar for esesili
0
202
Member Avatar for klemme

Hi, After uploading a pdf from a form, i am trying to read the file. It is saved in DB, and i try to get the chosen PDF via a link that holds a unique value from the DB, so the chosen PDF can be identified, and displayed. BUT, I …

0
95
Member Avatar for klemme

I have a uload script that saves PDFs to the DB, and i have another page, where I want to read the PDF file, but the latter is not really happening.. AM I DEFINING MY PDF_DIR CORRECT: [CODE] define('PDFS_DIR', $_SERVER['DOCUMENT_ROOT'] .'includes/pdfs'); [/CODE] This is the read_pdf.php file: [CODE] <?php require_once("includes/config.php"); …

Member Avatar for ddymacek
0
179
Member Avatar for BirdaoGwra

Hi, I am making a simple application where it reads and loads words from a text file into a ListCtrl(lc_report) in wxPython. There are only two column. i am loading it like this : [CODE]f=open('Test.txt','r') all_words = map(lambda l: l.split(" "), f.readlines())[/CODE] And in Test.txt file, there are some words …

Member Avatar for richieking
0
198
Member Avatar for jshoot

Hi everyone! I'm triyng to develop a program whith this functions: 1 - Read data from text file 2 - Put the data from file to a variable(ignoring comments in the file) 3 - Tokenize the data e transform the variable into another variable(like float) 4 - Make the calcs …

Member Avatar for jshoot
0
593
Member Avatar for Drakarus

Hey all. At the moment i'm struggling to read a file which contains 4 integers on each line separated by commas. I want to read each line then put them in a list like Text File will look like 1, 3, 7, 9 2, 5, 6, 8 I want it …

Member Avatar for iconoclazt
0
144
Member Avatar for bmoe

What is the best way to terminate ReadFile once the data is done being read? I just sits there an hangs! I'm kinda new to Python so be easy on me! :) The other way i was able to read info from my pipe was blah = open(pipe) then blah.read() …

0
117
Member Avatar for Sunshineserene

Hi, I want to know to rows and columns of numbers from a text file. I do not want to read it as a string, but one number (including numbers with decimal) by itself. I tried using FileInputStream and DataInputStream, but I'm not really good at it. I don't know …

Member Avatar for tong1
0
2K
Member Avatar for Sunshineserene

Hi all, I'm having some problem with my codes. I have a output that is generated into a txt file. Now, I need to read the txt file and convert the output into something else. This is the output that is store in a txt file: VAL LEU SER PRO …

Member Avatar for java_programmer
0
182
Member Avatar for wardensmat08

Hi. Can anyone help solve my problem. I'm stuck already and still can't find solutin although have search in google many times. I want develop a simple firefix addon. This is my first addon.. It was use javascript. I want to read a content from other web. In php, I …

0
85
Member Avatar for mcbothra99

I am trying to run one of the two files on my site using if file exist and readfile functions. When I give the file path in readfile() it runs properly. But when I use same file path into if file exist() it says "file does not exist". ================= It …

Member Avatar for DarkBerzerk™
0
668
Member Avatar for kirtan_thakkar

Hi, I am beginner in PHP and MYSQL ... Before using mysql i have created database in text files.. Now I have to convert it into the table of mysql database.. The things i want to do is .. first open the specific folder and into that open the sub …

Member Avatar for digital-ether
0
126
Member Avatar for BluMan

Hi! Could you tell me what did I do wrong in the code bellow? I try to read one line from a file, but it shows on the screen only unknown characters(different from the characters I have in the file). [Code] GetLine Proc Hand:HANDLE, pBuf:DWord Local Len:DWord Local rLen:DWord Local …

0
128
Member Avatar for timbomo

could i get help with the syntex on reading a file to an array in c++. all the examples i see are more

Member Avatar for Kevin_160
0
124
Member Avatar for junezy4

I need the coding for the following question in C: Read from a file (.txt file) and count the number of times the word "a", "is", "the", "and", "that", and "this" occurs.

Member Avatar for targ2002
-3
142
Member Avatar for junezy4

I need the coding for the following question in C: Read and print all the consonants from a file (no duplicates). Assume the file is a .txt file. The consonants are then to be sorted in alphabetical order.

Member Avatar for Ancient Dragon
-6
163
Member Avatar for Tango2010

Hi, I realise this may be a simple problem but i've really been pulling my hair out at the moment. I've got a text file, which I need to read each of the 15 characters (numbers and letters) on each line in to a new record in an array (called …

Member Avatar for WaltP
0
153
Member Avatar for NebulaM57

Hello, I am trying to read the contents of a text file from a website. I am running Visual Basic 6 (SP6). I need to add this code to an existing application written in VB6, so VB.NET is out. The file I want to read is on our website. It …

Member Avatar for vb5prgrmr
0
312

The End.