1,136 Topics
| |
Hi, So for an assignment i had to read input from a file and then output it. The information in the file was in the following format: 1 line with a stock symbol and the next line with the quantiti bought. eg of a file that we'd use .ab 15 … | |
| Hi All, Been a bit bored, so went at it to create a class from some long procedural stuff I found littered in various guises all over the web. The code I used as a base for the class came from [here](http://www.codediesel.com/php/downloading-gmail-attachments-using-php/). As this uses IMAP functions and many of … |
Are you think Directory submission is help in SEO ..and through i get PR.how many links we submitt in one directory .i know from you guys Role of directory submission in SEO.? | |
i want to create a directory file in vb6 . please help !!!! | |
hello to all I want convert this code to assembly for mac osx intel 64 : #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> //#define RCVBUFSIZE 4096 int main( int argc, char *argv[] ) { int sock, length; struct sockaddr_in server; char *command; // … | |
Progressbar not updating :'( please help. Private Sub ftpupload() Dim ext As String = Path.GetExtension(NsTextBox1.Text) Dim fname As String = Path.GetFileNameWithoutExtension(NsTextBox1.Text) Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://xxx@xxx.org/" & fname & ext), System.Net.FtpWebRequest) request.Credentials = New System.Net.NetworkCredential("xxx@xxx.org", "xxxxxxx") request.Method = System.Net.WebRequestMethods.Ftp.UploadFile Dim file() As Byte = System.IO.File.ReadAllBytes(NsTextBox1.Text) Dim strr As System.IO.Stream … | |
Hello Daniweb, So, I am currently working on a simple download time estimator program using JOptionPane and some loops. I have some beginning code and wanted to check how it is working, only it seems I messed up something and am stuck in my loop when I run it. I … | |
Hi guys, thanks in advance for any help. I'm using this tutorial [Click Here](https://www.youtube.com/playlist?list=PL7C25B2F18F68F3EF) To make a multi-file upload. the actual upload works just fine, however the % progress and final file list of uploaded files that is supposed to show at the end is not working. Here is the … | |
I am new to svg , I need to draw a inner or outer path for the svg editor generated svg path , i am unable to draw . I tried a lot but i cant . help me. | |
Hello Daniweb,, I have uploaded an image using the student_id as its filename. The student id is auto-incremented and unique per student_id. Now i am confused why it gives me problem to display it. I have tried. <?php print '<img src="uploads/'.$session_id.'" />' ?> <?php print '<img src="uploads/'.$session_id.".".$ext'" />' ?> <?php … | |
Hello I am currently working on a "local" dev wordpress site, where I have a JS file stored with the path as e.g, http://www.devsite.com/websites/wordpress/mysite/wp-content/themes/mtheme/validations.js Currently, am using the relative path e.g. src = "././wp-content/themes/mtheme/validations.js" to load it. However, on the live server, which is maintained by someone else and I … | |
Hi all, I need to change label text dynamically for two operations on webpage in asp.net. First,when file uploading is completed label should show 'upload completed'. After that it will perform validation process and later will show the message 'validation complete'. I have two methods that will be called one … | |
i want to upload the employee profile picture into mysql database using php. i tried this coding. image uploaded successful but when i fetch that image on browser it shows me text character like this (ÿØÿàJFIFHHÿáLExifMM*bj(1r). one more problem is below 20kb size images only uploaded into mysql. how to … | |
Good Day, There's a sticky that TUT about uploading image but i want the restrictions to be in this manner. But my problem here is no notice, no errors but the image file won't upload eventhough the other data has been updated, Here, check my codes. this quite long to … | |
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") && … | |
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 | |
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. | |
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? | |
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 … | |
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 … | |
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 … | |
| 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 … |
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); | |
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 … | |
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 = … | |
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 … | |
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 … | |
**what if a server upload data to me in a speed less than my download speed ??** | |
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 … | |
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 … |
The End.