0
голосов
2ответов
884 просмотров

accessing local file from php

I'm trying to gain access to a file on a client computer so that i can then later attach it to an outgoing email (resume.pdf) Ive found a few clips of code but I'm having trouble getting it to work for me. the code below seems to demonstrate all the things ill need to gather about my file but ...

4
голосов
5ответов
3776 просмотров

AppEngine GeoPt Data Upload

I'm writing a GAE app in Java and only using Python for the data upload. I'm trying to import a CSV file that looks like this: POSTAL_CODE_ID,PostalCode,City,Province,ProvinceCode,CityType,Latitude,Longitude 1,A0E2Z0,Monkstown,Newfoundland,NL,D,47.150300000000001,-55.299500000000002 I was able...

0
голосов
1ответов
75 просмотров

How to automate/simplify this content submission scenario?

I'm trying to think a strategy to automate or simplify content submission. A submission is by default done through a form and counts as one entry (some text fields + a random number of file upload fields). Through a web interface, I can imagine this as a regular form. But how can I automate the p...

-1
голосов
2ответов
2521 просмотров

Type 'System.Web.HttpRequest' cannot be serialized

I am trying to design an Picture Upload feature into a web site. I am using ASP.NET 3.5, C#, and WCF. I have been asked to accomplish the following: 1) Make the Uploader a Web Service 2) Return progress updates to the user as files are uploaded. 3) Log other relevant user-selected options i...

3
голосов
3ответов
7656 просмотров

Is setting the uploads folder 777 permission secure?

I have seen a lot of upload forms hacked, and some had some really good security checks of the file being uploaded (at least I think so), but still somebody managed to upload a PHP file. I was wondering: is there is a way to upload a file in the uploads folder that has 777 permissions? I am thin...

17
голосов
1ответов
13933 просмотров

Uploading files using HTML file input on iphone

