497 Topics

Member Avatar for
Member Avatar for ptara1

I'm using an html form to submit data directly into a mysql database using a php script. For some reason the pictures will not be uploaded fully into the database. This is when I don't use a multipart/form-data tag. When that occurs the pictures partially upload but when I put …

Member Avatar for TechySafi
0
264
Member Avatar for vijiglad

hi, please help.. I need php code to upload file from one FTP to another FTP.. thanks/regards vijay

Member Avatar for petr.pavel
0
79
Member Avatar for kirtan_thakkar

I want to limit uploading size of the user image. How can i do this? User should upload only jpg file and it would be less than 100kb. and is there any way i can convert that image into specific resolution? Thanks....

Member Avatar for Gewalop
0
149
Member Avatar for liran

Hello I want to put an advanced file uploader, for uploading a few files at once, and also for big files. The support for big files is critical, so if a user wants to upload 2GB file, and it get stuck in the middle, it can continue from the same …

0
98
Member Avatar for masterjiraya

this is the whole code where in I got a problem [CODE=php] <?php //get the value of the selected radio value from webpage1.html $n=$_POST['company']; $dbhost="localhost"; $dbuser="root"; $dbpass=""; $dbname; ?> <html><head><title>web page1</title></head><body> <?php // logical selection for $n if($n==1){ echo"You selected Company <font color=red>bhagis portal</font> <br>"; $dbname="bhagis_portal"; } elseif($n==2){ echo"You selected …

Member Avatar for urtrivedi
0
61
Member Avatar for vijiglad

