6,015 Topics

Member Avatar for
Member Avatar for corby

hey i am making a game and i wanted to see it as an exe file so i took the java code, creater a jar file, and then created a exe file. When the program runs on my computer it works fine, all the images load since they are on …

Member Avatar for NormR1
0
165
Member Avatar for binaryhackerman

Forgive me if this has been answered, I searched and couldn't find anything. I have several servers running on my LAN that i want to be able to access via host name instead of IP and port number (e.x. ted instead of 173.166.39.161:5000 for my ted 5000 energy monitor) because …

Member Avatar for binaryhackerman
0
269
Member Avatar for joy12

If we do the directory submission, bookmarking submissions on the same IP address websites, then is it effects to current rankings or not. Is it spaming ? Please discuss your views here. Thanks in advance.

Member Avatar for sandra500
0
194
Member Avatar for STP_Captain_Slo

Hi I have been looking all day trying to find a way to do this. I need to run a Batch file which is held on a server, the file path begins with a IP Address which DOS doesn't like. So i found the pushd command which assigns a temp …

Member Avatar for adam_k
0
286
Member Avatar for 080346

hello everybody i want to learn that how online file converters works and also want to implement it please provide me good references for it. i shall be thankful to you

Member Avatar for matricol
0
90
Member Avatar for DavidB

I am planning to change the web host of one of my web sites, and the site has a webmail service (similar to Hotmail, etc.). I recall that when I first set it up, I had to edit the MX record in the DNS file. Before I change the web …

Member Avatar for matricol
0
193
Member Avatar for coervivekmca

i have stuck in a small prob but this is big for me.... i need to upload emp image with emp imformation ...txtvalue should be saved in data base and image should be save in directory ....having path name in db. i dnt knw how to use enctype=mutlpart [code] <%@page …

0
75
Member Avatar for daniweb187

Hello all, In JSP / HTML, I want to restrict the size of file being uploaded. [I]<input type="file" name="myfile"/>[/I] If the user trying to upload a file size bigger than some value say 5MB, i want to give mesage to the user. I don't want to wait till the file …

Member Avatar for daniweb187
0
100
Member Avatar for Jaklins

My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason …

Member Avatar for Jaklins
0
704
Member Avatar for masterofpuppets

Hi all, I am writing a server in Java and I have an issue which I've been working on for days now and I can't seem to find a solution. I want to upload files to the server using an HTML form. I can read the whole POST request and …

Member Avatar for masterofpuppets
0
225
Member Avatar for nibalan

I am writing a script in perl for my project. I have given a snippet of the files below start.pl contains: system("/ws/nibalan/submain.pl"); submain.pl contains: system("/ws/nibalan/submanual.pl") open(INPUT, ">/users/$login/input"); - - some writing into input file submanual.pl contains: open(INPUT, "/users/$login/input"); open(MANUALANS, ">/users/$login/manualans.pl"); - - some writing into manualans.pl file While trying to …

Member Avatar for roswell1329
0
210
Member Avatar for altarek

