6,015 Topics

Member Avatar for
Member Avatar for arulkumar_1

Input Files: ============ XML ==== <para>some Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> Text File ========= some Text<insert>New Text</insert> some Text <delete>some</delete> Text some Text some Text some Text some Text OUTPUT: ======= <para>some TextNew Text</para> <para>some Text</para> <para> Text</para> <para>some Text</para> <para>some Text</para> <para>some Text</para> …

Member Avatar for arulkumar_1
0
236
Member Avatar for liz517

I am to write a censor program for all 4 letter words from an imported file, only I'm stuck. can you help? [code = python] # wordcensor.py # Program replaces 4 letter words in a text file. import string def main(): print "This program replaces 4 lettter words in a …

Member Avatar for kcm1
0
1K
Member Avatar for mubarka

hi after i setup new server and configuared active directory, every think work fine but when i power on more than 3 workstation pc's the network become too slow and some times i cant reach my server whats the problem?

Member Avatar for cguan_77
0
231
Member Avatar for yachile
Member Avatar for cguan_77
0
217
Member Avatar for pooja_3

I need some help. I am a newbie to php .. What I am trying to do is to parse an xml file and create a drop-down for the user. I have attached how my drop down list looks currently. What I want to do is to add a sub …

Member Avatar for diafol
0
1K
Member Avatar for Yorkiebar14