[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Validate Image</TITLE> <META NAME="Author" CONTENT="Bit Repository"> <META NAME="Keywords" CONTENT="validate, extensions, file, javascript"> <META NAME="Description" CONTENT="A JavaScript Extension Validator for Images"> <SCRIPT LANGUAGE="JavaScript"> <!-- function validate() { var extensions = new Array("jpg","jpeg","gif","png","bmp"); var image_file = document.form.image_file.value; var image_length = document.form.image_file.value.length; var pos …

Member Avatar for vijiglad
-1
2K
Member Avatar for asdttk

Hello,everyone!I am very new to posting so please bear with me. I had a notebook pc with all of our itunes music downloaded to it. No I did not back it up. My hard drive fried yesterday. How can I upload the music from my son's ipod and my ipad …

Member Avatar for stechmagnet
0
282
Member Avatar for rizla777

Hi I have a problem that I'm not sure how to resolve. My issue is that I have to setup a page that allows coworkers at my office to be able to upload meeting documents and such. They should be able to upload them themselves and the user viewing the …

Member Avatar for 84hd0ns
0
172
Member Avatar for slrobinson1983

hello all. i've bee learning php for the last couple of weeks while designing a site but i am now frequently running into situations where i need to use javascript. i have a page where i want a user to browse for a pic with a file field and i …

Member Avatar for slrobinson1983
0
289
Member Avatar for Walahh

Hello everyone, I would really appreciate if anyone could please help me out here. I am trying to read the user's input in one page and then trying to display it in another page (want to let my users upload a file from their machine and save them in my …

Member Avatar for Javvy
0
148
Member Avatar for AntiNL

Hi, I've been busy writing a script to upload photo's to my webserver, and after a lot of searching I finally managed to get the permissions correct, but now I'm having another problem. There are quite a lot of posts about it, but they all come down to having the …

Member Avatar for smantscheff
0
254
Member Avatar for mrexp21

Hello , I would like to modify this script a bit . It is a video upload script for my site . The php content contains all the neccessary fields and upload via browse files only . I would like to make it another optional such as remote/url upload . …

Member Avatar for diafol
0
255
Member Avatar for Jonellys

Hello! I'm new here... and I'm having trouble trying to download and upload files from an ftp server.... Btw this is not for homework! I'm trying to help a professor with this but I'm stuck!... Help?? :/

Member Avatar for Moschops
0
171
Member Avatar for lexflash

I m planning to create a web based system in which I need to allow users to upload videos and photos into my database and to display that video or photo which they request. I m more comfortable working in java, so i have placed my query here. I would …

Member Avatar for lexflash
0
136
Member Avatar for tcollins412

How would i upload image files to a database and then display them using [CODE] <?php $query = "SELECT * FROM members WHERE email='$username' AND id='$id'"; $result = mysql_query($query); $row = mysql_fetch_array($result); ?> <img src='<?php echo $row['pic']; ?>'> [/CODE] and also, what kind of field should i use in the …

Member Avatar for Shanti C
0
94
Member Avatar for tape enterprise

hello, I am currently working on CMS and I want a way for the user to upload images to go along with their post how would I upload the image with php and then add it into the database for later retrieval when people look at the posts?

Member Avatar for tape enterprise
0
153
Member Avatar for AdriftUniform

Hi, I am having an issue saving images to a MYSQL database as a BLOB, I have been for a few days now, I have used several different tutorials and even though the code works with no errors returned, nothing actually get put in my database. Here is my form …

Member Avatar for AdriftUniform
0
198
Member Avatar for queen11

can someone help me or give me codes on how to save images into database i'm a new user of java.

0
68
Member Avatar for petercpwong

I was just wondering if it was possible to upload an image using XHR rather than a hidden iframe? If so, do all modern browsers support it?

Member Avatar for mehdi991
0
304
Member Avatar for pjh1985

Hi, i found this image uploader in another post but i'm having a few problems with errors or upload confirmation not displaying at all and was wondering if someone could take a look. [URL="http://www.daniweb.com/forums/thread144647.html"]original thread,[/URL]the file is a zip near the bottom of the page It seems the database code …

Member Avatar for cossay
0
70
Member Avatar for dlannetts

hi, i have to pieces of php code that i need to place into one but am unsure how to do it, firstly i have my peice of php to upload a few statistics: [CODE]<?php include 'mysqlconnect.php'; $db = mysql_select_db("upload_frenzy", $con); if (!$db) { die('Can not Connect to Database: ' …

Member Avatar for Dragonbaki
0
164
Member Avatar for bwallace

Our image upload form always returns the error message, "Invalid file. Please click the 'Back' button on your browser and try again." Here are the basics. ==HTML FORM== [CODE=HTML] <form enctype=="multipart/form-data" action="phpscript.php" method="post"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="submit" value="Submit" /> </form> [/CODE] ==PHP SCRIPT== …

Member Avatar for somedude3488
0
156
Member Avatar for ryoonnet

Hi, I am trying to achieve multiple file upload using Ajax, or at least it should look like ajax (without page reload). Below is my code... [CODE]<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Uploader</title> <link rel="stylesheet" type="text/css" href="/django_forms_media/css/igp_edp-main.css" /> <script type="text/javascript" src="/django_forms_media/js/jquery-1.3.2.min.js"> </script> <script type="text/javascript"> var file_array = …

0
84
Member Avatar for saadi06

//this code is for upload,i have successfully uploaded my file in to uploads folder please can anyone tell me how can i get the image from my folder if(isset($_REQUEST["upload"])) { $name=$_FILES['uploadedfile']['name']; $type=$_FILES['uploadedfile']['type']; $size=$_FILES['uploadedfile']['size']; $check=$_FILES['uploadedfile']['name']; $uname=str_replace(" ","_",$name); $tmp_name=$_FILES['uploadedfile']['tmp_name']; $target_path = "uploads/"; $target_path = $target_path . basename( $uname); if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { echo …

Member Avatar for naveedkhalid
0
146
Member Avatar for Jeyush

Hi buddy, I have small script which upload the images. This script is working perfectly fine in localhost but when I upload that script to my website then it is not uploading the pictures. I have subdomain in my website names as [url]http://projects.abc.com[/url], In projects folder I have my photo …

Member Avatar for jamal_jarrar
0
164
Member Avatar for ryoonnet

Hi, I am trying to upload multiple files using file input. And I am able to do that using "multiple" attribute of input type file. I can not use file API as I am using python on server side. So after user has selected the files, I want to access …

Member Avatar for Airshow
0
269
Member Avatar for dschuett

Hi everyone, I have been working on an image gallery to allow people to view/upload their photos. I have everything working pretty well except that I want to modify my upload script so that a thumbnail is generated of each picture that is uploaded and stored in a separate directory …

Member Avatar for dschuett
0
180
Member Avatar for dschuett

The following script works GREAT. It uploads an image as well as adds info to mysql about the picture and its location. The problem is that the function "CreateThumbs" actually loops through the entire uploads directory and generates a thumbnail EVERY TIME you upload a picture. I am VERY new …

Member Avatar for dschuett
0
155
Member Avatar for Sorcher

Hello. I am making a register/login function, and i want the user to be able to upload files to his account, and can later view these files. I wonder how i can make the upload script insert data in a mysql table only for the current user uploading, i dont …

Member Avatar for ryan311
0
1K
Member Avatar for frazehmad

Hi, I'm writing a script where user upload any video file and my script converts the video in flv format. Since video files are very heavy in size (I want to give upload limit of 10MB), it takes much time to upload. I observed, when we upload any file to …

Member Avatar for frazehmad
0
3K

The End.