6,015 Topics

Member Avatar for
Member Avatar for Mr.M

Hi Dw I'm trying to create a server that will handle simultaneous connections from clients and for simplicity I've decided to save data to the text files, it not one text file but there are many text files which will be located on the server. The clients (written in VB5.0) …

Member Avatar for JamesCherrill
0
2K
Member Avatar for berserk

I cant seem to upload a file in php to my server from just anywhere, it will only upload correctly if the file is in the same folder as my upload script which is a serious problem if i want the user to be able to upload from just anywhere. …

Member Avatar for berserk
0
173
Member Avatar for ultmt.punisher

I am trying to set restriction on uploading files to php server but thats not working except only txt file. here is code. $allowedExts = array("text", "doc","rtf"); $temp = explode(".", $_FILES["datafile"]["name"]); $extension = end($temp); if (isset($_FILES['datafile']['tmp_name'])) { if (($_FILES['datafile']['type'] == "text/plain") || ($_FILES['datafile']['type'] == "application/msword") || ($_FILES['datafile']['type'] == "application/rtf") && …

Member Avatar for ultmt.punisher
0
491
Member Avatar for kimlong008

Hello Everyone ! I have build a c file but it use GNU library, I can not build it to exe file. It error because I don't know use MinGW to build. [Download file](https://sites.google.com/site/datazus09/crunch-3.6.zip). I have install MinGW but I don't know how to run it in my visual studio …

Member Avatar for kimlong008
0
313
Member Avatar for ultmt.punisher

I have a `input type file` named `datafile` and I want to show file name into a span when file is loaded into `input:file` I have tried to echo `$_FILES['datafile']['tmp_name']` but it output this `E:\xampp\tmp\phpFE1E.tmp` not the real file name. suppose I have file `data.txt` so I want to show …

Member Avatar for cereal
0
262
Member Avatar for iConqueror

I am doing a little home project to learn more about collections and FileIO. I have made a little racing app where the user enters the racers details all of which are strings, and these details are inserted into a List<T> list and then once the user clicks the 'save' …

Member Avatar for tinstaafl
0
328
Member Avatar for A-M-G

I asked this question on StackOverflow and they just linked me to other questions that I already read and tried. I have been trying to create a zip file using zipfile in Python, but it keeps zipping all folders that are included in the absolute path. I just want to …

Member Avatar for Gribouillis
0
5K
Member Avatar for iConqueror

I have been learning about the collections namespace in C# so have been doing some little self-made projects to learn. I have made a car race app where you enter in the name, car and place of the racer this is then stored in an array list. I can extract …

Member Avatar for ddanbe
0
2K
Member Avatar for davy_yg

Hallo, I download opensource file uploader from the internet and there is one problem with it. I cannot exceed the limit of php.ini maximum file size: file-upload.php // we should not exceed php.ini max file size $ini_maxsize = ini_get('upload_max_filesize'); if (!is_numeric($ini_maxsize)) { if (strpos($ini_maxsize, 'M') !== false) $ini_maxsize = intval($ini_maxsize)*1024*1024; …

Member Avatar for cereal
0
250
Member Avatar for hriti

i have been trying to upload music file but the file will not upload but all the picture upload are successfully . i need some help . i want to upload music file to a directory in my server but i have been having problems with it. unable to upload …

Member Avatar for cereal
0
268
Member Avatar for dimitris.dimitri.73

Hello everyone,my question is the following: I have a database with two tables.What i want to ask is ow can i bind one column of the database to a txt file eg: when i press a button in my form it saves the contents of my richtextbox to a file …

Member Avatar for dimitris.dimitri.73
0
143
Member Avatar for ricciola

I have a problem. I have a function that search a string in a text file. This function return an int: 0 if the string I must be search isn't in the file, 1 otherwise. The problem is: if the searching string is "input1" and in the file there is …

Member Avatar for shentong
0
3K
Member Avatar for sonu_1

hi to all user i am new in file handling , i know file handling but not much , my instructor taught me that use binary search tree in a file to search key value ,key value(like any thing such that record can be easily make out and comparision can …

Member Avatar for Rizwanrana786
0
407
Member Avatar for DJBirdi

I just wanna get a feel for the opinions that exist out there about this subject. I've worked with everything from small to very large image storage requirements within PHP and MySQL. What are some of the issues/usage requirements that you guys look at when considering building mysql apps that …

Member Avatar for JorgeM
0
232
Member Avatar for Violet_82

hi guys, I posted something similar a long time ago, but I had the same issue againt today. I wanted to upload some files onto the forum (a small java program ) but I couldn't do it. Now, I know that .java files are not allowed to I saved them …

Member Avatar for JasonHippy
0
208
Member Avatar for nathan.pavlovsky

Hello programmers! I have been working on STL algorithms for some time now as a beginner, and I started doing an exercise, among which is the task of `use the fill algorithm to fill the entire array of strings named items with "hello"`. My code for this is below: // …

Member Avatar for nathan.pavlovsky
0
2K
Member Avatar for Saboor880

Hello to all! I have two questions 1- please give me a internet link from where i download Vb 6 enterpize edition setup 2- Please also give me a link from where i download vb 6 enterprize edition origina/reference book

Member Avatar for deceptikon
0
228
Member Avatar for daniel36

I have made a code to upload video with the help of w3schools.but It is not working great to upload mp4 video upto 300MB.Can any one provide me solution? or any opensource script to upload file.

Member Avatar for Vignesh_2
0
174
Member Avatar for analys

Hi, I want to develop Python script for server automation (server backup) that able to copy the files with user access permission as well. I want to do it with Python but I'm not sure how to start on the active directory scripting with Python. Can somebody help me?

0
204
Member Avatar for gagun

I am trying to write a output for my log in file on the desktop but for somereason, it is not doing that.It says the file cant be instantiated. I have the code and console output below. Any help would be much appreciated. thanks in advance. ### direct log messages …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for lewashby

I'm trying to copy a file to my new iBasso DX50 music player but I can't create or removes files from the device, it worked fine the first day I got it. Any, this is what I'm getting if I try to move a file to the device. Error opening …

Member Avatar for rubberman
0
170
Member Avatar for bella.twins.94

Assuming that a text file named FIRST.TXT contains some text written into it, write a function named vowelwords(), that reads the file FIRST.TXT and creates a new file named SECOND.TXT, to contain only those words from the file FIRST.TXT which start with a lowercase vowel (i.e., with 'a', 'e', 'i', …

Member Avatar for Lucaci Andrew
0
3K
Member Avatar for lml108

Hi, I downloaded the file package (version 5.18) from ftp://ftp.astron.com/pub/file/ For some reasons, I needed to build this 'file' package from sources. So on an x86 Linux machine, I built it from sources. (Linux 2.6.18-238.5.1.el5 #1 SMP Mon Feb 21 05:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux) I built the …

Member Avatar for Bogdan V.
0
1K
Member Avatar for wilhemina

I'm trying to search a text file for a string indicating the path of a folder which I will then use as a path to write a text file into. My code above successfully returns the location of the path /home/caars/speech_reg/commands/ to the pointer to find. Now I am trying …

Member Avatar for yunda
0
551
Member Avatar for sandhya1202

[QUOTE]I would like to search for more than one word in a text file and if the word found i would like to save it to a group in which i have files belonging to English,Entertainment etc.The thing is Im unable to search for more than one string in a …

Member Avatar for Vikram Kolla
0
343
Member Avatar for yeeaki

I want to import/upload excel files to sql server via cake php, it will occur Undefined variable: ext and Undefined index: the code are shown as below. Is there any mistake in my code? Thanks in advance! <?php App::import('Vendor', 'php-excel-reader/excel_reader2'); class UploadsController extends RealTimeAnalysisAppController { public function upload() { $destination …

Member Avatar for andrevanzuydam
0
1K
Member Avatar for mohamedrani

hello, i'm joining a network which provieds me with internet connection through Lan Cable , the thing is i've to enter user name and password he gave me for only on computer online at a time, can't log in with more devices cuz he only gives me one IP i've …

Member Avatar for JorgeM
0
273
Member Avatar for iamthwee

Hey guys, At the moment more for convenience I'm giving my codeigniter files recursive 777 permissions which is bad. I'm still in the development stage so it is not an issue. But upon release for a production environment what is the best practice for the permission of the files. Specifically …

Member Avatar for iamthwee
0
334
Member Avatar for davy_yg

What is this warning means? Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\free-prowebsite\site_pro\administrator\adminnav.php:160) in C:\xampp\htdocs\free-prowebsite\site_pro\administrator\admin\file-upload.php on line 224 line 224: header('Location: ' . SUCCESS_URL);

Member Avatar for diafol
-1
214
Member Avatar for abaddon2031

So i have a python code that searches for a folder in a directory and gets the size of the folder. I am wanting to search inside the folder and get the file size of what is in the folder. The items in the folder will have different extentions so …

Member Avatar for ~s.o.s~
0
407
Member Avatar for gu mi nam

using namespace std; struct karmand{ char nam[10]; char shomare[10]; char sx[10]; char mm[10]; char rgh[10]; }list[s]; void search(); void prin(int i); void input_file(); void enter(); int a; void menu_select(){ char p[10]; int c; system("cls"); printf("1)enter a record:\n"); printf("2)sort the file:\n"); printf("3)search the file:\n"); printf("4)quit:\n"); do{ printf("please enter your choice:"); gets(p); …

Member Avatar for David W
0
297
Member Avatar for yeeaki

i'm not sure what is the syntax error. I try in this source code in dreamweaver, it shows line 8 is a syntax error. $destination = realpath(‘../../app/webroot/uploads/excel/’); App::import(‘Vendor’, ‘php-excel-reader/excel_reader2’); //import statement class UploadsController extends RealTimeAnalysisAppController public function upload() { $destination = realpath(‘../../app/webroot/uploads/excel/’); //Set your upload path here if(isset($_FILES['Upload']['XLS_File'])); $ext = …

Member Avatar for yeeaki
0
512
Member Avatar for castajiz_2

Hy guys, haven't been here for a while, and I m having a problem that I didn't use to have before. When I was uploading via filezilla ftp client program a month ago a asp.net built website I didn't have any problems whatsoever. Now I'm facing problems and always getting …

Member Avatar for JorgeM
0
2K
Member Avatar for avijit_mitra

Imports System Imports System.IO Imports System.Text Imports System.Collections.Generic Class Program Public Shared Sub Main(ByVal args As String()) ' Set a variable to the My Documents path. Dim mydocpath As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) Dim sb As New StringBuilder() ' Enumerate the files in teh My Documents path, filtering for text files …

Member Avatar for Asskilled21
0
239
Member Avatar for Ghost0s
Member Avatar for thomas88
0
262
Member Avatar for fatalaccidents

Hello all, First of all I wasn't really sure where to post this so please let me know if I'm in the wrong forum for such a question. I understand the basics of git, but I'm still very new. I have used git locally and on github. I was wondering …

Member Avatar for Hiroshe
0
286
Member Avatar for anitg

I have a page where it allows my users to upload their videos through an html5 file upload form and a PHP script that saves file in a folder on server. All works fine. But when it is displayed using video tag, it simply does not play ! I do …

Member Avatar for veedeoo
0
986
Member Avatar for RainaAnja

Hello,can anyone give a link on where can i download aqua mark or another similar program.Thank you

Member Avatar for Reverend Jim
-2
185
Member Avatar for Nitin_Daniweb

I Have Local Hosted My ASP.Net Website By Following Steps 1. Open Visual Studion and Open Website 2. Go to Build Menu and Publish Website 3. I have Published it To C:\Inetpub\wwwroot 4.I have Created Virtual Directory Targetting Published Folder 5.When I am Trying to Run On Web Browser The …

0
101
Member Avatar for abaddon2031

I have a small program that searches through two folders and gets the size of the files in them. As of right now for every file that is over the specified size limit sends a email. What i am wanting to do it have it compile a lsit of the …

Member Avatar for TrustyTony
0
281
Member Avatar for Learner010

# Tutorial On Operators# *Operators are the signs to the tell the compiler to perform specific task*. The Operators fall into following categories :- Arithmatic Operator Relational Operator Logical Operator Bitwise Operator Miscellaneous Operator(i added Assignment Operators in this categeory) **Arithmatic operators:-** There are following arithmetic operators:- + Add [6+2=8] …

Member Avatar for Learner010
5
700
Member Avatar for rahul10721

I need a working code for deleting an uploded file on the ftp server.I do have a script but it dosn't work.. [CODE]<?php // set up the settings $file = 'old.txt'; $ftp_server = someone.net'; $ftpuser = 'user'; $ftppass = 'passwd'; // set up basic connection $conn_id = ftp_connect($ftp_server); // login …

Member Avatar for veedeoo
0
1K
Member Avatar for davy_yg

Hello, I am looking for a free script to upload image / moving image files to a certain folder and basically a database for cms image gallery. Any free script like that ?

Member Avatar for veedeoo
0
484
Member Avatar for iamthwee

Morning guys, I would like someone to clarify my doubts with Codeigniter's file structure. The CI default structure is -application -system but I have a lot of other files in the same directory like, phppdf, images, etc is it better to further separate them into another subdirectory for clarity such …

Member Avatar for Tpojka
0
224
Member Avatar for berserk

I am unable to get my text file data.txt to read correctly into my database. This is what my text file looks like 9889483782,6068378394,6069437364... and so on for like 50 numbers I have to get each of the comma seperated values to show up in the database, id like them …

Member Avatar for redalert19
0
521
Member Avatar for yaldoo

Hey people! Can you please help me with this problem? I am so stuck on it and my instructor gave me hints on what I should do. No arrays or anything crazy yet, I'm still a beginer. 1.) Write a program that will compute average word length (average number of …

Member Avatar for yaldoo
0
4K
Member Avatar for Diamonddrake

![63e834471f9c1463ee1caed517a7fbf1](/attachments/small/1/63e834471f9c1463ee1caed517a7fbf1.jpg "align-right") I'm working on an a windows phone project where I need to support fully transparent backgrounds in my controls to overlay ontop of dynamic image. I want to use this "new item" path I created to show how many updates an item has. I attached an image showing …

Member Avatar for Rajeev Kumar_1
0
265
Member Avatar for isamalhassan

hi every one, im using ubuntu 12.04, and i have installed windows 7 and ubuntu12.04 on my laptob, and because im news i could not give the good size for my ubuntu home and boot directory, as from Gpartioned application apears ext4 /home and ext4 /boot are 3.72 GB each, …

Member Avatar for Xlphos
0
199
Member Avatar for mavtcr

Friends, I met with a small problem please help me I developed a small programme. When I exit from it I want to make a backup in another drive I coded like this FileCopy "I:\My Documents\New Folder\Pebble.mdb", "D:\Pebble\Pebble.mdb" Here the "Pebble.mdb" is my database in Drive "I". I want to …

Member Avatar for mavtcr
0
243
Member Avatar for shah112

hi , i am unable to solve this error , am running chukwa on single node so please guide me . The error am getting is shown below, hduser@bizruntime:/usr/share/chukwa/chukwa-0.4.0/bin$ ./start-all.sh cat: /usr/share/chukwa/chukwa-0.4.0/bin/../conf/collectors: No such file or directory cat: /usr/share/chukwa/chukwa-0.4.0/bin/../conf/agents: No such file or directory starting archive, logging to /usr/share/chukwa/chukwa-0.4.0/bin/../logs/chukwa-chukwa-archive-bizruntime.out starting …

0
167

The End.