I am creating a web form for uploading small movie clips to a HTTP server. However, while my HTML file input control gets shown on an ipod touch, the button is completely disabled and I cannot click it to upload files. What do I have to do to use the input control to upload files (e.g. movie cli...

5
голосов
6ответов
3074 просмотров

Web Development: How can I allow a user to upload files directly to my CDN (Cachefly)?

I have a PHP web-application that allows users to upload images to my web site. I'm doing this using a simply HTML <form enctype="multipart/form-data"> However, instead of having those images uploaded to my web server - I would to have those images uploaded directly to my CDN (Cachefly - w...

0
голосов
1ответов
457 просмотров

Getting post vars with swf-upload

I am using swf-upload to allow users to upload images quickly. I need them to be able to select which galleries they want them to appear in so I have added extra controls to the form - but they are never passed in GET or POST to the upload.php catcher. I think 'addPostParam' is what I need to s...

1
голосов
2ответов
636 просмотров

MOSS Error Uploading File to Library and Custom Meta Data Not Being Updated

MOSS 2007 SP2 64 bit. Multi-server install. How do I figure out the where to find the document library upload error I am getting? I have document library with a custom workflow attached that will have a PDF document OCR'd during the upload. This library has some custom meta data fields from a c...

126
голосов
9ответов
164272 просмотров

HTML: How to limit file upload to be only images?

With HTML, how do I limit what kind of filetypes can be uploaded? To easy the user experience, I want to limit file uploads to be only images (jpeg, gif, png). <form method="post" action="..." enctype="multipart/form-data"> <label for="image">Photo</label> <input name="ima...

3
голосов
4ответов
7380 просмотров

image upload with ajax and php

I want to use ajax to upload image. In this module: On clicking browse and selecting image, it will be uploaded and displayed over file field. After adding title and description, and clicking on the button, that image will be displayed below and upper image field will be blank

2
голосов
3ответов
1646 просмотров

Flash/PHP File Upload Speed Issues

I am trying to write a simple, in-house file delivery application for uploading files for easy download on our client's end. I am using Flash with a very basic PHP script receiving the file. So far, this does work. The problem statement is: using FTP, a 100 MB file will upload in 2-3 minutes. Us...

0
голосов
2ответов
1574 просмотров

Upload files using list box in PHP

I want to upload files from a list box in php. I am able to do it by using <input type="file"> which I found on http://www.tizag.com/phpT/fileupload.php But when I change this <input type="file"> by <select> i am trying this way <form enctype="multipart/form-data" action=...

7
голосов
1ответов
12479 просмотров

Upload Excel File and display in Grid in asp.net MVC

I need to export the Users List from excel to my asp.net mvc(C#) application. The Excel should have an header like First Name Last Name Email,... and its values like                                  John          Smith           [email protected],                          ...

2
голосов
3ответов
1849 просмотров

html file upload form

I have a web application with a simple file upload requirement (max 1 mb). The web application is an externally exposed web site that must be (as much as possible) compatible with all browsers and versions. We are using C# .net 3.5 ASP .Net (IIS 7) technology. We are having trouble implementin...

4
голосов
3ответов
2768 просмотров

python: parse HTTP POST request w/file upload and additional params

The task is simple: on the server side (python) accept an HTTP POST which contains an uploaded file and more form parameters. I am trying to implement upload progress indicator, and therefore I need to be able to read the file content chunk-by-chunk. All methods I found are based on cgi.FieldSt...

10
голосов
5ответов
14813 просмотров

Flex: Error #2038: File I/O Error

I have a flex app doing multiple file upload, and keep getting this error: Error #2038: File I/O Error Flex gives this error, yet it seems to work because the upload does get processed. This was happening intermittently, now on every attempt. Any ideas on what might be going on here? I've checke...

0
голосов
3ответов
3505 просмотров

Upload a folder in ASP.NET of Flash or Silverlight

Is there any way to upload entire folder (a folder) in asp.net? Is there any way to upload in Flash or Silverlight?

1
голосов
2ответов
3210 просмотров

image upload in html page

I am using the following code to upload an image to a web server <form name="uploadFile" action="upload.php" method="post" enctype="multipart/form-data" onSubmit="return validate();"> <input type="hidden" name="choice" value="upload"> <table align="center"> <tr> &lt...

0
голосов
4ответов
4806 просмотров

How do I prevent a Request Timeout when uploading a file in PHP?

I'm getting a pretty consistent timeout after 90 seconds. I followed this guide to fix the problem and changed my PHP settings to 600 for timeouts and 20M for file sizes. In my scenario, I am uploading images. A 100k image seems to upload without any problems but 500k image files time out after 9...

10
голосов
4ответов
24461 просмотров

PHP way to find the web server's temp path?

When you handle an HTTP upload the file is uploaded to $_FILES['field_name']['tmp_name'] I know I could extract the temp path from there. But I was expecting maybe a $_SERVER param that had the temp path (there's none) or other elegant way of knowing it. Is there any?

0
голосов
1ответов
2290 просмотров

Get Renamed File Names of JavaScript Forms in CodeIgniter

I have a multiple image upload form, and the following code is working well for uploading. I need to save file names to database to the database, but I cannot figure out how to do that properly. uploadform.php: echo form_open_multipart('gallery/upload'); <input type="file" name="photo" si...

1
голосов
4ответов
13832 просмотров

Upload image with facebook API

Question: How to upload an image from my webserver to facebook via FB API? I'm writing an application that retrieves images from the user's photo album, makes some modifications (e.g. adding a watermark) then send it back to photo album. The code I use to upload the photo is as follows <?ph...

0
голосов
2ответов
2807 просмотров

C# How do I upload a file to a PHP server?

I need to upload a file to my webserver from a C# program. The problem is, I need to also POST two strings at the same time. So far, I have: HttpWebRequest HttpWReq = (HttpWebRequest)WebRequest.Create("http://localhost/test.php"); ASCIIEncoding encoding = new...

0
голосов
3ответов
4982 просмотров

get uploaded image dimensions with javascript / jquery?

also try this but for me it isnt working. Determining image file size + dimensions via Javascript? i upload image, insert it on page through jquery and want to create div around inserted image, but dont know image dimensions. $("#temp_image").html('<img src="uploads/obr1.jpg" alt="" id="tmp...

1
голосов
3ответов
1635 просмотров

Large file upload into WSS v3

I'd built an WSSv3 application which upload files in small chunks; when every data piece arrives, I temporarly keep it into a SQL 2005 image data type field for performance reasons**. Problem come when upload ends; I need to move data from my SQL Server to Sharepoint Document Library through WSS...

7
голосов
4ответов
2185 просмотров

Security issues in accepting image uploads

What are the major security issues to consider when accepting image uploads, beyond the normal stuff for all HTTP uploads? I'm accepting image uploads, and then showing those images to other users. How should I verify, for example, that the uploaded image is actually a valid image file? Are the...

1
голосов
3ответов
414 просмотров

is there any file upload library/third-part application in django?

is there any library or open-source application with the feature: upload images/files from browser upload images/files from a url (download the content and store it) rich user interface like upload progress bar or file manager etc. and any other help or suggestion? I want do an application let...

0
голосов
4ответов
389 просмотров

php:uploading a file on server

I am using the following code to upload the file on my server. How do I store it in a particular folder? if ($_FILES["file"]["error"] > 0) { echo "Error: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type:...

0
голосов
2ответов
1808 просмотров

Upload File Size Limit: Symfony Admin Generator Module

I have form created by the admin generator in the backend of a website. It allows the upload of a video to the site. It works fine but strangely, the upload fails for files of 10mb or over. However, I have not set any file limits in my form. Are there Symfony/PHP/Apache/web browser settings reg...