233 Topics
|
|
Hi all, I need to read a text file (I've attached it, you can take a look), and then store all the numbers in it into a 2D array. After which, I need to parse it. I need urgent help here! ): |
|
I have about 15,000 emails in google that were sent from a wordpress webform. I need to be able to extract data from that email and export to excel. Are there any suggestions? I have started using Parseur. But I need to be able to foward all 15,000 emails but … |
|
#Tutorial - Content extraction using Apache Tika From the official website: > The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful … |
|
Getting the follwoing error message. How to fix this? **Parse error: syntax error, unexpected end of file in** Actual Code: <?php session_start(); include("connection.php"); $sqlsettings = "SELECT * from admin"; $resultsettings = mysql_query($sqlsettings); $rowsettings = mysql_fetch_array($resultsettings); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?php echo $rowsettings['ScriptName']; ?> … |
|
Hi,all I need a java parser for parsing any java file in any package,not only existing file ...Can i do this ? how? |
|
Stupid constant in class declaration issue One of our live servers is still on php 5.3 and is breaking on the second line with this message Parse error: syntax error, unexpected '.', expecting ')' in ....... systemAdministrator is a defined constant that i can echo out with no problem before … |
|
Hey guys, this seems to be a thorn in my side. I've been working on scraping a website which uses aspx and has eventvalidation/viewstate inputs. Every other scraping experiment I've made was not this difficult. Maybe one of you geniuses here at Daniweb has an idea of how to solve … |
|
Hello: I am getting a parse error while running a file on my server on my home machine: Parse error: syntax error, unexpected end of file I have been researching this for a few hours now but have had no results to overcome this error. In the editor it is … |
|
I have strings representing an angle, of the format ddd°mm'ss''. I want to get to the three constituents: degrees, minutes and seconds. I first chopped off the seconds like this: `angleString = “ddd°mm'ss''”;` `string str = angleString.Substring(0, angleString.Length - 2);` Then I tried to do this, to get to the … |
|
I am working with two seperate files which contain similar code - One throws a parse error for an identical line, the other does not. I do not understand why this would be. **The error on the file that will not run is**: Parse error: syntax error, unexpected '2' (T_LNUMBER) … |
|
Hi Friends, I want to do a project for Parsing Resume in C#. i.e when we upload resumes(More than 100), it should extract Name, email id, phone no, skills. **Please don't tell that software’s are available. I tried those soft wares, but they are not working properly.** So, I wanted … |
|
<?php include 'Classes/PHPExcel.php'; include 'Classes/PHPExcel/Writer/Excel2007.php'; include 'Classes/PHPExcel/IOFactory.php'; require_once 'Spreadsheet\Excel/Writer.php' ; require_once 'Spreadsheet\Excel\Writer/Workbook.php' ; //E:\Program Files\EasyPHP-DevServer-14.1VC11\data\localweb\generer\Spreadsheet\Excel\Writer try { echo date('H:i:s') . " Create new PHPExcel object\n"; echo "redderr " ; $data = new Spreadsheet_Excel_Reader("GenerationDesNoeuds.xls"); $data->dump($row_numbers=false,$col_letters=false,$sheet=0,$table_class='excel') $workbook = new Spreadsheet_Excel_Writer('GenerationDesNoeuds.xls'); $worksheet =& $workbook->addWorksheet('My first worksheet'); if (PEAR::isError($worksheet)) { die($worksheet->getMessage()); } $workbook->close(); exit … |
|
Hello there :) I got this json: http://steamcommunity.com/id/spekat/inventory/json/730/2 In place of "spekat" - has different account names with different information. I want to get "classid" index with information (like numbers) Now my code is like this: <?php $urljson2 = file_get_contents("http://steamcommunity.com/id/$steam_acc/inventory/json/730/2/"); $json_decode2 = json_decode($urljson2); $inventory = $json_decode2->rgInventory->classid; ?> But not work, … |
|
package my_package; my_object obj_instance; String my_string; my_string = obj_instance.toString(); System.out.println(my_string) ; // gives my_package.my_object@asj128 // I've lost track of obj_instance but it in memory // and I want to recover it from my_string , like my_object obj_instance1 obj_instance1 = ( my_object) my_string ; some thing like string to object converstion … |
|
Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', … |
|
I am using PHP Simple HTML DOM Parser to fetch urls, but i got an error while fetching links. Have a look at this script: $result = str_get_html($result); foreach($result->find('a') as $element) $result = str_get_html($result); $result = str_replace('http://', '', $result); foreach($result->find('a') as $elementa) echo $element->href; echo $elementa->href; Here I want to … |
|
Hello, I got terrible need :) I have this: $profile_data = file_get_contents("http://tyxo.bg/d/148025/daily"); $sep1 = explode('<table id="general-table">', $profile_data); $set2 = explode("</table>", $sep1[1]); echo $set2[0]; which output this: http://i.imgur.com/2THUUve.png I need to export only this values without anything else: http://i.imgur.com/IQG708Q.png You can test by your self the code i give - he … |
|
Hi everybody, I have a file with some tags like html. *<instance id="bass.1000000" docsrc = "BNC/A0C"> <answer instance="bass.1000000" senseid="bass%fish"/> <context> Try it with grilled sea <head>bass</head> and fennel. </context> </instance>* I need to parse it and retrieve some information like id and senseid in answer tag. How can I do … |
|
I'm trying to parse equations like these which only has two values or the square root of a certain value from a text file: 100+100 -100-100 -(100)+(-100) sqrt(100) by the minues signs, parenthesis and the operator symbol in the middle and the square root, and i have no idea how … |
|
Hello. I am a complete newbit to Python. I am trying to read a text file (which is actually an svg file) and add a line to the text file. I would also like to remove certain text from the file. I am trying to edit some of the tags … |
|
Hello, I recently took a course on assembler/compiler construction. In it we covered parsing algorithms such as LL(n), LR(n), LALR(n), and SLR(n). I understand how these parsing algorithms can be used to determine **if** an input string follows a context free grammar (CFG). At some point I also understood how … |
|
All, What is the most efficient way of writing several lines of data to a *.txt file? Currently, I store the required text in memory then write it all to a user-specified text file at the end, similar to the following; Dim text As String = "" text = text … |
|
how to fix below error Notice: Error: Table 'oc_product_profile' already exists Error No: Table 'oc_product_profile' already exists CREATE TABLE `oc_product_profile` ( `product_id` int(11) NOT NULL, `profile_id` int(11) NOT NULL, `customer_group_id` int(11) NOT NULL, PRIMARY KEY (`product_id`,`profile_id`,`customer_group_id`) ) ENGINE=MyISAM COLLATE=utf8_general_ci; in /home3/ffashion/public_html/ffashionfox.com/system/database/mysql.php on line 51 and my sql database is: <?php … |
|
i am trying to use xerces in ubuntu 13.10, it is instaled, i can see the files in usr folder but i have no luck including it in eclipse cdt, i've found this thread "[Click Here](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/409769/ubuntu-11.10-xerces-c)" but it is dead and the answer is not clear for me, could anyone … |
|
In the last few days, I have noticed a very old thread ... resurrected ... about a non-standard C getline function. To all who may like a C readLine function ... a C function that reads in a dynamic C string of any length ... a function with a similar … |
|
What's a better way to do this? I need to sift through this file and store the following values Cpl File name Content kind Package type Encryption status Container File size Duration Timed text/png Number of audio channels 2d/3d Fps 1) I'm not sure if I should just store these … |
|
Hello everyone! Needing some help with styling a DOM parse. I have been toying around with the style but continue to end up with whitespace parse errors... So first of all here is the working code Sorry about the paste however the code snippet continued to display: The code snippet … |
|
I am trying to parse a text file with 1200 songs. I want to increase the barcount every time I come across a '|' or a ']' character. I want to have a new line every time the barCount is equal to 4. However, if I come across '\n' I … |
|
i am very, very very new to all of this.. seem to have got what i wanted for the most part.. i am putting a little weather widget on our business website... and have everthing working fine except sunset, sunrise... i think because it has subcatagories.. how do i pull … |
|
dear all, i want to parse this url: http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/ to get all image, selectedImage, and url value. and my php syntax is: <?php $url1 = "http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/"; $url = file_get_contents("$url1"); $arr = json_decode($url,true); foreach($arr['menu']['image'] as $item) { echo "image: ". $item[0] ."<br>"; echo "image_selected: ". $item[1] ."<br>"; echo "url: ". $item[2] … |
The End.