[PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Voß , Marko
Hello, I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php I am *not* using this one: http://php.net/manual/en/class.httprequest.php The HTTP_Request class support the following functions: setBody() and addFile()

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Jim Lucas
On 05/31/2012 03:28 AM, Voß, Marko wrote: Hello, I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php How am I supposed to do that with this class? Are there any alternatives, which do not force me to add new PHP

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Bastien Koert
On Thu, May 31, 2012 at 12:24 PM, Jim Lucas li...@cmsws.com wrote: On 05/31/2012 03:28 AM, Voß, Marko wrote: Hello, I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php How am I supposed to do that with this

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Jim Lucas
On 05/31/2012 11:34 AM, Bastien Koert wrote: On Thu, May 31, 2012 at 12:24 PM, Jim Lucasli...@cmsws.com wrote: On 05/31/2012 03:28 AM, Voß, Marko wrote: Hello, I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread tamouse mailing lists
On Thu, May 31, 2012 at 5:28 AM, Voß, Marko marko.v...@fiz-karlsruhe.de wrote: Hello, I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php I am *not* using this one: http://php.net/manual/en/class.httprequest.php

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread tamouse mailing lists
On Thu, May 31, 2012 at 5:28 AM, Voß, Marko marko.v...@fiz-karlsruhe.de wrote: I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php The HTTP_Request class support the following functions: setBody() and addFile()

Re: [PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Matijn Woudt
On Thu, May 31, 2012 at 12:28 PM, Voß, Marko marko.v...@fiz-karlsruhe.de wrote: Hello, I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php I am *not* using this one:

[PHP] Uploading and creating an email attachment, WITHOUT a DB on server

2012-03-27 Thread Christopher Svanefalk
Dear all, I am rather green to PHP and web programming in general, and would just like some pointers how to accomplish the following. I have a webpage on a remote host, which supports PHP but does not have a DB installed. Here, I have a form where the user can input personal credentials, which

[PHP] uploading file encoding error

2010-05-27 Thread Manolis Vlachakis
hallo there everyone! i am uploading a file in a php applet i developed and i face a problem while i upload greek named files.. have no problem with the english or so on files... is there a way to use iconv or something else so as to solve my problem ? my code looks like that... $uploaddir =

Re: [PHP] uploading file encoding error

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 17:49 +0300, Manolis Vlachakis wrote: hallo there everyone! i am uploading a file in a php applet i developed and i face a problem while i upload greek named files.. have no problem with the english or so on files... is there a way to use iconv or something else so as

Re: [PHP] uploading file encoding error

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 18:03 +0300, Manolis Vlachakis wrote: i am using gentoo and on the server side i cant see either the files with their greek names but i had no problem in the past handling them even though i couldn't see them... my servers log say that they uploaded the file but

[PHP] uploading file outside WEB Root

2008-09-01 Thread Angelo Zanetti
Hi All, For security purposes I would like to upload a file outside the webroot. I have got this to work on my local dev machine but it doesn't seem to work on the live server. I have tried both the relative path and also the full path (from the $_SERVER[DOCUMENT_ROOT] variable). Now I can't

[PHP] Uploading Large Files - Strange Issue

2008-08-06 Thread Anna Vester
Hello group, I have a very strange issue coming up when uploading large files ( about 30MB). The problem is it works fine on my computer (and two others that I've tested), but it doesn't work on my client's laptop. It comes up with error code - 0 (which is upload successful), but the actual file

RE: [PHP] Uploading Large Files - Strange Issue

2008-08-06 Thread Jay Blanchard
[snip] I have a very strange issue coming up when uploading large files ( about 30MB). The problem is it works fine on my computer (and two others that I've tested), but it doesn't work on my client's laptop. It comes up with error code - 0 (which is upload successful), but the actual file is not

RE: [PHP] Uploading Large Files - Strange Issue

2008-08-06 Thread Anna Vester
[snip] -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 9:44 PM To: Anna Vester; php-general@lists.php.net Subject: RE: [PHP] Uploading Large Files - Strange Issue It is likely that it is not PHP causing the issue. What browser is he using

Re: [PHP] uploading big files with PHP

2008-08-04 Thread mike
On 8/3/08, Catalin Zamfir Alexandru | KIT Software CAZ [EMAIL PROTECTED] wrote: What are you talking about? I've been able to upload a 4GB file without problem. Uploading doesn't depend on memory limit, and this has been a subject of debate on the PHP.net Manual (uploading files section,

Re: [PHP] uploading big files with PHP

2008-08-04 Thread Daniel Brown
On Mon, Aug 4, 2008 at 12:55 AM, Catalin Zamfir Alexandru | KIT Software CAZ [EMAIL PROTECTED] wrote: What are you talking about? I've been able to upload a 4GB file without problem. Uploading doesn't depend on memory limit, and this has been a subject of debate on the PHP.net Manual

Re: [PHP] uploading big files with PHP

2008-08-03 Thread mike
On 7/25/08, Angelo Zanetti [EMAIL PROTECTED] wrote: Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most probably time out. How do current websites do it? Is there somehow a way to make

Re: [PHP] uploading big files with PHP

2008-08-03 Thread brian
mike wrote: On 7/25/08, Angelo Zanetti [EMAIL PROTECTED] wrote: Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most probably time out. How do current websites do it? Is there somehow a way

Re: [PHP] uploading big files with PHP

2008-08-03 Thread mike
On 8/3/08, brian [EMAIL PROTECTED] wrote: Also, use set_time_limit(0); and configure the server and php to accept a decent size, and probably configure the client to put only chunks at a time right? otherwise php will hit it's memory limit for the script quite easily i would assume. so there

RE: [PHP] uploading big files with PHP

2008-08-03 Thread Catalin Zamfir Alexandru | KIT Software CAZ
: Monday, August 04, 2008 4:07 AM To: brian Cc: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP On 8/3/08, brian [EMAIL PROTECTED] wrote: Also, use set_time_limit(0); and configure the server and php to accept a decent size, and probably configure the client to put only

[PHP] uploading big files with PHP

2008-07-25 Thread Angelo Zanetti
Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most probably time out. How do current websites do it? Is there somehow a way to make use of FTP to transfer the files? Any links, help, advice

Re: [PHP] uploading big files with PHP

2008-07-25 Thread Raido
Hi, Maybe this is involved with it ? http://ee.php.net/manual/en/info.configuration.php#ini.max-input-time Angelo Zanetti wrote: Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most

Re: [PHP] uploading big files with PHP

2008-07-25 Thread Thijs Lensselink
Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are pitching to develop a website where the admin has to upload big video files but I'm not sure how this can be done as the file upload will most probably time out. How do current websites do it? Is there somehow a way to make use of FTP to

RE: [PHP] uploading big files with PHP

2008-07-25 Thread Angelo Zanetti
-Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 12:08 To: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are pitching to develop a website where the admin has

Re: [PHP] uploading big files with PHP

2008-07-25 Thread Jason Pruim
On Jul 25, 2008, at 8:26 AM, Angelo Zanetti wrote: -Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 12:08 To: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We

RE: [PHP] uploading big files with PHP

2008-07-25 Thread Thijs Lensselink
Quoting Angelo Zanetti [EMAIL PROTECTED]: -Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 12:08 To: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are pitching

Re: [PHP] uploading big files with PHP

2008-07-25 Thread T Lensselink
]: -Original Message- From: Thijs Lensselink [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 12:08 To: php-general@lists.php.net Subject: Re: [PHP] uploading big files with PHP Quoting Angelo Zanetti [EMAIL PROTECTED]: Hi all We are pitching to develop a website where the admin

Re: [PHP] uploading big files with PHP

2008-07-25 Thread mike
On 7/25/08, T Lensselink [EMAIL PROTECTED] wrote: You are right on this. There are some other great methods for uploading. I just meant that in PHP there is not much more options. Of course in combination with other technologies you can do some pretty cool stuff. You could use some Java

[PHP] Uploading files without saving them

2008-06-23 Thread James Colannino
Hey everyone. Here's a simple question. I'd like to be able to import information from a text file located on the client without actually saving it on the server; that is, I simply want to read the data into memory on the server, without actually saving it to a file. I've been googling

RE: [PHP] Uploading files without saving them

2008-06-23 Thread Boyd, Todd M.
-Original Message- From: James Colannino [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 3:48 PM To: php-general@lists.php.net Subject: [PHP] Uploading files without saving them Hey everyone. Here's a simple question. I'd like to be able to import information from a text

Re: [PHP] Uploading files without saving them

2008-06-23 Thread James Colannino
Boyd, Todd M. wrote: IIRC, if you never move it out of PHP's defaulted temporary storage sandbox, it will eventually be wiped. When files are uploaded via PHP, they must explicitly be moved into the active file system. Ah, I see. What would happen if two people just happened to upload files

Re: [PHP] Uploading files without saving them

2008-06-23 Thread James Colannino
Nitsan Bin-Nun wrote: PHP uses randomaly name for each of them (during the upload to the temporary directory), when its done PHP moves the file to the objective location, i dont think you will obstacle filename problems. Ah, excellent! Thanks :) James -- My blog:

Re: [PHP] Uploading files without saving them

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 6:05 PM, James Colannino [EMAIL PROTECTED] wrote: Ah, I see. What would happen if two people just happened to upload files with the same filename at the same time? Would one stomp over the other, or does PHP have mechanisms to handle that sort of situation? Todd

Re: [PHP] Uploading files without saving them

2008-06-23 Thread Shawn McKenzie
Daniel Brown wrote: On Mon, Jun 23, 2008 at 6:05 PM, James Colannino [EMAIL PROTECTED] wrote: Ah, I see. What would happen if two people just happened to upload files with the same filename at the same time? Would one stomp over the other, or does PHP have mechanisms to handle that sort of

Re: [PHP] Uploading files without saving them

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 8:17 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Oooo... where can I get this 'summer.jpg'? It's an Easter Egg embedded in the $_FILES array under an undocumented hidden key. ?php

Re: [PHP] Uploading PDF

2008-02-16 Thread Martin Marques
Pastor Steve escribió: Greetings, I am getting an error when I am trying to upload a PDF file through a script. When I do a print_r($_FILES) I get the following: Array ( [userfile] = Array ( [name] = document.pdf [type] = [tmp_name] =

[PHP] Uploading PDF

2008-02-14 Thread Pastor Steve
Greetings, I am getting an error when I am trying to upload a PDF file through a script. When I do a print_r($_FILES) I get the following: Array ( [userfile] = Array ( [name] = document.pdf [type] = [tmp_name] = [error] = 2

[PHP] Uploading a file through PHP form

2007-12-13 Thread Ron Piggott
How do you upload a file using PHP? Also what is the web page which describes the procedure on php.net ? Thanks, Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Uploading a file through PHP form

2007-12-13 Thread Benjamin
Try checking out this manual page: http://us3.php.net/features.file-upload It includes pretty much everything you'll need to know. --Ben On Dec 13, 2007 9:03 PM, Ron Piggott [EMAIL PROTECTED] wrote: How do you upload a file using PHP? Also what is the web page which describes the procedure on

RE: [PHP] Uploading a file through PHP form

2007-12-13 Thread Bastien Koert
Hi Ron, http://www.php.net/manual/en/features.file-upload.php is the page its pretty simple Bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 13 Dec 2007 21:03:00 -0500 Subject: [PHP] Uploading a file through PHP form How do you upload a file using PHP? Also what

[PHP] uploading files... necessary Ajax?

2007-11-21 Thread pere roca
Hi, a basic question: I want to send a CSV file and some other parameters. In my FORM I have method=POST input type=file and action=http://php;; It sends it to the php file but I don't want the php to be visualized (in fact it just works with the data and inserts in database). I want to keep

Re: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread Christian Hänsel
pere roca [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hi, a basic question: I want to send a CSV file and some other parameters. In my FORM I have method=POST input type=file and action=http://php;; It sends it to the php file but I don't want the php to be visualized

Re: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread Jochem Maas
pere roca wrote: Hi, a basic question: I want to send a CSV file and some other parameters. In my FORM I have method=POST input type=file and action=http://php;; It sends it to the php file but I don't want the php to be visualized (in fact it just works with the data and inserts in

Re: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread T . Lensselink
On Wed, 21 Nov 2007 14:06:17 +0100, Jochem Maas [EMAIL PROTECTED] wrote: pere roca wrote: Hi, a basic question: I want to send a CSV file and some other parameters. In my FORM I have method=POST input type=file and action=http://php;; It sends it to the php file but I don't want the php

RE: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread Jay Blanchard
[snip] Seems to me Pere want's to do an upload without reloading the whole page. [/snip] The problem is that you cannot upload files using Ajax alone. But you can do it without a reload, requires an invisible IFRAME and a little technique. Search Google for several different articles on this. --

RE: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread T . Lensselink
On Wed, 21 Nov 2007 08:38:18 -0600, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Seems to me Pere want's to do an upload without reloading the whole page. [/snip] The problem is that you cannot upload files using Ajax alone. But you can do it without a reload, requires an invisible IFRAME

Re: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread pere roca ristol
Thanks for the answer, you are right, Jay, I don't want nor reload the page nor a new .php page (the one that works with the data I post) appears. It's difficult to believe that a so dummy thing is not working in php (without Ajax)! I found this URL explaining ajax/php for uploading files.

RE: [PHP] uploading files... necessary Ajax?

2007-11-21 Thread Andrés Robinet
@lists.php.net Subject: Re: [PHP] uploading files... necessary Ajax? Thanks for the answer, you are right, Jay, I don't want nor reload the page nor a new .php page (the one that works with the data I post) appears. It's difficult to believe that a so dummy thing is not working in php

Re: [PHP] uploading big images.

2007-06-05 Thread Stut
Yamil Ortega wrote: I think it is a PHP.ini file configuration or something. Can you help me? So why not check there before posting here? I mean seriously, the option couldn't be more obvious considering that it's called upload_max_filesize. -Stut -- PHP General Mailing List

[PHP] uploading big images.

2007-06-04 Thread Yamil Ortega
Hi, me again. I need to tell you that im completely new in LAMP, so please don´t get tired with my silly questions :-). I was able to upload and create thumb images with the same size. But now, I am realizing that I can´t upload images bigger than 1 MB, I don´t know why. I load the image

Re: [PHP] uploading big images.

2007-06-04 Thread Chris
Yamil Ortega wrote: Hi, me again. I need to tell you that im completely new in LAMP, so please don´t get tired with my silly questions :-). I was able to upload and create thumb images with the same size. But now, I am realizing that I can´t upload images bigger than 1 MB, I don´t know

Re: [PHP] uploading really big files

2007-06-02 Thread Alexander Jaeger
Angelo Zanetti schrieb: clive wrote: Angelo Zanetti wrote: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. I know its not a php answer, but if you have ever uploaded a file with facebook then you will have seen the little applet they push down

Re: [PHP] uploading really big files

2007-06-02 Thread Richard Lynch
On Sat, June 2, 2007 8:38 am, Alexander Jaeger wrote: - Give them FTP or SCP or something that is more stable and will re-try. - *SCP* (http://en.wikipedia.org/wiki/Secure_copy) SCP ?!? an shell account for an unkown person on a server? NO DONT DO THAT!!! the only

Re: [PHP] uploading really big files

2007-06-02 Thread Alexander Jaeger
Depends who is doing the uploading... One also could imagine a write-only account, either in FTP or SCP setup. I know I've seen this in FTP, and I don't see any reason SCP couldn't. the reason why scp is different is it needs an system account with a valid shell. FTP does simply not

Re: [PHP] uploading really big files

2007-06-02 Thread Richard Lynch
On Sat, June 2, 2007 3:01 pm, Alexander Jaeger wrote: Depends who is doing the uploading... One also could imagine a write-only account, either in FTP or SCP setup. I know I've seen this in FTP, and I don't see any reason SCP couldn't. the reason why scp is different is it needs an

Re: [PHP] uploading really big files

2007-06-01 Thread clive
Angelo Zanetti wrote: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. I know its not a php answer, but if you have ever uploaded a file with facebook then you will have seen the little applet they push down to your browser, perhaps investigating

Re: [PHP] uploading really big files

2007-06-01 Thread Angelo Zanetti
clive wrote: Angelo Zanetti wrote: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. I know its not a php answer, but if you have ever uploaded a file with facebook then you will have seen the little applet they push down to your browser, perhaps

Re: [PHP] uploading really big files

2007-05-31 Thread Angelo Zanetti
Richard Lynch wrote: On Wed, May 30, 2007 8:47 am, Angelo Zanetti wrote: We need to develop a system where we can upload really big files. IE 15 - 25 Mb. You're pushing the limit on user patience and browser timeouts... So I know you can set the limit of the upload thats not a

Re: [PHP] uploading really big files

2007-05-31 Thread Angelo Zanetti
Zoltán Németh wrote: 2007. 05. 30, szerda keltezéssel 15.47-kor Angelo Zanetti ezt írta: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. So I know you can set the limit of the upload thats not a problem, I know a problem that we might experience

Re: [PHP] uploading really big files

2007-05-31 Thread Dimiter Ivanov
On 5/30/07, Angelo Zanetti [EMAIL PROTECTED] wrote: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. So I know you can set the limit of the upload thats not a problem, I know a problem that we might experience is that the browser might time out. Is there

Re: [PHP] uploading really big files

2007-05-31 Thread Richard Lynch
On Thu, May 31, 2007 5:07 am, Angelo Zanetti wrote: thanks for the replies. But how does a site like: http://www.yousendit.com/ do the upload of really huge files? Normal upload? I guess they've already worked through all the issues, assuming their service actually works... Or, perhaps, they

[PHP] uploading really big files

2007-05-30 Thread Angelo Zanetti
Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. So I know you can set the limit of the upload thats not a problem, I know a problem that we might experience is that the browser might time out. Is there any way around this? and also are there other

Re: [PHP] uploading really big files

2007-05-30 Thread Tijnema
On 5/30/07, Angelo Zanetti [EMAIL PROTECTED] wrote: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. So I know you can set the limit of the upload thats not a problem, I know a problem that we might experience is that the browser might time out. Is there

Re: [PHP] uploading really big files

2007-05-30 Thread Zoltán Németh
2007. 05. 30, szerda keltezéssel 15.47-kor Angelo Zanetti ezt írta: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. So I know you can set the limit of the upload thats not a problem, I know a problem that we might experience is that the browser

Re: [PHP] uploading really big files

2007-05-30 Thread Richard Lynch
On Wed, May 30, 2007 8:47 am, Angelo Zanetti wrote: We need to develop a system where we can upload really big files. IE 15 - 25 Mb. You're pushing the limit on user patience and browser timeouts... So I know you can set the limit of the upload thats not a problem, I know a problem that we

Re: [PHP] Uploading Files into MySQL

2007-05-28 Thread Greg Donald
On 5/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am working on a script to upload files into MySQL db. The following script uploads to a file system how do I go about uploading the file into the DB? Where do I put the SQL statement in the code below?

[PHP] Uploading Files into MySQL

2007-05-24 Thread [EMAIL PROTECTED]
I am working on a script to upload files into MySQL db. The following script uploads to a file system how do I go about uploading the file into the DB? Where do I put the SQL statement in the code below? form method='POST' enctype=multipart/form-data input type=file name=myfile input

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-21 Thread Richard Lynch
On Sun, May 20, 2007 8:16 pm, [EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-21 Thread Richard Lynch
On Sun, May 20, 2007 10:43 pm, Robert Cummings wrote: On Sun, 2007-05-20 at 20:35 -0500, Greg Donald wrote: On 5/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The

[PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread [EMAIL PROTECTED]
I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a MySQL database or to my server? I have head that there are pros

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Richard Davey
Hi benc11, Monday, May 21, 2007, 2:16:19 AM, you wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread [EMAIL PROTECTED]
Thanks Rich. The files are not going to be downloaded all that often and the overall traffic is relatively low. However, as with probably everyone I am hoping and expecting big increases in traffic. I currently run most of my site off LAMP. My main concerns as you mentioned is using

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Greg Donald
On 5/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a MySQL

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Robert Cummings
On Sun, 2007-05-20 at 20:35 -0500, Greg Donald wrote: On 5/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb.

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Larry Garfield
A well-optimized and load balanced database-based setup will beat a badly configured file system setup, sure. But will it beat a well-optimized and load balanced file system setup? I would be very surprised. Really, it comes down to this, assuming you know what you're doing either way.

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Robert Cummings
On Sun, 2007-05-20 at 23:11 -0500, Larry Garfield wrote: A well-optimized and load balanced database-based setup will beat a badly configured file system setup, sure. But will it beat a well-optimized and load balanced file system setup? I would be very surprised. Really, it comes down

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread Larry Garfield
On Sunday 20 May 2007, Robert Cummings wrote: On Sun, 2007-05-20 at 23:11 -0500, Larry Garfield wrote: A well-optimized and load balanced database-based setup will beat a badly configured file system setup, sure. But will it beat a well-optimized and load balanced file system setup? I

[PHP] Uploading: Safari=happy, IE7/Firefox=unhappy

2007-04-17 Thread Brian Dunning
I got everything configured on my server and uploads working great, max_input_time=3600, upload_max_filesize=30M, post_max_size=30M, and anything I upload up to 30M works great on Safari. IE7 and Firefox choke, returning broser-generated page not found, connection reset if the file is

Re: [PHP] Uploading: Safari=happy, IE7/Firefox=unhappy

2007-04-17 Thread Edward Vermillion
Could it be that IE7 and FF are timing the request out, and Safari isn't? That's what it sounds like to me. (connection reset on files larger that a couple megs) What to do about it server-side I have no idea (some kind of keep- alive setting or header or something?), but maybe it gives

Re: [PHP] Uploading: Safari=happy, IE7/Firefox=unhappy

2007-04-17 Thread Richard Lynch
On Tue, April 17, 2007 4:43 pm, Brian Dunning wrote: I got everything configured on my server and uploads working great, max_input_time=3600, upload_max_filesize=30M, post_max_size=30M, and anything I upload up to 30M works great on Safari. IE7 and Firefox choke, returning broser-generated

Re: [PHP] Uploading into website directory for Php files

2007-02-27 Thread Richard Lynch
On Sun, February 25, 2007 11:30 am, StainOnRug wrote: Hello again.. I recently posted a question about include files.. I appreciate the responses I received but my question wasn’t answered.. its my fault I didn’t explain myself 100%.. I know how to use the include files.. What I am

[PHP] Uploading into website directory for Php files

2007-02-25 Thread StainOnRug
Hello again.. I recently posted a question about include files.. I appreciate the responses I received but my question wasn’t answered.. its my fault I didn’t explain myself 100%.. I know how to use the include files.. What I am trying to figure out is. How do I upload the include files into my

Re: [PHP] Uploading into website directory for Php files

2007-02-25 Thread Edward Vermillion
On Feb 25, 2007, at 11:30 AM, StainOnRug wrote: Hello again.. I recently posted a question about include files.. I appreciate the responses I received but my question wasn’t answered.. its my fault I didn’t explain myself 100%.. I know how to use the include files.. What I am trying to

Re: [PHP] Uploading files.

2006-10-29 Thread Richard Lynch
On Sat, October 28, 2006 11:47 am, João Cândido de Souza Neto wrote: I´m in a big doubt about uploading files ins a safe way. I wont give permission for the web server user to write in some folder of my system and then use move_uploaded_file function in order to keep it secure. The upload

[PHP] Uploading files.

2006-10-28 Thread Jo�o C�ndido de Souza Neto
Hi everyone. I´m in a big doubt about uploading files ins a safe way. I wont give permission for the web server user to write in some folder of my system and then use move_uploaded_file function in order to keep it secure. I was using ftp functions to do it but a get a new trouble, in some

Re: [PHP] Uploading files.

2006-10-28 Thread Ed Lazor
Side note on the PHP FTP... I'm sure there are PHP FTP classes out there for you to use... google php ftp class and you'll see a few options to explore. On Oct 28, 2006, at 10:47 AM, João Cândido de Souza Neto wrote: Hi everyone. I´m in a big doubt about uploading files ins a safe way.

Re: [PHP] Uploading files / processing with a PHP script

2006-10-09 Thread Richard Lynch
On Sun, October 8, 2006 7:47 am, Ron Piggott (PHP) wrote: When I upload a file into an application I am writing with the HTML form command INPUT NAME=userfile TYPE=file and then give the PHP command move_uploaded_file( $userfile , $destination_file_name); the owner of the file is 'www'.

Re: [PHP] Uploading files / processing with a PHP script

2006-10-09 Thread Richard Lynch
On Sun, October 8, 2006 2:49 pm, Larry Garfield wrote: The owner of a file can change ownership of the file, too, I believe, essentially willing it to someone else. I sure hope not... Cuz then I could chmod 4777 a file to make it execute as owner, then I could will it to 'root' owner, and then

[PHP] Uploading files / processing with a PHP script

2006-10-08 Thread Ron Piggott (PHP)
When I upload a file into an application I am writing with the HTML form command INPUT NAME=userfile TYPE=file and then give the PHP command move_uploaded_file( $userfile , $destination_file_name); the owner of the file is 'www'. Is there any way I am able to automatically change the owner of

Re: [PHP] Uploading files / processing with a PHP script

2006-10-08 Thread Stut
Ron Piggott (PHP) wrote: When I upload a file into an application I am writing with the HTML form command INPUT NAME=userfile TYPE=file and then give the PHP command move_uploaded_file( $userfile , $destination_file_name); the owner of the file is 'www'. Is there any way I am able to

Re: [PHP] Uploading files / processing with a PHP script

2006-10-08 Thread Larry Garfield
On Sunday 08 October 2006 13:25, Stut wrote: the owner of the file is 'www'. Is there any way I am able to automatically change the owner of the file to my FTP login identity (for example 'rpiggott') As far as I am aware only the root user can change the owner of files. You could set up

Re: [PHP] Uploading files / processing with a PHP script

2006-10-08 Thread John Wells
On 10/8/06, Ron Piggott (PHP) [EMAIL PROTECTED] wrote: the owner of the file is 'www'. Is there any way I am able to automatically change the owner of the file to my FTP login identity (for example 'rpiggott') Just curious, why do you want to do this? What are you *really* hoping to

Re: [PHP] uploading and extracting zip files

2006-07-07 Thread Richard Lynch
On Tue, July 4, 2006 7:26 pm, Schalk wrote: Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. Basically the same way as one can upload and

Re: [PHP] uploading and extracting zip files

2006-07-06 Thread Jochem Maas
Chris wrote: nicolas figaro wrote: Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This

Re: [PHP] uploading and extracting zip files

2006-07-06 Thread Anas Mughal
I had used the uploader class (by David Fox, Dave Tufts) in a previous project. It worked well for me. Hope you could locate it using Google. In any case, Google could locate many upload scripts for you. Good luck! -- Anas Mughal On 7/6/06, Jochem Maas [EMAIL PROTECTED] wrote:

Re: [PHP] uploading and extracting zip files

2006-07-05 Thread nicolas figaro
Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a file:

Re: [PHP] uploading and extracting zip files

2006-07-05 Thread Chris
nicolas figaro wrote: Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a

[PHP] uploading and extracting zip files

2006-07-04 Thread Schalk
Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. Basically the same way as one can upload and install components etc. with

Re: [PHP] uploading and extracting zip files

2006-07-04 Thread Chris
Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a file:

  1   2   3   4   5   >