497 Topics

Member Avatar for
Member Avatar for Tinnin

Hi everyone, I'm trying to upload an mp4 file on my localhost. The page continuously loads until giving me a Request Timeout. The file is 17Mb. I've tested an image file which is 95Kb and that uploads fine. I've changed various settings in my php.ini which I can see have …

Member Avatar for cereal
0
312
Member Avatar for androidexampl

In this example opening url in webview and showing progress Dialog for page. Show file chooser option on clicking file option for web form . Open new link from webview to external ............................ Read More

Member Avatar for happygeek
-2
178
Member Avatar for Khalida_1

Following is my code effort.... I want to read first line of file(comma separated) & then create table in JavaDB but stuck here... Please someone help me how to do next???? public class DatabaseDAO { public void FileRead(String st) throws ClassNotFoundException, SQLException, IOException{ String []tokens=null; try{ try (FileReader fr = …

0
103
Member Avatar for Liang_1

Dear All, I am facing a weird problem, similar codings give different result. Why is this happening? I am saving both files as .php file. Please guide me. I really having headache with this form. Code 1: Working Fine (Non-bootstrap) <html> <head> TestPage <link rel="stylesheet" href="http://gsmtecharena.com/Testing/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://http://gsmtecharena.com/Testing/bootstrap/3.3.5/js/bootstrap.min.js"></script> …

Member Avatar for Satish_7
0
815
Member Avatar for kgizo

Good day everyone I just want to know whether its possible to upload a file using joomla that wouldnt be downloable at all, I tried saving the file as a read only pdf file but that still made the file downloable on the web. Taking into consideration that the internet …

Member Avatar for Taywin
0
226
Member Avatar for Violet_82

Hi guys, are we allowed to upload .java files to posts on the forum? the file uploader says not allowed, but I couldn't find the allowed/not allowed list of files anywhere/ thanks

Member Avatar for Violet_82
0
665
Member Avatar for OMER AHMED

Hi i am making an application in vb.net and i need help. The user will send me his issues or information through attachment. but i want a restriction on filesize that he can not attach file more then 20MB i did some coding but its not working. it will show …

Member Avatar for Minimalist
0
388
Member Avatar for iamthwee

Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta.

Member Avatar for Freddy_2
0
4K
Member Avatar for Liang_1

Dear all, I have created a website where I would like my users to register and upload profile images to my server and then store it under folder in my server known as "images" and then save the dataurl of the images into MySQL database. Then, I would display their …

Member Avatar for almostbob
0
377
Member Avatar for anmol.raghuvanshi1

This is opinion based question. I am working in Codeigniter framework I have multi-step user registration form What i am doing is collecting all data in session array validating it and inserting in database.Till now all things are working fine but now i have added image upload form along with …

Member Avatar for diafol
0
4K
Member Avatar for daisyy

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter pw = response.getWriter(); InputStream inputStream = null; // input stream of the upload file // obtains the upload file part in this multipart request Part filePart = request.getPart("audio"); if (filePart != null) { // prints out some information …

Member Avatar for jwenting
0
2K
Member Avatar for d1stbee

hello, I am trying to make moodle communicate with an external system, I am running moodle 2.9, I know there are enrolment and authentication plugins from external database, but I would like to use the flat file upload for users Maybe the external connection/bridge failed for some reason), what I …

Member Avatar for diafol
0
444
Member Avatar for javed_4

I am trying to add a functionality of uploading image while adding new data but I am not able to achieve it. I will provide my code to you. Could you please help me to achieve it? Following is my code, I have three files namely index.php, script.js, func_events.php index.php …

0
191
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Member Avatar for gabrielcastillo
0
541
Member Avatar for babir

my code cannot send all image data. it sends odd or even no of data.please help <?php session_start(); include("dbcon.php"); if (isset($_POST['submit'])) { $j = 0; //Variable for indexing uploaded image $a=0; $target_path = "uploads/"; //Declaring Path for uploaded images if (count($_FILES['file']['name'])<6) { $k=count($_FILES['file']['name']); } else { $k=6; } for ($i …

Member Avatar for Dilovan
0
174
Member Avatar for gahhon

String contentType = request.getContentType(); if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) { DataInputStream in = new DataInputStream(request.getInputStream()); int formDataLength = request.getContentLength(); byte dataBytes[] = new byte[formDataLength]; int byteRead = 0; int totalBytesRead = 0; while (totalBytesRead < formDataLength) { byteRead = in.read(dataBytes, totalBytesRead, formDataLength); totalBytesRead += byteRead; } String …

Member Avatar for gahhon
0
500
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Member Avatar for Reverend Jim
0
199
Member Avatar for babir
Member Avatar for Taywin
0
233
Member Avatar for aditd

I'm looking for a wordpress plugin that once set up can upload videos ( from a certain place ) to my youtube account using the api. Do you have any ideas of something like this ... or something next to it? Also if you can program something like this ... …

Member Avatar for aditd
0
202
Member Avatar for UK-1991

Hello, I am loking for a concept to geting started is there a way of creating a notification like on user end any one updates his post update or upload an image then on admin panel it notifies the admin like on menu bar it shows 1 and when the …

Member Avatar for jkon
0
142
Member Avatar for fobos

Hello all, i am stuck on this.. i want to be able to play a video from a mysql database. Currently i can upload the video to mysql (name, type, size, content) and download the file. i have a media player that shows a video, but i have to use …

Member Avatar for diafol
0
2K
Member Avatar for Stefce

Hello i want to make upload button so users can upload images/gifs/videos/music but i cannot understand how i can do that i fuond a code on w3schools but it just uploads the image to folder in my computer called `/uploads` i want to store the images into database which they …

Member Avatar for jkon
0
600
Member Avatar for UK-1991

Hello, I tried to create a gallery using php admins can upload multiple images all the images are uploading correctly like the image is saving in the database as much as I can but the problem is that the image is saving once in the folder Like loop runs images …

Member Avatar for lps
0
228
Member Avatar for jchimz

This is my code to upload files with a progress bar. Problem is all three progress bars are listening for one file and not three different files. Please help me. $('.btnUpload').click(function(){ //submit all form $('form').submit(); }); $(document).on('submit','form',function(e){ e.preventDefault(); $form = $(this); uploadImage($form); }); function uploadImage($form) { alert("in"); $('.progress-bar') var formdata …

Member Avatar for diafol
0
187
Member Avatar for jchimz

I'm trying to change the code below to upload multiple files. Each with a seperate progress bar as shown below. Please help. ![snip.JPG](/attachments/large/4/e311263a0071b800273939069664b69b.JPG "align-center") <!DOCTYPE html> <html> <head> <script> function _(el){ return document.getElementById(el); } function uploadFile(){ var file = _("file1").files[0]; // alert(file.name+" | "+file.size+" | "+file.type); var formdata = new …

0
198
Member Avatar for Nguyá»…n_6

I am writing code to upload photos to Picasa, before the code runs well, now new picasa google upgrade. help yourself way up photos on picasa Code old $albumUrl = "https://picasaweb.google.com/data/feed/api/user/$user/albumid/$/albumid"; // XML Upload được cung cấp bởi google $rawImgXml = '<entry xmlns="http://www.w3.org/2005/Atom"> <title>' . $path . '</title> <summary>' . …

0
115
Member Avatar for vijiglad

[CODE]<?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0) { $fileName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $fileSize = $_FILES['userfile']['size']; $fileType = $_FILES['userfile']['type']; $fp = fopen($tmpName, 'r'); $content = fread($fp, filesize($tmpName)); $content = addslashes($content); fclose($fp); if(!get_magic_quotes_gpc()) { $fileName = addslashes($fileName); } include 'config.php'; include 'opendb.php'; $query = "INSERT INTO upload (name, size, type, content …

Member Avatar for diafol
0
705
Member Avatar for clife

Hi , I would like to monitor upload and download datas of devices connected to the router. I am using the following iptables rules: sudo iptables -N DMon sudo iptables -A FORWARD sudo iptables -A FORWARD -d 70.70.70.1/26 -j DMon sudo iptables -A DMon -d 70.70.70.50 sudo iptables -A FORWARD …

Member Avatar for clife
0
330
Member Avatar for UK-1991

Hello, I have no such information or you can say less information about the ajax can anyone help me out the thing is that i want to pass dir id in the get url but that get id will be selected by the user though from a drop down i …

Member Avatar for UK-1991
0
168
Member Avatar for isaac.iji.5

hi i used multer to create an upload script now i would like to display the photos uploaded by eacch user on diff pages with diff adrees i.e exprome.come/photos/234 and also every photo would have its comment. any ideas? i think every comment should be saved with the photo id …

Member Avatar for isaac.iji.5
0
206

The End.