497 Topics
|
|
I am about to create a video upload function to a cms. But havent dealt with video and video player functionality before. So my question is what file extensions i should tjeck for under validation in the upload script? Are the a video player which is working in all browsers, … |
|
Please help me, I need help on uploading pix, the error is " 'AccountPicture' is not a member of UrlHelper". UrlHelper is an Extension module in my project. Please how do I fix that? |
|
Hello all, I am working on an upload script. This one is taken straight from php.net. I tried to get it to work but can't seem to. Could you help out? This is the code: <?php $uploads_dir = 'file:///PETBookPro09/Users/petuser1/Desktop/'; foreach ($_FILES["pictures"]["error"] as $key => $error) { if ($error == UPLOAD_ERR_OK) … |
|
Hello all, I am working on an upload function and am having problems. This is the message that it says: Warning: move_uploaded_file(../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/Applications/XAMPP/xamppfiles/temp/phpMtgNWy' to '../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg' in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 … |
|
Hi, I am looking for a procedural PHP script that would allow me/my users to upload video content in a number of popular formats. I would also like all the information to be linked into a MySql database as well. I already have a upload script for uploading documents but … |
|
i hav problem in uploading(put) data on ftp server plz help |
|
|
Hi, I'm trying to learn how to create an upload file form. I'm stuck on a couple of things. This is something I learn in the past but I forgot how to create one, so it's new to me now. I got the script from http://www.w3schools.com/php/php_file_upload.asp 1) I want to … |
Hi! Does anyone know how to upload a file, say in a form, with input type="file". But what I want is to display the uploaded file in an iframe in the same page. Best Regards |
|
i have a forum for uploading pics or other files to a root folder but its not working online on my hosted domain at jnetscripts.com it sais its working but no file is there, i chmod the folder root to allow writing and still does not work is there a … |
|
Hi, I have been trying to import the data from a CSV file (10,000 rows) into a database using SQL and PHP <body> <div id="container"> <div id="form"> <?php $user="root"; $database="test"; mysql_connect("localhost",$user); @mysql_select_db($database) or die( "Unable to select database"); //Upload File if (isset($_POST['submit'])) { if (is_uploaded_file($_FILES['filename']['tmp_name'])) { echo "<h1>" . "File … |
|
This is the form where i can upload the image file: <?php require_once ('includes/config.inc.php'); session_start(); // If no first_name session variable exists, redirect the user: if (!isset($_SESSION['first_name'])) { $url = BASE_URL . 'index.php'; // Define the URL. ob_end_clean(); // Delete the buffer. header("Location: $url"); exit(); // Quit the script. } … |
|
Hello Everybody, I am having a doubt regarding how to upload a file to multiple machines or servers. I tried using with FTP but getting ConnectException:connection Refused import sun.net.ftp.*; import java.io.*; public class SendFile { public static void main(String args[]) { String hostname = "172.14.3.23"; //Remote FTP server: Change this … |
|
Hello, I am trying to upload music files to a database for use on my website. However, the file doesn't seem to actually be going into the folder. I get the name of the file in phpmyadmin, but I don't see the file anywhere. Here's my script (I do have … |
|
I have some web forms that contain several normal fields, and at least one upload field each. Upon submission, the contents of the form are e-mailed to the recipient. When I fill out the form *without* including a file for upload, it works correctly. I get an e-mail that, when … |
|
What we have done was : Specifying valid FTP remote server name, a username and a password if password required in their relevant textboxes on the form then we click on connect, we notice that the TreeView control is filled with main directories while ListBox control is filled with main … |
|
I have an application that I wrote that allows users to upload files (pictures or PDFs). I am using IIS 6 and php 5.4. The problem I am having is that it seems like file uploads are getting cached somehow. For example, if I upload the same file over and … |
|
How can i upload an image in my php comment box here it is: <?php $act = $_POST['act']; if($act == "post") { $name = $_POST ['name']; $area = $_POST ['area']; @$fp = fopen("comments.php", 'a'); if (!$fp) { //The file could not be opened echo "There was an error! Please try … |
|
hi, eventually this program should be able to automatically upload an image to a youtube page. (origionally the idea was to add a gamertag alongside the channel name so people could see current gamerscore etc...) I have coded a lot of it and one part which i thought to be … |
|
hey, i'm looking for a simple script that will display 3 images in the same page as the upload button is present in. would be great if you help me with this. thanks a ton! |
|
I have the simplest code possible to upload a file using php and it only doesnt work using mozilla firefox. The server responds: 'Bad Request Your browser sent a request that this server could not understand.' This is the code(2 files): upload_file0.php <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> … |
|
[admin.php](https://github.com/apps-vn/admin.php/commit/f2e3c157d42750c39e1778a58abf271f8ddb5f82) <tr> <td><?php echo MOD_DS_PRODFILE;?>: <?php echo required();?></td> <td><input name="filename" type="file" size="40" class="fileinput mask" /> <span style="margin-left:80px"><?php echo tooltip(MOD_DS_PRODFILE_T);?></span></td> </tr> <tr> <td><?php echo MOD_DS_PRODFILE;?>: <?php echo required();?></td> <td><input name="filename" type="file" size="40" class="fileinput mask" /> <span style="margin-left:80px"><?php echo tooltip(MOD_DS_PRODFILE_T);?></span></td> </tr> [admin_class.php](https://github.com/apps-vn/admin_class.php/blob/9fc485be7667cd0d559e74b3e99c71941044bbd6/.gitignore) */ public function getPaidDownload($token) { global $db, $core; $id = … |
|
How do i insert this into my sql database? I have tried a few things like putting the array bracks on the upload file. when i do this it saves the image location but doesnt upload the image. This is my upload snippet for ($i=0;$i<4;$i++) { if($_FILES['userfile']['name'][$i]) { $uploadfile = … |
|
Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to … |
|
Hello, I currently have a script that Uploads an image, resizes and saves successfully. I am having trubble understanding how I would rename the uploaded image according to the other image names in the directory. For example there are 3 images in the directory (Image1.png, Image2.gif and Image3.jpg) How would … |
|
Am getting **java.lang.IndexOutOfBoundsException** while I try to uplaod a file to server. I checked the code at loaclhost and it was working fine, but after uploading it to the server am getting the error. **upload.jsp** <form action="UploadServlet" method="post" enctype="multipart/form-data"> <input type="file" name="select" value="" /> <input type="submit" value="Select Profile Pic" /> … |
|
Please give a image uploading script and displaying the uploaded images link in the same page. |
|
Need help with code i am trying to acheive upload of videos but when they are uploaded the file names need to be changed to have hyphens in replace of white space and still keep the exstensions. its proving difficult because once uploaded ffmpeg needs to read the output as … |
|
My web hosting service provider allows me to uplaod my ROOT.war file only. and there is no directory structure. So is there any way by which I can upload pics and add new pages or make changes in existing pages without re-uploading the entire ROOT.war file. P.S. I also want … |
|
the simple thing i want to achieve is to be able to browse a file on my system an then use a servlet to finally store the file as a byte stream to my DB2 database. Initially i started by using coding the servlet part as a java application by … |
|
Hi All, I have the following scrip that uploads a image to a destination folder on my server. What I am trying to do is "rename" the uploaded file and update the link in the back end database. The file uploads and stores in the correct folder, but what it … |
The End.