497 Topics

Member Avatar for
Member Avatar for Aamit

How to read clean data from .docx or .doc file? $file_url="http://www.abc.com/upload/test.docx"; $doc_data = file_get_contents($file_url); it's gives out put like  �T�a�b�l�e� �N�o�r�m�a�l����ö��4Ö� l�4Ö���aö��� ���(�k ôÿÁ�(�� ������0�N�o� �L�i�s�t���� �����PK�����!�‚Š¼ú��������[Content_Types].xml how to get clean data like text file??

Member Avatar for Muzammil_2
0
7K
Member Avatar for dhimanbiswas4u

I want to make a form application that upload torrent file in bytebx.com using my username and password Could any one help me? Torrent uploading header request like : http://bytebx.com/storage POST /storage HTTP/1.1 Host: bytebx.com User-Agent: Mozilla/5.0 (Windows NT 6.3; rv:34.0) Gecko/20100101 Firefox/34.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate …

Member Avatar for dhimanbiswas4u
0
364
Member Avatar for iwanttolearnc

is it possible for me to use user-uploaded data ,such as tab delimited data in a text file, only in memory? this is because i dont want to save the files in the server.

Member Avatar for pintukennady31
0
121
Member Avatar for garyjohnson

Okay I have a html upload form here, What is does is displays a browse button so users can upload files to my site, what I want them to be able to do is completly rename the file that they are uploading once they upload it to my site, but …

Member Avatar for Thobby
0
15K
Member Avatar for ignnniter

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 …

Member Avatar for J.C. SolvoTerra
0
488
Member Avatar for wikit

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 …

0
175
Member Avatar for hanspeare_1

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 …

Member Avatar for hanspeare_1
0
4K
Member Avatar for sarvesh_1

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 …

Member Avatar for EddyC27
0
423
Member Avatar for Indians

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 …

Member Avatar for mattster
0
3K
Member Avatar for hanspeare_1

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 …

0
155
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
463
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
167
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 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
212
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
506
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 Ghost0s
Member Avatar for thomas88
0
260
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
975
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
683
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
451
Member Avatar for rpv_sen

Hi I am trying to upload excel file data thorugh .net uploading code. But i am getting an error message. can any one please help me to resolve this. **Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_residentupload.aspx.cs" Inherits="add_residentupload" %> <table class="table-list"> <tr> <td width="30%">Upload File</td> <td><asp:FileUpload ID="fupUpload" runat="server" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" …

Member Avatar for geniusvishal
0
1K
Member Avatar for gogs85
Member Avatar for diafol
0
2K
Member Avatar for Antpit

Hi I have the following code that uploads images and other files to an SQL Server DB on GoDaddy via a FileUpload Control on an aspx page. Public Function InsertData(ByVal cmd As SqlCommand) As Boolean Dim strConnString As String = System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString Dim con As New SqlConnection(strConnString) cmd.CommandType = CommandType.Text cmd.Connection …

Member Avatar for Antpit
0
350
Member Avatar for Atkinson88

Hello, I'm building an application in MVC which allows people to upload and sell there items, (Like ebay but on a much smaller scale) I currently have a view where they choose the categorie they want to place there item in, when they click ok I pass in the selected …

Member Avatar for Atkinson88
0
121
Member Avatar for patk570

Hey Guys, I am looking for a file manager that will allow me to customize the top level folder( to the user that is logged in) as the top level. The folder structure should be something like username Folder 1 Sub folder 1.1 Sub folder 1.2 Folder 2 Sub Folder …

Member Avatar for pritaeas
0
458
Member Avatar for Cybernard

Hi there, Thank you for accepting me within your community My name is Bernard, I'm a French-speaking Belgian citizen living and working in Thailand since December 2003. I'm not an IT expert. I've been using VBA since Excel supports it (Excel 5-1995?). I work here as a school administrator and …

Member Avatar for DMR
0
254
Member Avatar for mattster

Dear All, This must be a very common problem, but yet nowhere on the internet wishes to display a working answer. I am in a sticky situation. I have the following .htaccess file on my local webserver: http://localhost/testsite/.htaccess DirectoryIndex home.php?view=home RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} …

Member Avatar for mattster
0
350
Member Avatar for malatamil

before that i upload values using implode(),after that i need display that array values. below this code showing array values as in single variable.[Click Here](http://www.namshimoga.com/searchbycat.php?catagory=Health+%26+Fitness&maincateg=Health+%26+Fitness&maincatid=151&city=$city) see that page i added 5 categories but it displayed in single variable, i want to separate it, becaz that ids are different category:Pediatrician,ayurveda,skin Care,optical,yoga, …

Member Avatar for malatamil
0
256
Member Avatar for dqtuan94

I guys I want to build a marketplace for tutors where they can upload their profile and information. Students who want to study a tutor can go there and find a suitable one. It will look very similar to this http://www.championtutor.com/view-tutor-singapore.html I do not have any background in IT or …

Member Avatar for diafol
0
391
Member Avatar for chaitu11

how to execute a php file after every half n hour without using schedular (cron jobs). i need to upload pdf files automatically from system to server after every half n hour.but without using cron jobs.Please help

Member Avatar for almostbob
0
554

The End.