how do we extract data from an xml file and display it in php?

Member Avatar
Member Avatar
+0 forum 8

Hi Team, I am beginner in Java. I am trying to prepare report using Java,the code will generate a Microsoft Word Document and add some text and images in it. I am using Apache POI for this.I am able to create and add text in the doc file and the doc is opening fine,but when i am trying to add image in the doc file,the code is not giving any error,but when I am trying to open the Word Dcument it is giving a erro message like **"The Office Open XML file reportcan not be opened because there are problems …

Member Avatar
Member Avatar
-1 forum 5

<p>How to show pdf file in web page? ex: www.scribd.com</p>

Member Avatar
Member Avatar
+0 forum 10

I need a working code for deleting an uploded file on the ftp server.I do have a script but it dosn't work.. [CODE]<?php // set up the settings $file = 'old.txt'; $ftp_server = someone.net'; $ftpuser = 'user'; $ftppass = 'passwd'; // set up basic connection $conn_id = ftp_connect($ftp_server); // login with username and password $login_result = ftp_login($conn_id, $ftpuser, $ftppass); // try to delete $file if (ftp_delete($conn_id, $file)) { // the ftp function echo "$file deleted successful\n"; } else { echo "could not delete $file\n"; } // close the connection ftp_close($conn_id); ?> [/CODE] this code is not able to find the …

Member Avatar
Member Avatar
+0 forum 4

Is there ay inbuilt method to convert 2D array into CSV file? e.g. Can anyone give me a hint to convert [1,2;3,4] into a file output.csv?

Member Avatar
Member Avatar
+0 forum 4

[Click Here](null)Hello dani. I know how to write to a file using redirection. But I am unable to write a record to every new line. I want it this way alex amsterdam 800 7 But I am ending up putting everything in a new line, I mean the fields or overwritting with the last value. I need to perform some operations on this set of values, but I am unable to create the file that way. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 6

I have a website that lists pdf files for downloading, with links to each file. What I want to do now is design a search page that will look in the folder that contains these docs and search for docs that match a partial name. I have created search pages for MySQL before - do I have to create a table with file names and links and then do a search of MySQL? TIA, jej1216

Member Avatar
Member Avatar
+0 forum 9

hi frds ... I want to notify my application whenver user open any file. i just want to notify the name of that file, which is opend by user. how can achive this. FileSystemWatcher class is not giving this facilities. I want only notification for opening any file.. please reply whaterver you know.IF any trick or logic is there than also let me know....please ...

Member Avatar
Member Avatar
+1 forum 16

0 down vote favorite I want to ask all of you for some help since i'm still new to web programming. So basically i have html table like this, <table width='200' border='1'> <TH>Year 1 Spring</TH> <TR> <TD> <div id="y1f_0">one</div> <div id="y1f_1">one</div> </TD> <TD> <div id="y1s_0">two</div> <div id="y1s_1">two</div> </TD> </TR> </table> <input type="button" onclick="something"> and for example if i click the button, and it will save the table above and output/export it as a text file so later one i want get back that text file to export it back to the html table. I don't really know how to do …

Member Avatar
Member Avatar
+0 forum 4

how to edit a pdf file in ADOBE READER 9 ? like adding text in boxes and putting check marks ?

Member Avatar
Member Avatar
+0 forum 10

Hi, Dear Friends i have complete my C# project and its working greate, Now i want to make a Setup / Installation file of my Completed C# project, so i can install it on any Machine and use it, just like a softwares we download and install them on our PC and use them... So please tell me that, how can i make single Setup file of my Completed C# Project... Thanx in Advance from Lucky

Member Avatar
Member Avatar
+0 forum 10

how do I call a .exe file from my perl script?

Member Avatar
Member Avatar
+0 forum 3

hi all i want to open a file but this file in other directory.and i want to use this function: int open( char *filename, int access, int permission ); i can not use other function, because i have use only system call function. when file exists beside of my code, there isn't problem. but when exist in other drectory can not open that.

Member Avatar
Member Avatar
+0 forum 5

Hi Guys, I was trying to code in C for the following. You are given with 2 files, file1.txt and file2.txt. The contents of the file contain INTERGER values. Add the contents of the file and write them to another file file3.txt. My code is as follows #include <stdio.h> #include <stdlib.h> int main() { static int data,data1,sum; FILE *f1,*f2,*f3; f1 = fopen("C:\\file1.txt","r"); f2 = fopen("C:\\file2.txt","r"); f3 = fopen("C:\\file3.txt","w"); while(( fscanf(f1,"%d",&data) != EOF ) || ( fscanf(f2,"%d",&data1) != EOF )) { if(data == EOF && data1 == EOF) { break; } else if(data == EOF) { sum += data1; } else …

Member Avatar
Member Avatar
+0 forum 5

The End.