6,015 Topics

Member Avatar for
Member Avatar for opbasu

hi everyone there, yesterday we were trying to extract the text from jpeg file and wanted to add it to word,but we couldn't Is there any way out there to do that workout,is any software available there which can help me???/ please answer this..........

Member Avatar for SautinSoft
0
218
Member Avatar for ThisIsMeOrIsIt

Hi all - I need to read a text file using a scanner class that has the following format: 5 5 5 5 5 5 5 0 0 0 0 5 5 5 0 5 5 5 0 0 0 5 5 5 5 0 0 2 0 The first …

Member Avatar for ThisIsMeOrIsIt
0
2K
Member Avatar for angelali2013

Ok, I am not a professional in PHP as I am more on front-end than back-end. I want to know some information of file upload in PHP. I did create a website as a project where users can upload images, with its security and validation. The images stored in a …

Member Avatar for angelali2013
0
543
Member Avatar for EmpK

For a project i have to create a program that is able to write and read a sequential file and list the contents into textboxes. So far i am able to write to the file but the problem is i am not able to retrive/read the information from the file. …

Member Avatar for xerohomicide
0
230
Member Avatar for firras

If someone could help point me in the right direction, it would be much appreciated. My problem is merge sorting a list from a text file and outputting the sort into a different text file that the user chooses. The text file that's inputted is about a 20 item list …

Member Avatar for Ancient Dragon
0
706
Member Avatar for Riu 2009

hi everyone :) i dont know where i am doing it wrong...but cant upload my file...there is no error but its not saving the whole path in DB and not uploading anything in the directroy as well... please point me to riht direction tahnx :) <?php include("../includes/config.php");?> <?php $mediafile = …

Member Avatar for Riu 2009
0
741
Member Avatar for jfunchio

I'm trying to add a file uploader to my website and I was wondering if there is any way or any open source code that can upload a file and the display the contents of the file in an html textarea. This files with most likey be Python or Javascript …

Member Avatar for AleMonteiro
0
199
Member Avatar for Vish0203

