upload

js validate 2 scripts together

I have 2 separate jquery scripts on one page to submit topics to the database. One script is for sending the topic title and the category it belongs to. The second script is for uploading an image. I managed to send data from both via 1 button but validation isn't mutual. For example, if I fill in all the text inputs but don't upload ...

How can I write tests for file upload in PHP ?

I'm using simpleTest to write my PHP tests. I'm writing a file upload plugin and was wondering how I may be testing it. I would like to check that the file is correctly uploaded, in the right folder, that error are correctly returned when needed, etc. How do I emulate a file upload (through the $_FILES variable) ? Are there any issues ...

What is a good Wordpress plugin to upload a photo to a page?

I have a site where each page has 3 photos in the header. I want the user to be able to switch out the photos that appear on each pages header. I'm looking for a wordpress plugin which will allow the admin to upload photos to a specified location for a certain page. Does anyone know of a wordpress plugin with that sort of functionality...

php javascript upload file

hey there web experts, I use this upload tutorial to upload files. I decided to place my uploader in drupal, so in order the make a custom page, I made my upload page inside a iframe. All working fine, just when upload finished the method stopUpload is not called. Can you help me with that please? ...

uploading an image from flash using php more specifically HTTP_RAW_POST_DATA ?

I currently have it working so it displays a dialogue box to save the image on your computer: if (isset($GLOBALS["HTTP_RAW_POST_DATA"])) { // get bytearray $jpg = $GLOBALS["HTTP_RAW_POST_DATA"]; // add headers for download dialog-box header('Content-Type: image/jpeg'); header("Content-Disposition: attachment; filename=".$_GET['name'])...

What is the Featured Image area for on the TwentyTen theme using WordPress?

I am creating a child theme in Wordpress using the TwentyTen theme as a parent. I saw under the Pages area in the admin section, there is a 'Featured Image' area, but I don't see where that featured image is shown on the page. What is the featured image area for? I would ideally like to use that uploader to put an image at a specified l...

Multi-file Upload in FLEX

Is there a FLEX component that uploads multiple files in a multipart/form-data POST request? ...

Ruby/Mechanize Multipart Form With File Upload to a Mediawiki

I've been trying to write a ruby script using mechanize to batch upload a large number of images to a MediaWiki. The script runs without any errors but I suspect there is something wrong with the way I'm handling multipart forms with mechanize. The result variable at the end of the code gives no indication of success or failure, it just ...

BITS Credential Problem

Hi friends, i am facing the BITS Security problem. I am creating the application where i am using t BITS to upload and download the file to the IIS server. Now, my requirement is that i want to make my Virtual Directory password protected. i have done it through IIS>Directory Security i disallow the anonymous access. But from the clien...

Apache commons file upload alternatives

I was wondering what Java File Upload API's StackOverflow users have used in the past and would recommend using? A quick Google Search seems to indicate that the most commonly used API is Apache Commons File Upload (currently at 1.2.1), however, we've had some issues regarding the use of this library with larger files that we've been una...

JQuery Multi File Upload

I have a problem in which I need to upload multiple files using multipart POST request, I need a single browse button to choose the uploaded files. I've seen JQuery Plugin for multi file upload, but there is a problem that only one file is uploaded several times. the post request file parameters are sent with the same name. My question i...

Hotlinked images and FBML

I am creating an custom facebook page using FBML. I use custom data for my content in the share buttons. I am having trouble with the thumbnail images. I have not been able to determine the problem. I will hotlink an image from one site, the thumbnail won't work. I will hotlink an image from another site and the thumbnail works. I try ...

Virtual Directory Authentication

Hi, I am developing a application where i am performing the Download/Upload using WebClient and BITS. i have a virtual directory in IIS6.0/7.0. i have to set the Authentication to the that directory(Id & Password). currently i m using basic IIS authentication in which we can pass id and password but using same user id and password we ca...

Facebook graph API & PHP SDK questions.

I have a couple of problems using facebook graph api. 1). When i try to upload a photo i get the following error "(#324) Requires upload file". $attachement = array( 'access_token'=> (...)', 'name' => 'uploaded foto', 'source' => 'C:\Documents and Set...

Grails - Exception when stopping/cancelling an upload

I have a very basic upload action in my controller. It looks something like the action below. It works great. The only problem I'm seeing is when a user cancels an upload (or hits stop on their browser). I am able to recover correctly, but not before seeing an uncaught exception in my logs. The exception is listed below. Any help o...

Codeigniter image upload

Hi There, I am wanting to allow my user to upload an image, using a form. In the same form I want to display the image that has been uploaded. Is this is possible to do without actually submitting all the form? Thanks ...

Uploading a file to my Linux PHP web host through a URL

Hi, First of all, I don't know if this is where I have to ask this question; so I'll count on the moderators to move it if need be. I have a Linux PHP web hosting account on GoDaddy. When I have to upload a file, I normally use FTP, either a client or the host's file manager. However, if the file is one which I have to download from ...

a required privilege is not held by the client while uploading a temporary registry (C#)

While I am trying to upload a registry in my registries using the C# code , the application is throwing the error "a required privilege is not held by the client". If I am using the same code on some other machine it is working fine but not particularly on my machine I am using below mentioned code to upload the registry files Process ...

How to upload a file to a website using HTML

Hi, I'm developing a website and I'd like the users be able to upload files to the server using a webpage. The server side is .NET, but it's not ASP.NET. That means, I'm generating the html code myself instead using ASP.NET, and I'm working with the GET string and POST stream directly. It's a good exercise to learn what happens under ...

Upload photos to website from a text to a 1-800 number from mobile phone

I need the ability for someone to send a text with a photo attached to a 1-800 number from their mobile phone, and have that image uploaded/sent to a website. I'm at a bit of a loss on where to start with this. Can anyone point me in the right direction or let me know what would be involved and how to get started? Any insight is appre...