6,015 Topics
![]() | |
Hi i have a problem in uploading large file. web hosting allow me to send file 256M, Code is working for small files but i try to upload 25M size file page return back without any error, and nothing happened. i also use "set_time_limit(0);" for unlimited request time In error … | |
Can someone help me on perl script for "how to sort flat file on third field & stored sorted output in the output flat file"? In this example - I have input file with unique key column (third field)& I want sorted output get stored in the output file. e.g. … | |
Hey I was wondering how I could write a binary file in Java with code in C++ using the reinterpret_cast function. If I remember the line correctly (not currently at work) it was: [CODE] file.write=reinterpret_cast<char *(&x)>,sizeof x; [/CODE] with x being a variable. How can I do that in Java? … | |
Hi once again. As the title implies, the goal of the following code is to create calculator for operations +,-,*,/ and ^. However, the operations are to be executed on values in the files I arbitrarily named a.txt and b.txt. a.txt contains following data: a1 era1 a2 era2 . . … | |
im having problem saving a FILE, i doesn't save the extension name of the file and doesn't save also the images in my folder..? can you kindly look , what is my problem with my FILE code? only in FILE SAVE, i dont have errors in my other fields. [ICODE] … ![]() | |
I am trying to copy the contents of a folder into another folder in another drive using XCOPY. Here is code I have now but it isn't working and I figure xcopy would be the easier way to go because MOVETO and CopyDirectory haven't been working because its copying files … | |
The purpose of this code is to open a file, read a passage and delete any word that is "secret", it is then to save the new passage to a new file. Problem: [Warning] passing arg 1 of `strcmp' makes pointer from integer without a cast I think I know … | |
Good Evening everyone, long time lurker, first time poster. I have an issue trying to read information from a file that I'm struggling with. My function takes a file input object and reads information into arrays of type int, int, double, char (2 dimensional array). The file data looks like … | |
Hi. So my problem is that my loop doesn't stop. Here's my code. [CODE]public void askData () { String word; String stop = null; int line = 0; File dataInput = new File ("dataIn.text"); c.println ("In order to stop, just leave it blank."); c.println (); while (true) { try { … | |
I've done some searching, and it seems a few people have asked similar questions, but none of them were quite what I was looking for. I need to be able to read lines of code from a .txt file, and then execute them in Java. Or, if that's impossible, would … | |
So I have written some code which reads a file line by line, breaking each line into characters and storing into a multidimensional array. However the program freezes and crashes at lines 31-34. When debugging the code runs successfully through the for loop once, then fails at 32 the second … | |
I recently had to change my motherboard and re-install win 7. So far so good, I had all my program install files on a back up hdd except one, and thats where it goes pear shaped. I have rapid php, but only the files of the previously installed copy, I … | |
Hello people! I have a question. I use windows xp operating system and ms office professional 2007. When I want to import a tif file in Excel 2007 as a hyperlink from Hyperlink button, I succed import the tif file, but when I double click on the link it occurs … | |
[CODE] <?php $oldumask = umask(0); mkdir($url, 0777); umask($oldumask); $myFile = $url."/index.php"; $fh = fopen($myFile, 'w') or die("can't open file"); $stringData ="lots of things"; ?> [/CODE] Why am I not being allowed to write files to my website, it was recently working, my host had some technical issues yesterday,, and now … | |
I want to make a program that makes and extracts tar files from scratch a other sit said that using wikipedias specifications it's easy but I don't know how to do half that stuff! Like makeing the thing to the right size moving where it writes and reads to. Making … | |
I don't know where I went wrong but I'm generally trying to write a .htaccess file that will redirect all files which end in .tsv to .txt instead. (I don't know why but my extension is insisting on renaming the file back. Which is fine, since it's required by another … | |
Hello, I am currently doing an assignment where I have to read numbers from a .txt document into an array and later find the average of different lines of the .txt document sort them and what not. I'm not even close to the ladder parts of this assignment and I … | |
Hi Perl guru's I'm new on Perl i need help for below mentioned issue. I have 4 flat files with 4 columns like below: eg: 000360112720C17506721111130602 m 1L 1008968860482 I have one excel file with 12 columns I have converted the excel file into text with comma seperated. Now i … | |
can anyone say how can we link a css file to a php file.. I tried this [CODE]<link rel="stylesheet" href="site.css">[/CODE] here site.css is my css file and i am including this in home.php file in the head section. but i am not able to get the effects in the webpage. … | |
Hello, I'm having this issue with copying files with .NET's File.Copy() method. I have a file, that I want to copy to a couple locations, but when doing something like: [CODE]File.Copy(source, target1); File.Copy(source, target2);[/CODE] I keep getting an exception error about the file being in use. Seeing that if I … | |
So new here to daniweb and just finished my first semester of programming 1 and I'm trying to do some extra curricular work to get me prepared for my spring semester. Would appreciate any and all help or suggestions anyone could give me. Here's the issue: So i was trying … | |
I'm pretty new to programming, so this may be really obvious, but I'm having trouble with it. I'm trying to learn python, so I thought I'd make a simple program in python to help me write similar lines of java code faster, (I'm going to easily have hundreds of lines … | |
Is it possible to have, when user clicks 'Choose File', to narrow down their choices to .XLS files? My HTML file is: [CODE] <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> [/CODE] My PHP file … | |
Hello there, submissiontime length finishtime remainingtime 1031 17:11 574.1025391 MB 1050 17:30 1 1326 22:06 536.0175781 MB 1343 22:23 2 2721 45:21:00 608.1279297 MB 2741 45:41:00 3 32 0:32 575.8115234 MB 51 0:51 4 1161 19:21 652.6259766 MB 1182 19:42 5 937 15:37 288.7597656 MB 946 15:46 6 3087 51:27:00 … | |
Using the file of sunset data, write a program using graphics that shows the sunset and sunrise. When I run the program, it says java.lang.NullPointerException. I want to know where I put the sunset data file. I am using eclipse. Here is my program: [CODE] import javax.swing.*; import java.io.*; import … | |
Hello all, I am building a small file system in c++ that builds a table in a file called test.txt from information on another file. I am trying to copy the information over and then access a specific part of it based on the date. The data is copied over … | |
I am not exactly sure what information is relevant, so my apologies for any useless/redundant information. On my Mac (Snow Leopard 10.6.8) with xCode (gcc) compiled and run through the terminal the following works fine (ignore code and continue reading): [CODE]#include <istream> #include <string> #include <iostream> #include <fstream> enum Year … | |
I have a text file which has data in it in the following format: string string char int double string Each field is separated by a tab character. The last string of every line contains multiple words. The file can have up to 50 lines (I am guessing if I … | |
Dear respected senior php web developer i m new to php webdeveloping and hoping for a good coder one day inshaALLAH SIR i have problem with my image hosting script [url]http://pashtoaudio.com/tahir/upload.php[/url] is for uploading images and [url]http://pashtoaudio.com/tahir/photos.php[/url] is for displaying all uploaded images how ever i want to show there … | |
I want to build a script that does the following: The script should do make an arry from the directory where the script is with os.listdir(). Then the script has to test if the value in the array already excists in the outcome file, if not the name in the … | |
hi i just started php, my code works on ie, bit when i open the webpage on firefox and chrome the image does not display?, can anyone help [CODE] $car = "C:\wamp\www\porche.jpg"; $banner = "<img src=\"$car\" "; $banner .= "width=\"380\" height=\"110\" border=\"0\" >"; echo($banner); [/CODE] | |
Hello, I want to use Hamming Code to correct any BER's that I have streaming from a text file. The contents of my text file are as follows: 0 0 1 0 1 1 0 0 0 1 0 1 1 1 1 1 1 0 0 0 0 1 … | |
Hi I'm stumped on how to make this program that I'm working on to output the information to the text file in a nice fashion instead of writing it in a funny way. I basically want this program to output the student record information line by line and organized. The … | |
So I was given a code about IO to understand [CODE]// The "FileIO" class. import java.awt.*; import hsa.Console; import java.io.*; public class FileIO { static Console c; // The output console public void writeFile () { PrintWriter output; String fileName; c.println ("Saving a File in Java!"); c.print ("Enter file name: … | |
Hi, there im a new member, I have a few questions. i am having a problem i am trying tp find words that are related together by one word for example "dous" Tremen[B]dous[/B],stupen[B]dous[/B] ect... I have my code working so that it goes through my text file and picks out … | |
Whats up everyone I have a question, but first of all I know how to read a file, write to it and all that good stuff I was wondering how do I manipulate data from one. I want to take this .txt file and compute the gpa by taking the … | |
I am working with Java RMI. I have created my client in netbeans. After failing to use rmic in netbeans i created stub file using rmic on command prompt and placed the file in my project folder's build\classes directory.Now when i run the server from command prompt, binding takes place … | |
Hi I am trying to upload and convert video files then retrieve the filepath. I successfully managed to upload and save the filepath, but I am trying to add the converting functionality. The code I have so far is below. Thanks in advance [CODE]Protected Sub btnUpload_Click(ByVal sender As Object, ByVal … | |
RK TEAM YDS YDS/G PASS P YDS/G RUSH R YDS/G PTS PTS/G 1 Philadelphia 4951 412.6 3066 255.5 1885 157.1 271 22.6 2 New Orleans 4946 449.6 3566 324.2 1380 125.5 362 32.9 3 New England 4724 429.5 3510 319.1 1214 110.4 331 30.1 4 Green Bay 4414 401.3 3345 … | |
Hey guys I have this code snippet and I want to read from this file and print the contents of my text file (Transcript.txt) to the screen. I don't have any errors but when I run the program it prints "Display it to the standard output" instead of whats on … | |
I am writing a program that has a few requirements. Here is what it looks like the picture that I attached. [B][COLOR="red"]The first button is used to add (append) a record to a text file containing MP3 records.[/COLOR][/B] When an MP3 is added to the file, all text fields should … | |
I have to create a program in C and not C++, that allows the user to create a file that stores names and numbers, displays them and sorts the dates by names or numbers using Bubble sorting. I know how to create a program that sorts names and numbers that … | |
Hello, I have a program where I am using an object array that I declare from a class. I am trying to store information from a text file into this array. I will then be doing other items like searching the array and displaying it into another text file. I … | |
Hi every body i was create some forms for uploading files. when i tried to upload some files with less than a MB there is no problem and it works well but when the size of file that i want to upload it, is over than 10 MB i faced … | |
![]() | Hi, I am still new to C# and am working on an annotator: 1. Input some Chinese Text. 2. Click Button. 3. Output some Chinese Text - each word that's found in the dictionary get's a span-html-class around for later implementing it in a website. Here it the code for … |
I've developed a software using VB.Net and SQL compact edition database. (.sdf file) Now i want to add my .sdf file to setup file. I've search internet and create setup file. when i install the software, it is created new folders in program files including my database file and exe … | |
I was asked to write a program, based on parent-child cooperation, which uses a “parallel” merge sort to a sequence of 800 numbers from a text file.I have to read the sequence of 800 integers, which I store in an array, and then pass half of them to a child, … | |
I've been stuck on this for hours because I really don't understand file descriptors and how successfully print a file to one. Basically, I want to be able to open a file and then echo its contents a character at a time to a socket file descriptor. The code below … | |
I am unable to run batch file that is located in mapped network drive using System.Diagnostics.Process in VB.Net. I get: [CODE]'<batchfilename>.bat' is not recognized as an internal or external command, operable program or batch file. Press any key to continue... [/CODE] I get the same error when navigate to the … | |
How am I able to open the contents of a text file into a GUI with each character in the text being an individual button. Say the text file contains 25 characters that are either "A" or "B" in random order. The text file also have 5 rows with which … |
The End.