Hello at update form i have upload file and i want if it have value does not change I used this code to upload at insert form [CODE]$lfile = basename( $_FILES['file']['name']) ; $target_path = "files/"; $target_path = $target_path . basename( $_FILES['file']['name']); if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) { echo"file uploaded" } else{ echo "There …

Member Avatar for nivibala
0
125
Member Avatar for airbourne

I am writing a simple shell script to automate a simple backup of a website and it's database. This is the working code: [CODE]#!/bin/bash # creates a backup of the mysql & webdata for a specific website. TODAY=`date +%A` # these variables cannot contain any spaces and must be modified …

Member Avatar for L7Sqr
0
722
Member Avatar for Xcelled194

I need to retrieve a HTML file from an external site ([url]http://example.com/page.html[/url]) and parse it. Parsing it is fine, however I can't seem to find a way to retrieve the file given this: [LIST] [*]Cannot use cURL [*]Must work on PHP 4.3.9+ [*]Must retrieve the file as a HTTP request …

Member Avatar for migcosta
0
627
Member Avatar for novice20

Hi all... I am trying to upload 4 files on a local disk, onto a remote ftp server. All of them are in the same folder(in local machine). I am using the storbinary function of ftplib. Following are the file sizes: 1-- 70 KB 2-- 60 KB 3-- 73 KB …

Member Avatar for novice20
0
118
Member Avatar for jacklegs

I need to access my browser cache specifically, the cache in Camino browser and Opera browser. I need the commands to get the cache, or any other method to obtain the cache. Thanking you in advance, I remain Mike Levinson

Member Avatar for jingda
0
435
Member Avatar for deva.v

Hi, I am creating a text file using a save file dialog and copying the path to the text box which file is used to write from vb.net. when i try to write i get an error "The process cannot access the file '....fileName.txt' because it is being used by …

Member Avatar for sandeepparekh9
0
911
Member Avatar for WildBamaBoy

If you look at a bunch of files with the Details view, file types known to Windows have a greater description of the file in the Type column. For example, .exe is an Application, .txt is a Text Document, and .cpp is C++ Source. If they are not known, Windows …

Member Avatar for WildBamaBoy
0
96
Member Avatar for vomhaus

I wrote a method to read in a txt file and then return the value(s) line by line. However, the value(s) are being returned as such - [Ljava.lang.String;@6f579a30. I would have expected something different. The .txt file I'm reading in has value(s) in the file like this... A B C …

Member Avatar for NormR1
0
150
Member Avatar for rijvana

hi users.. now i created one application in linux by using python. now i want 2 create setup file using distutils package 2 installation process.. i saw many of the setup file in other application.. each application has diffrent types of setup file.. so it make me some confusion.. help …

0
104
Member Avatar for djjavo

Hi Am new to this and was wondering if anyone knew a solution to this problem. I am wanting to get information from a text file into different arrays. My current text file has a new line for each driver but I would like it to look something like this: …

Member Avatar for djjavo
0
251
Member Avatar for saadi06

Hi, I am having a problem in javascript.It is giving me access is denied error on internet explorer and I am unable to move to my next page.Here is the javascript code. [CODE]stuHover = function() { var cssRule; var newSelector; for (var i = 0; i < document.styleSheets.length; i++) for …

Member Avatar for stbuchok
0
220
Member Avatar for buba_kazouba

I want to download 2 large files which is better 1-downloading each file alone or 2-download both at same time please say 1 or 2 and reason

Member Avatar for jingda
0
295
Member Avatar for Schol-R-LEA

I [url=http://www.daniweb.com/software-development/python/threads/364777]recently discussed[/url] some problems I had had in getting PyODBC working with Django and Django-pyodbc, but at the time it was decided to switch to an ASP.NET solution instead. For various reasons, we are trying once again to set up Django and PyODBC, and while we've had some success, …

Member Avatar for Schol-R-LEA
0
697
Member Avatar for gman1991

[CODE]// this is the grading sorting program for part one #include <stdio.h> int main(int argc, char **argv) { FILE *fp; // file pointer, points to the file char file_name[32]; // store file name int ID[50]; int grade[50]; int a,b; // index variables int student_id, grades; // opening file by asking …

Member Avatar for abhimanipal
0
164
Member Avatar for kutuup

I'm trying to read integers in a .txt file into a 2 dimensional array (map). Here is the function: [CODE] void loadmap(int mapnum) { int x; ifstream inFile; inFile.open("level1.txt"); if (!inFile) { cout << "Unable to open file"; //exit(1); // terminate with error } for(int countline = 0; countline <= …

Member Avatar for kutuup
0
349
Member Avatar for WolfShield

I am going through a tutorial and have come to opening a file. I'm running it in Command Prompt, but I know there is no problem with that because I have been running code in it without problems. Here is the code I'm supposed to be typing: [CODE=Python] f = …

Member Avatar for WolfShield
0
469
Member Avatar for alexia_net

Hi. I am trying to send the name of a file which is going to be launched for execution using a script from a *.js file. So in the original *.php file i have imported the *.js file like this: [CODE] <script type = "text/javascript" src = "getListsInfo.js"></script> [/CODE] Then, …

Member Avatar for alexia_net
0
214
Member Avatar for gmadeira

Hi folks. I'm having some problem here. I have a list of files to read and have to append them all to one unique file. the problem is that when i open the first file to read. I read the first line and discard it. when i read the second …

Member Avatar for gmadeira
0
161
Member Avatar for scoobie

Hi, I was wondering if someone could help me. I am using java SWT and am trying to output a list of files and its properties to the screen. I have a file browser popping up and when i select a directory and click ok it outputs the path and …

Member Avatar for Murdok@i
0
413
Member Avatar for computerbear

Hi there, I have been having some problems with my Visual Basic. In trying to figure that out, un-installing, and reinstalling, running virus scans, etc, I have lost a lot of my time to get this assignment done. I would just keep messing around with it and try to be …

Member Avatar for computerbear
0
378
Member Avatar for Aaronjw

Alright, I am working on this for an assignment and I cannot seem to figure out where I went wrong... My first problem, whenever I input the CC number, the only one it accepts is the last one in my text file... My second problem, when it does accept a …

Member Avatar for Aaronjw
0
140
Member Avatar for rminator

Hello, I have a problem not far from the one quoted above, namely retrieving data from a text file containing the log file, and then convert each value and come out the graphic representation. And so far my code is not working as it should, and I just can not …

Member Avatar for abelLazm
0
460
Member Avatar for tejaminnu

Hi, I have been trying to execute this program and i am getting an error. Kindly help me. #!usr/bin/perl -w # The filename of the file which contains the protein sequence $proteinfilename = '/users/sukeerthiteja/desktop/perl/NM_021964fragment.pep'; # First open the file and associate a filehandle with it. for readability purpose lets use …

Member Avatar for d5e5
0
241
Member Avatar for psyb0rg

I'm trying to upload a file to a remote server using curl. The server requires that the file contents should be in the post body and the file name should be in the header. This is the code I', using : [CODE] $fp = fopen($fileLocation, "r"); $ch = curl_init(); curl_setopt($ch, …

Member Avatar for gieseni
0
1K
Member Avatar for asasasasasa

Hi all . . i need to develop an uploader for my website . . i done it . but the progress bar not working . . plz do help me .. thanks in advance . . --Karthik this is my code . aspx page : [CODE]<%@ Page Language="C#" AutoEventWireup="true" …

Member Avatar for aspproject
0
2K
Member Avatar for shilosimi

Hi. I'm trying to delete a line from a Db file that I've created. I'll explain: I'm making a Db of people, which is consisted of id, first and last names - each one in a different line. When I want to delete a record, I wanted to copy the …

Member Avatar for tkud
0
170
Member Avatar for Misklahr

Hi! Is there any way to remove a file from a directory when a session ends? (Like when a user closes the webbrowser)

Member Avatar for Misklahr
0
387
Member Avatar for simply_viks

hello. i am working on the i/p file which will have object name=value.have any no of i/ps given by user. the value has to be updated each time a new value is entered in CLI. can i overwrite the value with some greater size value????????????? without using the tepmfile??i understand …

Member Avatar for simply_viks
0
317
Member Avatar for abusive

Basically i have a script that outputs a list of information about a file, Here is a sample [CODE] File Size:15423 bytes File Name:Test.txt File Location:C:\home\Test.txt File MD5 Hash:1caf4a063526d84cd5b1ae6383a426d6 File SHA1 Hash:e79bfba095a8531adcb855d7c286f5c3ca93a535 [/CODE] My problem is that i want to split the data into two columns, For example "File Size:" …

Member Avatar for diafol
0
292
Member Avatar for BioJavaPhobic

I want to remove all lines in a text file that start with HPL_ I have acheived this and can print to screen, but when I try to write to a file, I just get the last line of the amended text printed in the new file. Any help please, …

Member Avatar for roswell1329
0
182
Member Avatar for WolfShield

Hello guys, I am pretty new at (good) programming, so I had some pretty bad code I was using until I ran across some code and decided to model my code after it. I have the code so it has no errors, but when I run it (NetBeans) it doesn't …

Member Avatar for WolfShield
0
148
Member Avatar for josiefrut

Hi there guys! I've been stuck with this problem for quite a while now. I wanted to create a jsp which would upload files to sql database. I've used this code for my upload_page.jsp: [CODE] <%-- Document : upload_page Created on : Mar 6, 2011, 11:01:40 PM Author : Administrator …

Member Avatar for josiefrut
-2
478
Member Avatar for Kprosser1029

I need to create a gui application.. When the user clicks the start button use a JFileChooser to allow them to pick a directory from the system and then run the recursive search of the file system from that directory and display the directory and each file in the JTextArea. …

Member Avatar for JamesCherrill
0
101
Member Avatar for snipermann

Hello I am working in my study with xml file therefore I want to read an xml file with c++ to get the information such the coordinates of the points in order to use them later. I have written the following code, but [U][B]I have just taken only one value[/B][/U]. …

Member Avatar for ravenous
0
318
Member Avatar for mangel.murti

i am reading file and getting content , on localhost it is working and displaying result. but after uploading on server , not displaying or echo relevant content of file? any help appre thnx [CODE]$tcnt = 0; $file = fopen("/home/uploads/date/".$list."_".$Type.".txt", "r") or exit("Unable to open file!"); $file_rl = $file; while(!feof($file)) …

Member Avatar for almostbob
0
83
Member Avatar for lexusdominus

Hey, does anyone know which function/s i need to use to copy a file from one subdirectory to another, without changing the name? im on windows if that helps.

Member Avatar for WaltP
0
147
Member Avatar for darkdai

hi all, i have a code which searches for a string in a file, the searching works well except that it will only return that the string is found if it is the first word in the file, otherwise it will return not found. help me please [CODE] #include<stdio.h> #include<string.h> …

Member Avatar for Narue
0
113
Member Avatar for manish250

hello all i have a tgz file on the system.Now i want to download it in my jsp page.but i have not any idea how to do it. currently i am downloading the text file in jsp using following code [CODE]response.setContentType("Text/html"); response.setHeader("Content-Disposition","attachment;filename="+strFileName+""); [/CODE] please help.....

Member Avatar for manish250
0
154
Member Avatar for BBAD

Hi Ok, I redone my multi-boot system and pre this, i copied all my data folder's to external drives. Now in Vista or WIn7, I get, you need Admin permission. Not only that, when I say yes to the above and then try to edit files in that folder like …

Member Avatar for caperjack
0
205

The End.