6,015 Topics
![]() | |
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 … | |
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 … | |
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. | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … ![]() | |
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 | |
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, … | |
[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 … | |
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 <= … | |
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 = … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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" … | |
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 … | |
Hi! Is there any way to remove a file from a directory when a session ends? (Like when a user closes the webbrowser) | |
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 … | |
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:" … ![]() | |
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, … | |
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 … | |
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 … | |
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. … | |
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]. … | |
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)) … | |
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. | |
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> … | |
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..... | |
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 … |
The End.