6,015 Topics
![]() | |
I have code to upload a image to a folder (storing location and image info in a mysql database) with a separate page to display the images in albums on a website. Can I change this existing code to allow me to upload multiple images at once? here is the … | |
Hello all, I have an issue, not that familiar with ASP but the environment I'm working on requires this to be designed here. I have a file with a string, integer, and another integer seperated by commas. I need the website to allow the user to upload a csv or … | |
Hi when i run php file on local host it directly go to download folder it not come in run condition Please help me i am new in php thank | |
is there a possibility that a prpgram can be written to restrict file sharing(music) from phone to phone (bluetooth) or from laptop to CD (burning) | |
I need a help for adding icon for my file association to be visible not as unknown file format i the explorer............ | |
Firstly, I am a beginner in Java, and I have never been into any programming before, so it seems like I need a little help to solve a task. The task is "I've a text file with the size of more than 5 MB, & I need to clear the … | |
can you help me to uploade image file to folder using php | |
I had saved files in folder "uploads".I want to display uploaded filename in the table. There are two files. london.jpeg & usa.pdf Table: no Name File 1 abc london 2 xyz usa When one click on london or usa, one should able to see the file. I need urngent help. … | |
Hello all its been a while, I have a question on the script below. Here is what I would like to do. Take $file after fwrite has processed and add it to $dir. The Script creates the Directory and the file. I just need it to add the File to … | |
Hello all, I have an issue, not that familiar with ASP but the environment I'm working on requires this to be designed here. I have a file with a string, integer, and another integer seperated by commas. I need the website to allow the user to upload a csv or … | |
Hey guys is there a funtion in python that enables to output values to a bin files? Just like storing strings in .txt files, can we store hexadecimal values directly into .bin files? I am working using Python 2.7.3 | |
i have a php script that generates a text file. the code is as follows. the text file is being is being created. <?php session_start(); /** * @author FreeUser * @copyright 2013 */ set_time_limit(0); // override the maximum execution time in php.ini file require_once 'includes/mysql_connect.php'; require_once 'includes/functions.php'; if ( isset( … | |
Hi. I have a noobish UNIX question. I have a password-protected section of my website for testing (named 'sandbox') and I'm trying to write output to a plain text file in that directory. But I'm getting the following error due to permissions settings. `Warning: file_put_contents(testdb.txt) [function.file-put-contents]: failed to open stream: … | |
Hello, I want to create java application which can run .cmd file. I already write the code which run .cmd file, but my problem is the following: this .cmd file prompts the user to enter his mail and password & I want my program to give these values to the … | |
Right now, this program asks the user to enter the input infile and outfile file names. Then it gives an error if it can't open the file. If it can open infile, it reads the first value and consider that as the array size. After that it continues with other … | |
Here is what I want this program to do: Be able to calculate mean, standard deviation, and median. Data should be sorted using insert sort first though. The program must be able to accept input from an input file and print a report to an output file. These files are … | |
I'm writing some code to serialize some data and write the serialize data to a file on disk. Currently data is in void* buffer and then trying to serialize using tpl with TPL_MEM so that later it can be write to file. But I am not very sure that how … | |
I want to upload images to my database, these can be done using php and mysqli . The form contains some information like file descriptiopn and input file and when i submit the file the file will automatically enters in to the database and the image will be stored in … ![]() | |
#include<iostream.h> #include<fstream.h> class studentinfo { private:/*Creating Private Data Members */ char* VUID; char* campusID; char* Studentname; char* Fathername; public: void Storefile();/* Function to Store Data in the File*/ char Display();/*Function to Read and then Display Data from the File*/ studentinfo(char*, char*, char*, char*);/*Constructor to initialize Data Members*/ ~studentinfo(); }; /* … | |
Hello. I'm trying to set up a private section of my website for testing and I'm having a problem where my .htaccess / .htpasswd protection always rejects my password. I've set permissions to 604 on both files as recommended by my web host and both files reside in the same … | |
I want to use the data members to store the info on the file and then read and display them through these two member functions in the class but i can't think of syntax. i made global variables but didn't use the data members in the class. i stored and … | |
Heloo Guyz!! I Uploaded My Html and Php Files To server by using FileZila. And When I google and click my address It shows all the Files i uploaded to server(Shows the directory ). not the home page, how can i show my home page only when i click my … | |
I have a task and a half that i am sure i can do, just want to be pushed in the right direction: i have a web page (asp.net c#), on it has a button that when clicked should launch the file dialog window, users must be able to select … | |
Hello! My name is Page, and I am still in the process of becoming a more seasoned programmer. I am trying to get a .txt file with first names in it to be sorted after I read the file and input it to a array from a function. Now I … | |
hi. i have written a program in c and also a makefile for it but i have a repetitive error: /usr/bin/ld:4.txt: file format not recognized; treating as linker script /usr/bin/ld:4.txt:1: syntax error here is makefile code: CC=gcc test2 : test2.c $(CC) test2.c 4.txt 5.txt 6.txt -I -lpthread -lrt -o test2 | |
# my html page # <form action="file_insert.jsp" method="get" name="ff" onsubmit="return validation()" > <tr> <td height="50" colspan="2" align="center"><font color="#CC0033"><strong><font color="#663366"><em><font size="4">Fileupload </font> </em> </font></strong></font></td> </tr> <tr> <td width="117" height="36"><font color="#FFFFFF"><em><font color="#663333"><strong><font color="#400040">Filename:</font></strong></font></em></font></td> <td width="219"><input type="text" name="fn" class="a" /></td> </tr> <tr> <td height="43"><em><font color="#663333"><strong><font color="#400040">File id:</font></strong></font></em></td> <td width="219"> <input type="text" class="a" name="fid" … ![]() | |
Hi, I try to make a simple page to upload an image in Database. This is a test page in my website at this moment. The name of the table to store the images is image and the columns are: id, userid, name, image My problem is when I click … | |
Is it possible to create a delimited file and structure the delimited file in some way so that opening that file in Excel creates an Excel file with multiple worksheets with data on each worksheet? | |
Hey people I'm in some dire need of assistance. I am writing this small website which uses a database to store some info. Always when I call up add.php from the html file it shows every thing I've typed in the php file. I know its something small but can't … ![]() | |
Ok, I am trying to build a jar file and I cannot seem to find my way around. I have attached an image to this thread to show my directory structure. Now, I am navigating to my MultiProjectManagement directory and creating my manifest.txt file with: echo Main-Class: multi.project.management.panels.ProjectListPanel > manifest.txt … | |
Here's a fun problem for you geniuses who know SharePoint and networking. We upload videos to our SharePoint site. Regardless of the size, when we play it here at the corporate office, it will play about 20 seconds in and then reset to zero and you would have to refresh … | |
Why is it that no matter how long I put the sleep command or loop, cat is unable to read the file, even though the file already exsists? Is there any way of reliably waiting for the whois to finish, write to file and then read that the file exsists?? … | |
Hello, I'm having a little trouble with a some code that I'm writing for homework. Basically, I'm taking two files that contain numbers and merging the contents into another file. The files do not have the same amount of numbers in them (one might contain 7 while the other contains … | |
i have three entries in phpmyadmin id name and image i want to upload image from the form into database and display that back into the form where from i am uploading it.I get this error PHP Warning: mysql_insert_id() expects parameter 1 to be resource, null given in D:\path\to\sitename\httpdocs\sql\uploadimage.php on … | |
I want to create a .csv file. I am using the following code: FileWriter fWriter = null; BufferedWriter writer = null; try { fWriter = new FileWriter("fileName.csv"); writer = new BufferedWriter(fWriter); writer.write("This,line,is,written"); writer.newLine(); writer.close(); } catch (Exception e) { } Does it create a new file if it does not … | |
Hi, I am doing a photo library which includes large size of photos. One photo size may be around 80-100mb. And also the file type may be different. Is it possible to do it using php. if yes please give me the details.Thanks | |
First of all sorry for my bad English. I had to use dictionary to write this message. I can't figure out how to write a programme for maintaince of a binary file in c++. It is supposed to contain a menu of functions - output (write down the binary file), … | |
I am trying to read a CSV file having no. of rows=row and no. of columns=col by the following method: public static String[][] FileIntoArray(int row, int col, String FileName){ int Filerow=0; int Filecol=0; String line; String[][] FileArray= new String[row][col]; File file = new File(FileName); try{ BufferedReader bf = new BufferedReader(new … | |
Having these questions and answers hard coded. I want to be able to read them from a text file and load the arrays questions with questions from questions.txt while also read answers array from answers.txt. but at the same time maintain my data structures used. How should I go about … | |
**I have a form Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSharp.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Upload Files To DataBase</title> </head> <body> <form id="form1" runat="server"> <div> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /> <br /> <asp:Label ID="lblMessage" runat="server" … | |
i am using http://bojanmauser.from.hr/bvalidator/ this script to validate my form, now i am stack with a problem, want to set max file limit for image file upload. but i am unsuccessful everytime, can anybody help me to get rid of this, advance thanx to all, who is reading this discussion … | |
I am just starting out with c++, but I have a goal in mid. I have already programmed the logical portion of what I wish to acomplish in Java, but it doesn't work, because I can't set a usb to read only for the whole system in Java (if I … | |
I paste a file on the old file. like: overwrite. It's a mistake. So now I want to recover the old file. I mean now I want the old file. How I get it? | |
I want to copy rows 3-5 to a new csv file. I can get the following code to copy the whole file to the new file but the only detail I have found about grabbing arbitrary rows consists of piecing array index numbers like in line 4 below. This may … | |
**Create a class Employee with name, Id and salary as data members. Provide appropriate constructors, set, get and display methods in the class. In the main program, use a do-while loop to enter data for employees as long as the user desires and save all data to a file. Once … | |
Hello guys, I'm using MapViewOfFile to map a file and try to edit its data and save it on the file. The problem I have extra data to the file required to expand its size. So, how to append data to the end of memory mapped file using CreateFileMapping and … | |
I have been getting used to c++ as I have been trying various scenarious on programs and exand on them with new concepts. This is my first try at exporting data from command line to a text file and the program runs fine with all the calculations. The real issue … | |
I added a DataBase.accdb file into a project (VS 2010) then created a DataSet. but now I've a small problem: I want to have the connection string in the app.config file, to allow customer to edit it. I go to the app.config file and find no connection string created inside. … | |
Where can I download the random module, because I've been looking for weeks and can't find a site where I can download it. | |
#include <iostream> #include <fstream> #include <windows.h> #include <iomanip> using namespace std; void printMainPage(); //customer need to register 1st Page void printUserPage(); //User(registered customer) page void Login(); bool openFileIn(fstream &, string ); //fstream in_file("Register and Login Details.txt"); fstream file("Register and Login Details.txt", ios::out | ios::in); int main() { printMainPage(); system("cls"); printUserPage(); … |
The End.