497 Topics
|
|
I have a script that uploads documents, it uploads them in the destination folder, but not the info about the document. Pleasa help i need this as soon as possible. No errors show. <?php $UploadDirectory = 'C:/wamp/www/agenda1/uploaddok/uploads/'; //Upload Directory, ends with slash & make sure folder exist $SuccessRedirect = 'http://localhost:8080/agenda1/index2.php'; … |
|
I have this code it uploads photos and deletes photos, but how can i make it to upload photos in a folder i want not in the same folder where the script is, i just can't see where can i implement the path. Here's the whole code: <?php /** * … |
|
here is code that I am working on. What it is supposed to do is upload a media file (image, audio, video) and then tell me what type of media it is. $media_type='image'; $filename=$_FILES["file"]["name"]; $extension = explode(".", $filename); $extension = end($extension); //echo $extension; if (($_FILES["file"]["size"] < 50000) && (!$_FILES["file"]["error"] > … |
|
can anyone show me how to upload a binary file using Ajax (and php of course) I mean the html and js ? |
|
Hi all , I have googled for an answer for this question but most of them are so complicated. Can anyone suggest a simple article on this topic or show me step by step how to solve this. I want to upload an image to a folder and show this … |
|
Hi everyone, I’m getting the following error uploading a file with asp. I’m using the code I downloaded from uploadasp.zip. I don’t know who wrote it so I can’t give credit. I've checked my local dev box here and I do infact have the correct directory permissions as far as … |
|
Hello Community, I was wondering if i can get some help with the 4shared php api. [Here](http://www.4shared.com/developer/docs/samples/#PHP) is a sample on how to upload a file. But now i need to know how to delete a file, by the way i have never used an api. Please Help... |
|
Hi I have modified the dropbox script with the following <script type="text/javascript"> $(function(){ var dropbox = $('#dropbox'), message = $('.message', dropbox); dropbox.filedrop({ // The name of the $_FILES entry: paramname:'userfile', maxfiles: 10, maxfilesize: 50, url: '<?php echo base_url();?>ajax/post_file.php', uploadFinished:function(i,file,response){ $.data(file).addClass('done'); // response is the JSON object that post_file.php returns }, … |
|
Hello there, I've created an upload system with PHP and its working fine but I need to improve it by using jquery, I need only a progress bar for uploading operation I don't have **apc** installed on server and can't tell the server owner to install it for me is … |
|
Hello guys , i am new around here.Need help with one script its for movie's web site, i need to add more than one picture in database. The code is: <?php @mysql_connect($host,$user,$password); @mysql_select_db($db); @mysql_query("SET CHARACTER SET cp1251") or die( "Не мога да избера БД"); if(isset($_POST['submit'])){ $kategoriq = htmlspecialchars($_POST['kategoriq']); $seriq = … |
|
Okay so I have created a function which brings up a column of information into a html drop down menu from a certain table. Now I want the data selected to be put into a value so it can be used in an upload form. This is the function. Thanks … |
|
This is my upload form for html to upload only one pic, <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file"><br> <input type="submit" name="submit" value="Submit"> </form> </body> </html> I want to be able to upload multiple pictures at once. This is my php code for uploading. <?php … |
|
how to fix problem of wordpress if images cant be uploaded to the stated post using wordpress, i tried playing around with plugins but still stuck. im a beginner please help |
|
This code reads a.txt file <?php $file_path = 'a.txt'; $file_handle = fopen($file_path, 'r'); $text_data = fread($file_handle, filesize($file_path)); print $text_data; fclose($file_handle); ?> I want to upload this text file using the code given below and want to read the uploaded file when I hit submit button. I know there is a … |
|
Ok, I am not a professional in PHP as I am more on front-end than back-end. I want to know some information of file upload in PHP. I did create a website as a project where users can upload images, with its security and validation. The images stored in a … |
|
I need to create a video gallery for a website, and would like to create it using the html5 video tag backed up by videojs. As I havent worked with video uploads before I have some doubts on how to approach it: What file size would you recommend as a … |
|
Hi I am developing my own image hosting script and i want to add api image upload.However i have no idea of how to create API support at this moment.I particularly like the tinyurl api . How can i create a similar api so that users can upload images to … |
|
please help me on my project on how do i make this upload music files also help me on making the upload path i don't know how to start. i really do need your help guys :( this the controller <?php if(!defined('BASEPATH')) exit('no direct script access allowed'); session_start(); //we need … |
|
hi i want to upload and post my pdf material in my site and its my personal institute material so i dnt want to give the download option for that file so how it is can anybody help me ??? |
|
Hi guys, Im just confuse...heres the situation Im having photo uploads in php.., before uploading temporary file will be created my question is where can you find the temporary file, @the web server(where your php app is runnin) or @the client PC(where the uploading session is done) thanks in advance..... |
|
hi fellas, Im using javascript framework in uploading image via ajax but the problem is $_FILE is empty here s my code: <form action="upload.php" method="post" enctype="multipart/form-data" id="upload" name="upload"> <input type="file" name="file" id="file" style="border:none"/></center> </form> js var url = 'upload.php'; new Ajax.Request(url, { method: 'post', contentType: 'multipart/form-data', encoding: 'UTF-8', parameters: $('upload').serialize(true), … |
|
Hello, I'm designing my own website, I want to create online assignment submission system which allows to students to upload their assignment through this webpage,and receive feedback immediately via the browser.The teacher can recieve student documents and grade the student for his assignment. Since Im working on my localhost(XAMMP), let … |
|
Hello guys I want to make my file upload form appear similar on all browser.I current use the code below.This will show differently depending on browser <form action="upload.php" method="POST" enctype="multipart/form-data" > <input type="file" name="image"/> <p><button name="submit" type="submit"></button></p> This is not a secret to anyone:D How can i make the following … |
|
I want to select multiple files at a time and upload them by single click. Thanks & Regards, Sunil |
|
I have created a php file upload so users at my site can upload files and i have also creaated a php script so users can log in and make accounts, I want my users to be able to log in and be able to see the previous videos they … |
|
I want to know if it possible for a code to automatically format a video once uploaded by a user to my website. |
|
I have found the program ffmpeg and have been looking into it, and I can see that you can use php to convert the videos that are being uploaded but I want to know where I need to start with this program to get it working. |
|
Hello I have made a php file upload for the visitors of my site to upload small videos too, now I want the users that are logged into their account to have the videos they upload be linked to their user id, so anyone vewing the small video can know … |
|
Hi everyone. I have not done any type of coding in some years and can use some help with a simple yet frustrating task. I am trying to allow registered users to upload a "profile" photo to the server and insert the path into the database. I would like to … |
|
I have a hosting account through godaddy and im trying to make a php upload file so users can upload files to my site, but the php file upload I have found on the internet wont work, here is the html code <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> … |
The End.