Hi, I'm working on a small project and i'm stuck in a part where I need to replace the existing word in file with a new one. I really have no idea about it.. I'm posting the function block where i'm facing the problem void team::team_list() { string str = …

Member Avatar for sbesch
0
157
Member Avatar for fdkallday_1

Hi guys, im developing an inventory system. things are doing good until ms access starts to slow down my vb6 project. my records are already exceeding 13k rows. retrieving and recording are laggy. like 3-15sec waiting. now. im planning to migrate to mysql. i already have mysql and SQLyog as …

Member Avatar for pritaeas
0
102
Member Avatar for amith_ami

hi all,.... plz help me..... hi guyz... i just know how to insert a file into database, but i dont know how to update that file.... here is my code.... <?php $resume=$_FILES['resume']['name']; $file=$_FILES['resume']['tmp_name']; $ext=strstr($resume,"."); //echo "file".$file; //echo "<br>"; //echo "resume".$resume; $sql = "SELECT MAX(cnd_id) FROM tbl_candidate"; $res = mysql_query($sql); $data= …

Member Avatar for amith_ami
0
133
Member Avatar for jlmeyer43

So I'm currently working on a program that does the following tasks: Read the encoded message from the attached MessageIn.txt file using StreamReader Count the instance of each character in the file, The most common character in the message should be an "E". Use this information to calculate the amount …

Member Avatar for jlmeyer43
0
240
Member Avatar for jamesperkins0

Hi guys, so my task is as follows. A. Develop an application that reads your listings.txt file, analyzes the property listed per agent, and outputs a report to an agentreport.txt file. Your application should do the following: 1. Prompt the user for the name of the input file (listings.txt). 2. …

Member Avatar for jamesperkins0
0
469
Member Avatar for jackbauer24-2

Go here: http://www.tizag.com/phpT/fileupload.php Under the heading "**php - file upload: uploader.php**" there are these sentences:- ----$_FILES['uploadedfile']['name'] - name contains the original path of the user uploaded file. ----$_FILES['uploadedfile']['tmp_name'] - tmp_name contains the path to the temporary file that resides on the server. The file should exist on the server in …

Member Avatar for urtrivedi
0
194
Member Avatar for thammalatha

Hi, Iam using filestreams to create binary file (c:\\..\\abc.bin).I want to put some checksum when i try to open the file through programming ,like if it is previously modified through another application or done manually.At the point of opening the binary file i need to perform some checksum by checking …

Member Avatar for thammalatha
0
338
Member Avatar for SphirosOkelli

I have written a code that reads and input file, does some silly little calculations with some functions. It's a schoolwork assignment, but its done :) With one small kink- I need to create an output file. Well, actually I can make the out file just fine. But I have …

Member Avatar for SphirosOkelli
0
151
Member Avatar for klemme

I need to create a video gallery for a website, and would like to create it using the html5 video tag backed up by videojs. As I havent worked with video uploads before I have some doubts on how to approach it: What file size would you recommend as a …

Member Avatar for klemme
0
500
Member Avatar for algrandjean1

Hello, I am having some difficulties getting my program to write the contents of an object to a file. First off, I am not sure if I should be writing the contents of the the object (e1, e2, e3) to the file or if I should be writing the contents …

Member Avatar for aradicev
0
280
Member Avatar for cucolino

Hy there. I have some code where I store data for 365 records (for every day in a year) in delphi, some kind of list as far as I understood (a good man!!! Sir Rufo on stackoverflow helped me with that part of code, writing whole example for me! Thanks …

Member Avatar for cucolino
0
427
Member Avatar for vishalonne

Hi I just wan to to pass the value of Input Type File html tag to a 2nd PHP page where I will insert the image in mysql but I am always getting a notice and isset() is not getting the $_FILE('IMAGE'). Here is the notice - `Notice: Undefined index: …

Member Avatar for vishalonne
0
1K
Member Avatar for kristenw17

So I am trying to make a code that will read a file that contains an unknown number of students and an unknown amount of scores for each student. Then output each students average score. I have tried several different combinations of loops and each times some problem comes up. …

Member Avatar for JamesCherrill
0
350
Member Avatar for hemalatha.nambisan

# # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.0/> for detailed information about # the directives. # # Do NOT simply …

Member Avatar for hemalatha.nambisan
0
371
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 …

Member Avatar for Adak
0
158
Member Avatar for Riu 2009

hi php geniuses :) a simple question for u ppl here's my code and i want to upload all files i.e. images, videos, audios, ppt, pdf etc but here ican only upload the images successfully.. when i upload audio file it gives following error. please check my code and suggest …

Member Avatar for Riu 2009
0
2K
Member Avatar for kandarpa

Hi there, I want to check whether a file is a link or not. Eg: I have a directory structure as follows: mkdir -p abc/bcd/cde/def touch abc/bcd/cde/def/file cd abc/ ln -s bcd link Now, abc/link/cde/def/file is actually not a file. Its a link Now I want to remove this file …

Member Avatar for Watael
0
210
Member Avatar for hotblink

Hi, I need some help to make a program where python reads each line(a string) of a .txt file. -sample txt file-(EOF stands for 'End of File) I need it to be able to read up to 300 students. ID , Last , First, Lecture, Tutorial, A1, A2, A3, A4, …

Member Avatar for snippsat
0
428
Member Avatar for FakeTales

Hey i have three forms on one page , i am getting them to write the data to seperate text files. If i use on form to post the colour it will write the colour to the text file but if i use the form to select which display i …

Member Avatar for neatric
0
337
Member Avatar for Mitnick06
Member Avatar for SautinSoft
0
186
Member Avatar for btech_Saurabh

Hi Developers..... I have a Problem.... I have a XML file.....n I have to Read the Data from that XML file n Create a New File and the Data is in a Binary Format.....(All the code is in C# only) I have used the BinaryReader,BinaryWriter and BinaryFormatter but i can't …

Member Avatar for Diwakar Kumar
0
5K
Member Avatar for AmrMohammed

Greetings, As the thread title said I want to know how to create a setup file. I know the basics of creating such setup file but I want to know how to create an enter serial number windows form, how to ensure that the entered serail number is true or …

Member Avatar for AmrMohammed
0
208
Member Avatar for ismael ahm@d

Hi Friends, I am trying to send a file via email and upload on a server as well, but unfortunately the file uploaded successfully while attachment sent to email there when i preview or download so it contained error, below following code is: <?php if(isset($_POST["Submit"])) { $to = "abc@gmail.com"; $subject= …

Member Avatar for urtrivedi
0
177
Member Avatar for deepecstasy

I have designed a linklist based BookStore in which book's attributes will be stored in a node & so on. Plus at the end of program, I have to save all database into text file *(I tried binary reading but damn I got me killed & couldn't do it)* & …

Member Avatar for deepecstasy
0
406
Member Avatar for PhilEaton

Hello! I am having trouble getting the abspath when entering only an executable file. How can I fix this to return the full abspath? I am taking user input and opening a process (application). Here is my code: file = "/" + arr[2] + ".exe" print(file) path = os.path.abspath(file) print(path) …

Member Avatar for PhilEaton
0
418
Member Avatar for narendra pratap

Dear all, how i can fetch image path in input field. when i update form the image path has lost their path so it is not updated so please do some help. thanks

Member Avatar for diafol
0
237
Member Avatar for angham kh

**hello every body i am trying to filter alog file witch is save as txt file on my computer so i want to filter the log file depend on a particular word and this word apper in 3 column but the column i want is th 3rd one for example …

Member Avatar for angham kh
0
1K
Member Avatar for jjoseph8008

I have a directory of log files - audit_20121101_010000.csv (nov 1st), audit_20121102_010000.csv (nov 2nd), audit_20121103_010000.csv (nov 3rd), audit_20121104_010000.csv (nov 4th) etc. generated on a daily basis (windows box). I am very new to perl and would like to compare the most recent file with the second most recent file on …

Member Avatar for 2teez
0
230
Member Avatar for Kirielson

In C++ it seems like every single time you open a file, the inner contents get deleted quickly. Is there a way to open the file at the end of the last character while keeping all contents within the file? I've been looking at something with the End of file …

Member Avatar for ankit1990rana
0
8K
Member Avatar for xIXZeroIXx

hello everyone, im having a headache with this error im getting, im trying to read a number from a file but inside a Switch(case) statement but im getting alot of erros only inside the case and i cant figure out why if my open file code is correct (as far …

Member Avatar for xIXZeroIXx
0
289
Member Avatar for Aditya.gtbit

Hi I am trying to make an java application to compress file and folders in .zip format.. i want to add additional functionality of adding password to a zip file,for this i want to use aes-256 algorithm but i am stuck with this,i can't figure it out. if i apply …

Member Avatar for Taywin
0
343
Member Avatar for ibthevivin

>Write a Java program that recursively reads ten names from a file, and then outputs the total number of characters in the names, the list of names, and the list of names in reverse order. All looping must be performed recursively. > Jay Walker Erol Flintstone C. Erol Madre Billy …

Member Avatar for Taywin
0
2K
Member Avatar for cmps

Hello!!! mmm am learning OOP in Java ... and now I'm facing a prob in reading/writing .txt file here's my code: import java.util.Scanner; import java.util.Formatter; import java.io.File; import java.io.FileNotFoundException; public class Tester { public static void main(String[] args) { Scanner scan = null; Formatter formatter = null; File fileI; File …

Member Avatar for cmps
0
2K
Member Avatar for deadsolo

Hi, I am currently working on a script that will compare two numbers from a file. I am thinking that I need to use a regular expression in order to get the numbers, however I don't know what the regex would be since there are multiple numbers through out the …

Member Avatar for deadsolo
0
300
Member Avatar for kendaop

Hi everyone. I'm teaching myself Android and it's been nothing but trouble. I'm having difficulty even doing some of the simplest tasks. Anyways, I've created a login screen, and when the user presses "OK", I want to switch activities, but it's not working. Here're my Logcat erros: 10-26 10:24:23.779: E/Trace(952): …

Member Avatar for peter_budo
0
619
Member Avatar for Wire.Crisis

Hello all. I am very excited to have found this place in that I might better my very shoddy coding skills. I am trying to learn Python with a couple of books and some ideas for programs. I am trying to figure out a matter of what I think is …

Member Avatar for Lardmeister
0
409
Member Avatar for mahela

I made a vb project and there i use a database as "super.mdb".My database is located at mydocuments. So i used the path(c:\mydocuments\super.mdb)in forms of my project to connect the database with my vb project. After making my project as a setup file, I installed it in my system and …

Member Avatar for AndreRet
0
977
Member Avatar for McLaren

Hello, I am trying CIUnit - PHP unit integration to codeigniter. But I am stuck - getting error that file is denied: E:\projektai\php projektai\htdocs\ci_unit\tests>phpunit PHPUnit 3.5.14 by Sebastian Bergmann. ....[CIUnit] PHP Error: Warning - include(E:\projektai\php projektai\htdocs\ci_u nit\application\config\testing\database.php): failed to open stream: Permission denied File Path: database/DB.php (line: 41) [CIUnit] PHP …

Member Avatar for McLaren
0
299
Member Avatar for tapuwa2002

My file function doesnt seem to want to open my file in a folder. $lines = file('/download/test.xls');

Member Avatar for pritaeas
0
69
Member Avatar for DustinS

import os data = map(lambda c: ord(c), file(args[0]).read(os.path.getsize(args[0]))) For one file, os.path.getsize(args[0]) returns 10456 while len(data) returns 281. After looking at different files, I realized that it always stops reading at the 0x1A character. The documentation says that in Windows, Python uses _wfopen which (for compatibility reasons) interprets 0x1A (CTRL-Z …

Member Avatar for Gribouillis
0
2K
Member Avatar for slygoth

I have been trying to read back the information from a file that i created. I get all the information i need out of the file but now all i want is to use the display function from the linklist to get that information. I would like it if the …

Member Avatar for Ancient Dragon
0
132
Member Avatar for minimee120

Here's what I have so far. I have one class Directory.java and another class DirectoryWithObjectDesign.java I need help editing my code that when executed, it will be prompted by 3 commands. Find, Delete, and Add. If asked to find, the user will input find then("stringhere"), then the program will search …

Member Avatar for Taywin
0
4K
Member Avatar for guiltyjq

Hi I am trying to delete a folder but I get the error message: "Cannot delete file: Cannot read from the source file or disk." I also cannot move, copy or cut & paste it. I can, in the same location, create a folder with exactly the same name (strange!) …

Member Avatar for ABTOsoftware
0
354

The End.