Hello, I am a web developer who is having a hard time trying to get my scripts to connect to my new web host. The script works perfectly on my localhost (I'm using XAMPP) but once I try to use it on my web host, I get the following error: …

Member Avatar for kanuriyesu
0
294
Member Avatar for Rahman_1

Hello Webmaster, i have some problem before upload images.... this my code <style> .thumb { height: 75px; border: 1px solid #000; margin: 10px 5px 0 0; } </style> <input type="file" id="files" name="files[]" multiple /> <output id="list"></output> <script> function handleFileSelect(evt) { var files = evt.target.files; // FileList object // Loop through …

Member Avatar for Rahman_1
0
224
Member Avatar for mukulnimker7751

Hi All, i am here with a problem in file handling in java. i need to search all the files on system with extention *.fdr. which are not less den one day old. then i need to convert the selected file to csv which is perfomed by a command in …

Member Avatar for JamesCherrill
0
369
Member Avatar for joe_5

I am using Ubuntu 12.10 with my Windows as each have a seperate partition and i am wondering about this...drivers are missing and when i try to get on line say that it can't get on line and i wonder if Usb 3.0 can have a way to let ubuntu …

Member Avatar for joe_5
0
292
Member Avatar for Sudhanshu_1
Member Avatar for Sevyt

I have a WPF app which saves a few textboxes in a XML file. But for some reason sometimes it saves ok and the other time it does not. And the problem always is how it closes the XML file. For example, closing the XML file shoudl end with </Data> …

Member Avatar for Mike Askew
0
2K
Member Avatar for rajendher

can anybody please tell me how to rewrite urls like http://mysite.org/myfiles/2014/-dir-/2014_02.html http://mysite.org/myfiles/-dir-/myfiles.html etc... i thought that there is a php file available at same directory ( /2014/)

Member Avatar for Bensirpent07
0
136
Member Avatar for Beggersewen

Is there a way to make a link download an image instead of opening in on the browser?

Member Avatar for harishjan29
0
276
Member Avatar for astian

I am sorry if I havent found if there is an obvious solution to my problem or if there is an answer to my question, I promise I looked and searched a lot, all my findings explain the apache cordova file api,but do not resolve my problem. And here it …

0
85
Member Avatar for edarcy

Hi, I am creating a project which is a remake of a game so I want to be able to read a map from a Notepad file and store the location and character in the file so I can place a selected image in the location on the grid that …

0
200
Member Avatar for asaidi

Hi i m new in java i want to create one to many objects it depends of the user how many objects he wants to create for a test the user can put a name and age then these entries will be saved to a hasmap then to a file …

Member Avatar for SynThiicQ
0
226
Member Avatar for modesto916

Hi everyone, I have to design (College work) a project for an web application which must be capable of acting as a GUI for a open-source project (Quagga Routing Daemon). This application must provide a way of managing many instances of the software installed in different remote routers. For those …

Member Avatar for jwenting
0
339
Member Avatar for frankvalentin

I need to add text (not a line) to an existing text file, using C#. I can create the file, and write text to it, but when I have to append text, for some reason, it fails. I can append a line, but I don't need to append a line. …

Member Avatar for ddanbe
0
3K
Member Avatar for globaliway

I am using the following script for listing the files in a particular directory as a hyperlink list. The files names which i have mentioned must not be displayed (like index.php), How do i change the code for this? <?php $directory = ''; foreach (glob($directory . "*.php") as $file) { …

Member Avatar for diafol
0
153
Member Avatar for Gà_1

These programs are not perfect and very coarcenes but I think it understandable for who are new to learning Graph Theory. I will point directly each problem by using example code. Any questions or idea please post here. Thank you. Here are my programs, we will start with a basic …

Member Avatar for SalmiSoft
2
410
Member Avatar for arty.net

I have written some code just to practice verbosity in python. Verbosity is embedded by means of the ArgumentParser module....however, I'd also like to write the stdout to file also when verbosity is disabled : #!/usr/bin/python from optparse import OptionParser from argparse import ArgumentParser import sys def printable1(): print "1" …

0
191
Member Avatar for davy_yg

Hello, Can anyone help me cek this filepath : $bannerAdsPath = 'localhost/phpads/install.php'; require 'localhost/phpads/install.php'; Is it correct how I wrote it? This error appears: Warning: require(localhost/phpads/install.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\phpads\admin.php on line 6 Fatal error: require() [function.require]: Failed opening required 'localhost/phpads/install.php' (include_path='.;C:\xampp\php\PEAR') …

Member Avatar for Alberto Bucur
0
171
Member Avatar for adetolaraphael

Havning issues with file upload in php, below is the code <html> <head> <title>margeducation</title> </head> <body> <p> Niggas Please upload your files in pdf or jpg format, size less than 500kbytes, capishe</p> <form enctype="multipart/form-data" action="processfile.php" method="post" > <p>REQUIRED DOCUMENTS:(Please Select all documents that were recieved for this student's application):<br/></p> <input …

Member Avatar for adetolaraphael
0
263
Member Avatar for jpizzolato

I am trying to upload a csv file to a website that was created using a MySQL query in a php file. Here is the code: ************************************* // Fetch Record from Database $output = ""; $table = "customer"; // Enter Your Table Name $sql = mysql_query("select * from $table"); $columns_total …

Member Avatar for sikander123
0
299
Member Avatar for isslam.akkilah.5

am trying to read file in java but i have an issue bufferReader are stating from number 2 `public static String lineLengths() { try { String file = "C:\\\\Users\\\\isslam\\\\Documents\\\\NetBeansProjects\\\\AnimeAid\\\\tra.srt"; BufferedReader br = null; try { br = new BufferedReader(new FileReader(file)); } catch (FileNotFoundException e) { System.out.println(e); } String line; while((line …

Member Avatar for isslam.akkilah.5
0
146
Member Avatar for jj.dcruz

Hi there I'm having a problem uploading my file with a progressbar. the problems are 1. i cannot upload any photos at all 2. i cannot find/promt errors **here is my full codes:** this is for php <?php if(!empty($_FILES['file'])){ foreach ($_FILES['file']['name'] as $key => $value) { $file = $_FILES['file']['name']; $allowed …

0
103
Member Avatar for blazemadej

I need to read these numbers from a file: 2 10.5 5 20 10 30.2 It is not working. It skips over numbers. The first row (2,5,10) is supposed to be Hours and the second row (10.5, 20, 30.2) is supposed to be Pay.Any help is appreciated.Thank you. Note: This …

Member Avatar for blazemadej
0
178
Member Avatar for custurd122000

I need a code that reads in a text file into an object Computers and sorts the specific indexes in descending order, as you can see the first one vendors is already sorted so you just need to print that one. Then in my case 2 I need to print …

Member Avatar for cgeier
0
512
Member Avatar for rajendher

hello everybody......... for example i want to read a 2014.html or 2014.php file like shown below. http://example.com/myfiles/2014/-dir-/2014.html. i don't want to show full path. how it is possible anybody please help me. Big up for reply.........

Member Avatar for rajendher
0
449
Member Avatar for theashman88

Allow others access files in your home directory by granting them "search" permissions. Create a publicly searchable, but not listable, subdirectory to your home directory, ~/pub. Create two subdirectories of ~/pub, both searchable and listable to only the members of the groups music and wrestle, respectively: ~/pub/music and ~/pub/wrestle. Note …

Member Avatar for rubberman
0
318
Member Avatar for LooN_iE

[code=Java] package newuser; import java.io.BufferedReader; import java.io.FileReader; public class Main implements ServerConstants { public static void main(String[] args) { BufferedReader lnr = null; String line = null; int N=1000; int totalRecords = 0; String [][] array = new String[N][]; try { lnr = new BufferedReader (new FileReader("LoginData.txt")); for (line = …

Member Avatar for ncmathsadist
0
304
Member Avatar for Saral_1

my idm is not dowloading the links i clicked upon.it says their issoe problem with my firewall

Member Avatar for Anima Templi
0
139
Member Avatar for showman13

This is baffling me and I am tired of trying different variations to accomplish what should be such a simple task. I have a folder in the main directory of the domainb called 'enroll_updates' that a file will be written to via CRON every night. But I am going to …

Member Avatar for showman13
0
191
Member Avatar for ss125

I am trying to get the width and height of the uploaded html file. This is what i have done so far. WebBrowser wb = new WebBrowser(); int ht,wd; wb.Navigate("D:\\page1.HTM"); ht = wb.Height; wd = wb.Width; But the above code always return me the wrong size of the page. Can …

Member Avatar for ss125
0
270
Member Avatar for brandon66

Hello everyone im not very good with using pointers, maybe just need more explanation of using them/how i would change my code. Well i have to update this program i have to read in item number cost and qusantity from a file instead of getting it from the user. the …

Member Avatar for brandon66
0
279
Member Avatar for murali2489

Hi Team, I have two java Files 1. Print (Package A) 2. Apple (Package B.C) (Jave file is inside C:\Z\A\B\C\ I have compiled and kept Print.class file inside C:\Z\A\B\A\ Now i have made a Jar file of Print.class named MyJar.jar and kept it in Z\A\ When i try to compile …

Member Avatar for murali2489
0
666
Member Avatar for Wayniepooo

Hi basically i need help , i am not good with c++ but i am trying my very best. i am currently stuck with trying to do an infix to postfix conversion that reads from a textfile. The text file contains the infix notations and the code is suppose to …

Member Avatar for Wayniepooo
0
1K
Member Avatar for Nonar
Member Avatar for SEOSepcialist
0
176
Member Avatar for arlir

Hi there every body, i am trying to build this contact list to hold records for a purpoted library but i got a little stuck with a few issues that i would like you guys to look at. The fifth switch(delete) statement does behave strangely i should say. When I …

0
77
Member Avatar for arlir

Hi there every body, i am trying to build this contact list to hold records for a purpoted library but i got a little stuck with a few issues that i would like you guys to look at. The fifth switch(delete) statement does behave strangely i should say. When I …

0
84
Member Avatar for arlir

Hi there every body, i am trying to build this contact list to hold records for a purpoted library but i got a little stuck with a few issues that i would like you guys to look at. The fifth switch(delete) statement does behave strangely i should say. When I …

0
52
Member Avatar for grafic.web

Hi there, Once i done my project whit MVC how should i make it working on line? I mean, i would love to put on line via FTP but the project seems too big for this... which filese shoult i upload? and how?? Thanks

Member Avatar for JorgeM
0
168
Member Avatar for Demerit

Hi to all My computer was running on a windows xp OS with three paritions (Drive C, D and E). In an attemt to install ubuntu on the system, it formatted the whole system. I just dont underatand how this happedned. all important files that i need are in Drive …

Member Avatar for gabrielcastillo
0
300
Member Avatar for $urya

Hi all, Today I read a thread by QWaz that just have been marked as solved. So, I think I should start a new thread with a prefix Tutorial as you are reading now. I'm going to cover in this tutorial are: - Create a directory after registering a new …

Member Avatar for bathina.gunasekhar
0
2K
Member Avatar for Simon180

Am trying to access a text file from one apache server to a other but i get following error Warning: file_get_contents(http://popx.mplayer.biz:7999/web-cronjobs/data/updates/updates_today.txt) [function.file-get-contents]: failed to open stream: Connection refused in /home/mplayerb/public_html/index.html on line 227 but yet i can access the file just fine by typing url into my browser <?php $updates_file …

Member Avatar for Simon180
0
230
Member Avatar for Learner010

hello , after learning on functions in c++ , i created several functions and now i wanna create a gourp which will have these several functions at a place(i think its done with header file). so, i think if i create a header file and include these all these functions …

Member Avatar for Learner010
0
231
Member Avatar for krnaveen14

I'll include the codes to compare two .csv files and have to display only the name of the student who has got odd marks in both files (not to display who got same marks in both files) Main code package comparecsv; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import …

Member Avatar for nebspace0x297
0
245
Member Avatar for Roobin

Hi, Im a new beginner to C++ and i have a question. I have a .txt document with many different values. I would like to return a value from the .txt file depending on what value i give in. I want to pass how many lines in the .txt file. …

Member Avatar for Roobin
0
255
Member Avatar for diggdirectory

which include: Search demand User intent Competition Budget Timeframe Goals Profitability Scalability click here for details : http://searchenginewatch.com/article/2325344/8-Deciding-Factors-that-Influence-SEO-Keyword-Prioritization

Member Avatar for Kelly Burby
-2
199
Member Avatar for diggdirectory

Matt Cutts said. "A lot of the times if you land on your site from a search result, even if they've been in business for 15 years, 14 years, sometimes they haven't updated their template or their page layout or anything in years and years and years. And it looks …

Member Avatar for cannynimble
-1
327

The End.