[PHP] File Upload Problem

2011-04-06 Thread tedd
Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't find it. Oddly enough, I can upload image files directly to the

Re: [PHP] File Upload Problem

2011-04-06 Thread Bastien Koert
On Wed, Apr 6, 2011 at 1:10 PM, tedd t...@sperling.com wrote: Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't

Re: [PHP] File Upload Problem

2011-04-06 Thread Daniel Brown
On Wed, Apr 6, 2011 at 13:10, tedd t...@sperling.com wrote: Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't find

Re: [PHP] File Upload Problem

2004-12-20 Thread Richard Lynch
Wayne Donaho wrote: I am trying to run a file upload using PHP as a CGI script and am running into an odd error. The error I am getting is the dreaded Server Error -- Error 500 Premature end of script headers: php.cgi Some more analysis ideas: On the very first line of your script, print

[PHP] File Upload Problem

2004-12-18 Thread Wayne Donaho
I am trying to run a file upload using PHP as a CGI script and am running into an odd error. The error I am getting is the dreaded Server Error -- Error 500 Premature end of script headers: php.cgi Here is the diagnosis I have done. 1. The php.cgi executable deals with scripts correctly when

[PHP] PHP File Upload Problem

2004-11-12 Thread Mike Walsh
I have a problem uploading files with PHP which has me stumped! I am unable to successfully upload files. My simple test script is as follows: ?php if (count($_FILES)) { var_dump($_FILES) ; } if (is_uploaded_file($_FILES['toProcess']['tmp_name'])) { print

[PHP] Re: PHP File Upload Problem

2004-11-12 Thread Mike Walsh
Mike Walsh [EMAIL PROTECTED] wrote in message news:0%ald.9258 [ ... snipped ... ] ; Maximum allowed size for uploaded files. upload_max_filesize = 1G [ ... snipped ... ] It turns out that 1G is not a valid value for this directive. Not sure why I haven't run into this problem previously

[PHP] File Upload Problem

2004-10-20 Thread Nathan Mealey
This file upload problem has me very confused. The code is: $upload_dir = '/articles_store/'; $uploadfile = $upload_dir . basename($_FILES['userfile']['name']); if (move_uploaded_file($_FILES['userfile']['tmp_name'],$uploadfile)) { } else { die (Cannot upload file); } (this code is practically

Re: [PHP] File Upload Problem

2004-10-20 Thread Robby Russell
On Wed, 2004-10-20 at 19:27 -0400, Nathan Mealey wrote: This file upload problem has me very confused. The code is: $upload_dir = '/articles_store/'; $uploadfile = $upload_dir . basename($_FILES['userfile']['name']); if (move_uploaded_file($_FILES['userfile']['tmp_name'],$uploadfile)) {

Re: [PHP] File Upload Problem

2004-10-20 Thread Robby Russell
On Wed, 2004-10-20 at 17:00 -0700, Robby Russell wrote: On Wed, 2004-10-20 at 19:27 -0400, Nathan Mealey wrote: This file upload problem has me very confused. The code is: $upload_dir = '/articles_store/'; $uploadfile = $upload_dir . basename($_FILES['userfile']['name']); if

[PHP] File upload problem

2004-09-04 Thread Dre
I'm trying to upload a file using a form the upload code I'm using is //== ?php // settings $base_img_dir = http://localhost/app_images/;; include(db.php); // generate unique id for use in filename $uniq =uniqid(); $filename =

Re: [PHP] File upload problem

2004-09-04 Thread Jason Wong
On Saturday 04 September 2004 23:36, Dre wrote: I'm trying to upload a file using a form $base_img_dir = http://localhost/app_images/;; The destination directory/file has to be a path on the local filesystem. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software

Re: [PHP] File upload problem

2004-09-04 Thread Dre
thanks Jason .. it worked thanks again Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 04 September 2004 23:36, Dre wrote: I'm trying to upload a file using a form $base_img_dir = http://localhost/app_images/;; The destination directory/file has to be a

[PHP] File upload problem

2004-04-21 Thread William Merrick
Hi, I have two php pages that upload files to a mysql db. I do not know how to change this code to accept more than plain text files. Specifically, I would like to accept .doc and .xls files. Can anyone help? Thanks...Will This is my upload form body h3 Upload a New File/h3 form

RE: [PHP] File upload problem

2003-12-20 Thread Larry Brown
According to the documentation you have to have the maxfilesize tag before the input tag. -Original Message- From: Dino Costantini [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 6:34 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem i'm trying to write a page

Re: [PHP] File upload problem

2003-12-18 Thread Blake Schroeder
This works for me My Form ?php ? form enctype=multipart/form-data action=savefile.php method=POST input type=hidden name=MAX_FILE_SIZE value=10 Send this file: input name=filename type=file input type=submit value=Send File /form savefile.php ?php // In PHP earlier then 4.1.0,

[PHP] [PHP]: File upload problem

2003-12-17 Thread Dino Costantini
sto cercando di scrivere una pagina per l'upload di file, ho copiato dei sorgenti ma non funzionano. queste sono le pagine: -form.html form action=upload.php method=post enctype=multipart/form-data input type=file name=upfile input type=hidden name=MAX_FILE_SIZE value=1 input

[PHP] File upload problem

2003-12-17 Thread Dino Costantini
i'm trying to write a page which allows user to upload file. theese are my sources but they didn't work, anyone could help me? -form.html form action=upload.php method=post enctype=multipart/form-data input type=file name=upfile input type=hidden name=MAX_FILE_SIZE value=1 input

[PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
Hi there, I'm trying to get a file upload to work with PHP. The file I'm attempting to upload is a 742kB pdf file, but this will have to work for files up to 50Mb of all types eventually. The following test pages work fine if the receiving page (testdone) is saved with an html extension, but

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
I've tried a few more things, still with no success. Increasing post_max_size and upload_max_filesize to 100M doesn't fix the problem. Turning error logging on doesn't seem to catch any errors. Is it possible that this is a problem with apache, and if so how should I go about fixing it?

RE: [PHP] File Upload problem

2003-10-20 Thread Jay Blanchard
[snip] I've tried a few more things, still with no success. Increasing post_max_size and upload_max_filesize to 100M doesn't fix the problem. Turning error logging on doesn't seem to catch any errors. Is it possible that this is a problem with apache, and if so how should I go about

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
Hi there, I'm running PHP version 4.2.2 I included all of my code in my origional post. If you would like it reposted, I can do that. I retried it with exactly the same code as the manual has in the file uploads section (cut and paste). I'm merely trying to get the upload to work, I'm not

RE: [PHP] File Upload problem

2003-10-20 Thread Jay Blanchard
[snip] I included all of my code in my origional post. If you would like it reposted, I can do that. I retried it with exactly the same code as the manual has in the file uploads section (cut and paste). I'm merely trying to get the upload to work, I'm not concerned about handling the file

Re: [PHP] File Upload problem

2003-10-20 Thread Grant Rutherford
I found the problem!!! Buried deep within the manual: LimitRequestBody in /etc/httpd/conf.d/php.conf was set too small. Thanks for your time everyone, Grant -- Grant Rutherford Iders Incorporated 600A Clifton Street Winnipeg, MB R3G 2X6 http://www.iders.ca tel: 204-779-5400 ext 36 fax:

[PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hi , I try to upload a file with such an input type = 'file' field. My form looks like: echo form action = '. $_SERVER[PHP_SELF].' method = 'GET' enctype = 'multipart/form-data'\n; ... echo tdinput type = 'file' name = 'newtextupload' accept='text/*'/td\n; ... echo tdinput type = 'submit'

Re: [PHP] file upload problem

2003-08-23 Thread Jim Lucas
when you are uploading files via a form, you must use the POST method. Jim Lucas - Original Message - From: Matthias Wulkow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 11:16 AM Subject: [PHP] file upload problem Hi , I try to upload a file

Re: [PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hallo Jim, am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt: JL when you are uploading files via a form, you must use the POST method. well, I tried the example from http://de.php.net/manual/de/features.file-upload.php#features.file-upload.post-method and that doesn't work

Re: [PHP] file upload problem

2003-08-23 Thread Jim Lucas
- Original Message - From: Matthias Wulkow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Jim Lucas [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 12:27 PM Subject: Re: [PHP] file upload problem Hallo Jim, am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt: JL when

Re: [PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hallo Jim, am Samstag, 23. August 2003 um 21:32 hast Du Folgendes gekritzelt: JL how are you checking to see if the files are getting uploaded? JL Jim Lucas I'm looking in /tmp for new files... but there are none. I'm also looking in the Apache-RootDirectory. No files neither. SvT --

Re: [PHP] file upload problem

2003-08-23 Thread Jim Lucas
the script ends. Jim Lucas - Original Message - From: Matthias Wulkow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Jim Lucas [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 12:43 PM Subject: Re: [PHP] file upload problem Hallo Jim, am Samstag, 23. August 2003 um 21:32 hast Du Folgendes

Re: [PHP] file upload problem

2003-08-23 Thread Matthias Nothhaft
Did you get any error (displayed/logged) ? Test it like that: print_r($_FILES) // with php 4.1 use $HTTP_POST_FILES Now you can find your file at ...['tmp_name'] See also the php manual ;-) Regards, Matthias Matthias Wulkow wrote: Hallo Jim, am Samstag, 23. August 2003 um 21:32 hast Du

[PHP] File upload problem

2003-06-05 Thread Sami Kollanus
I'm using: - Apache 2.0.40 server (linux) - PHP 4.2.2 I use file uploads in my code, but there occured small problems with the server update(from Apache 1.3.??, PHP 4.1.2). is_uploaded_file()- and move_uploaded_file()-functions don't work correctly any more. Or actually the file upload system

[PHP] File upload problem - permission denied

2003-02-27 Thread Frans Bakker
Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload system going through a standard html form. To test it I use an html page called Test2.php with a form in it with enctype=\multipart/form-data\. Here is the source code: ?php $AppImageDir =

RE: [PHP] File upload problem - permission denied

2003-02-27 Thread Niklas Lampén
:[EMAIL PROTECTED] Sent: 27. helmikuuta 2003 15:43 To: [EMAIL PROTECTED] Subject: [PHP] File upload problem - permission denied Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload system going through a standard html form. To test it I use an html

Re: [PHP] File upload problem - permission denied

2003-02-27 Thread Frans Bakker
\; ? :) -Original Message- From: Frans Bakker [mailto:[EMAIL PROTECTED] Sent: 27. helmikuuta 2003 15:43 To: [EMAIL PROTECTED] Subject: [PHP] File upload problem - permission denied Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload

RE: [PHP] File upload problem - permission denied

2003-02-27 Thread Niklas Lampén
To: [EMAIL PROTECTED] Subject: Re: [PHP] File upload problem - permission denied All right then. ¿Where do I set that permission for PHP? On my local Windows machine it is usually in IIS. However the whole ..\inetpub\wwwroot\.. directory already has read and write permissions. Apart from PHP I use Cold

Re: [PHP] File upload problem - permission denied

2003-02-27 Thread 1LT John W. Holmes
- From: Niklas Lampén [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 9:07 AM Subject: RE: [PHP] File upload problem - permission denied On linux you can do it in shell with chmod command. Do 'chmod 766 direcory'. You can find out more about chmod-command

Re: [PHP] File upload problem

2003-02-18 Thread Manuel Ochoa
There may be several reasons why it doesn't work but the first thing I noticed is that action is blank. You need to have this defined. John M [EMAIL PROTECTED] wrote:Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo

RE: [PHP] File upload problem

2003-02-18 Thread Chris McCluskey
]] Sent: Tuesday, February 18, 2003 7:04 AM To: John M; [EMAIL PROTECTED] Subject: Re: [PHP] File upload problem There may be several reasons why it doesn't work but the first thing I noticed is that action is blank. You need to have this defined. John M [EMAIL PROTECTED] wrote:Hello, I have

Re: [PHP] File upload problem

2003-02-10 Thread Gurhan Ozen
On Sun, 2003-02-09 at 19:43, Jason Wong wrote: On Monday 10 February 2003 05:56, Gurhan Ozen wrote: You need to specifye the MAX_FILE_SIZE value as a hidden argument to the form.. See: http://www.php.net/manual/en/features.file-upload.php You don't. If you can show otherwise please

RE: [PHP] File upload problem

2003-02-10 Thread Dennis Cole
, cannot be fooled. -Original Message- From: Gurhan Ozen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:50 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] File upload problem On Sun, 2003-02-09 at 19:43, Jason Wong wrote: On Monday 10 February 2003 05:56

Re: [PHP] File upload problem

2003-02-10 Thread Pag
Which sounds like it has to be there to me? I just checked a working file upload form without MAX_FILE_SIZE field, and it worked.. I guess i misunderstood what was on the tutorials ? Or i wonder if this was a must in the earlier versions of PHP? Anyone? I have an upload feature on my

Re: [PHP] File upload problem

2003-02-09 Thread Gurhan Ozen
Hi, You need to specifye the MAX_FILE_SIZE value as a hidden argument to the form.. See: http://www.php.net/manual/en/features.file-upload.php Gurhan On Mon, 2003-06-30 at 15:05, John M wrote: Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line

Re: [PHP] File upload problem

2003-02-09 Thread David Rice
Hi John: Well actually I believe that you don't have to set MAX_FILE_SIZE...(I don't) but you might want make sure that you are not trying to send a file larger than the post_max_size directives in php.ini and ensure that file_uploads is set to allow http uploads. On Sunday, February 9, 2003,

Re: [PHP] File upload problem

2003-02-09 Thread Jason Wong
On Monday 10 February 2003 05:56, Gurhan Ozen wrote: You need to specifye the MAX_FILE_SIZE value as a hidden argument to the form.. See: http://www.php.net/manual/en/features.file-upload.php You don't. If you can show otherwise please post details to the list. -- Jason Wong - Gremlins

[PHP] File upload problem

2003-02-01 Thread Tomator
I tried but I can't upload any file. My form and code are as following: FORM METHOD=post TABLE TR TDFile:/TDTD INPUT TYPE=file SIZE=50 NAME=userfile/TD /TR TR TDnbsp;/TDTDINPUT TYPE=submit NAME=Submit VALUE=OKINPUT TYPE=submit NAME=Abort VALUE=Abort/TD /TR

Re: [PHP] File upload problem

2003-02-01 Thread David Rice
On Saturday, February 1, 2003, at 10:58 AM, Tomator wrote: I tried but I can't upload any file. My form and code are as following: Try looking at: http://www.php.net/manual/en/features.file-upload.php There is a working example there. -- PHP General Mailing List (http://www.php.net/) To

[PHP] File upload problem

2003-01-21 Thread John M
Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo which can I read. But after choosing a file and press a submit nothing happens. Why is if(isset( $Submit )) always false? Maybe my apache or php config is wrong? I use

RE: [PHP] File upload problem

2003-01-21 Thread Edward Peloke
PROTECTED]] Sent: Monday, June 30, 2003 3:05 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo which can I read. But after choosing a file and press a submit

RE: [PHP] File upload problem

2003-01-21 Thread Matt Schroebel
-Original Message- From: John M [mailto:[EMAIL PROTECTED]] Sent: Monday, June 30, 2003 3:05 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit

[PHP] File Upload problem

2002-11-12 Thread Van Andel, Robert
I am having issues uploading a file. I am trying to up load a file from my computer to the server so taht I can run a mysql query using the load data infile query. here is the code html body ?PHP if (isset($users_file)) { // connect to the database

Re: [PHP] File Upload problem

2002-11-12 Thread Ernest E Vogelsinger
At 00:25 13.11.2002, Van Andel, Robert said: [snip] FORM action=? echo $PHP_SELF; ? method=post encType=multipart/form-dataINPUT type=hidden value=2 name=MAX_FILE_SIZE INPUT type=file name=users_fileBRINPUT type=submit value=Upload! /FORM?PHP } ?

RE: [PHP] File Upload problem

2002-11-12 Thread Van Andel, Robert
Vogelsinger [mailto:ernest;vogelsinger.at] Sent: Tuesday, November 12, 2002 3:46 PM To: Van Andel, Robert Cc: [EMAIL PROTECTED] Subject: Re: [PHP] File Upload problem At 00:25 13.11.2002, Van Andel, Robert said: [snip] FORM action=? echo $PHP_SELF; ? method

RE: [PHP] File Upload problem

2002-11-12 Thread Van Andel, Robert
: [EMAIL PROTECTED] Subject: RE: [PHP] File Upload problem It was a typo. Sorry. -Original Message- From: Ernest E Vogelsinger [mailto:ernest;vogelsinger.at] Sent: Tuesday, November 12, 2002 3:46 PM To: Van Andel, Robert Cc: [EMAIL PROTECTED] Subject: Re: [PHP] File Upload problem At 00:25

Re: [PHP] File upload problem...

2002-10-29 Thread Marek Kilimajer
Try print_r($_FILES) and see if you really get what you should. And also check if you have your form set as form enctype=multipart/form-data action= url method=POST David Russell wrote: Hi all, I have a form with a file upload section. The target script contains the following: if

[PHP] File Upload Problem

2002-10-29 Thread David Freeman
Hi All I'll start by saying that I've checked the online manual (and comments) as well as having done a Google search on this with no success. My problem is that files uploaded through a form are increasing in size. For example, I upload an image that is 7658 bytes and the uploaded version is

[PHP] file upload problem

2002-09-05 Thread Ram K
Hey I have a prob with my php file upload. i am using windows my html file looks like HTML HEAD/HEAD BODY FORM ACTION=upload1.php3 METHOD=post ENCTYPE=multipart/form-data Upload the datafile here INPUT TYPE=file NAME=file brbr INPUT TYPE=submit NAME=Submit VALUE=Submit Form /FORM /BODY

RE: [PHP] file upload problem

2002-05-19 Thread Rodney Davis
PROTECTED]] Sent: Saturday, May 18, 2002 7:31 PM To: Rodney Davis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] file upload problem On Sat, 18 May 2002, Rodney Davis wrote: I am trying to use the move_uploaded_file() function to upload files to a specific directory. It works fine with small .jpgs .txt

[PHP] file upload problem

2002-05-18 Thread Rodney Davis
I am trying to use the move_uploaded_file() function to upload files to a specific directory. It works fine with small .jpgs .txt etc etc but won't work with a large .mp3 file. Is this because it is too large? What can I do? Thanks -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] file upload problem

2002-05-18 Thread Miguel Cruz
On Sat, 18 May 2002, Rodney Davis wrote: I am trying to use the move_uploaded_file() function to upload files to a specific directory. It works fine with small .jpgs .txt etc etc but won't work with a large .mp3 file. Is this because it is too large? What can I do? You can tell us what

RE: [PHP] File upload problem

2002-05-07 Thread David Freeman
-Original Message- I'm curious, I keep seeing people say that that tag is /necessary/, but I've never had to use it in the upload forms that I've built and they work just fine in Opera, NN IE. Good question. To be honest it's been a while since I looked, I built a file

Re: [PHP] File upload problem

2002-05-07 Thread Miguel Cruz
On Tue, 7 May 2002, Jason Wong wrote: INPUT TYPE=hidden name=MAX_FILE_SIZE value=2048000 You actually _need_ that hidden tag set AFAIK. I'm curious, I keep seeing people say that that tag is /necessary/, but I've never had to use it in the upload forms that I've built and they work just

Re: [PHP] File upload problem

2002-05-07 Thread Jason Wong
On Tuesday 07 May 2002 15:22, Miguel Cruz wrote: On Tue, 7 May 2002, Jason Wong wrote: INPUT TYPE=hidden name=MAX_FILE_SIZE value=2048000 You actually _need_ that hidden tag set AFAIK. I'm curious, I keep seeing people say that that tag is /necessary/, but I've never had to use it in

Re: [PHP] File upload problem

2002-05-07 Thread Jason Wong
On Tuesday 07 May 2002 14:14, David Freeman wrote: I guess that anything that causes this sort of thing to happen on the browser is going to help. I know I'd be fairly unimpressed if I sat waiting for a 2MB file to upload only to find that the limit is 1.5MB or some such. At least if a

RE: [PHP] File upload problem

2002-05-07 Thread David Freeman
-Original Message- Hmm, after a bit of testing I find that the MAX_FILE_SIZE tag is useless to say the least (probably because no browsers support it?) That's somewhat of a shame I guess but I can hardly claim to be surprised - especially as I've just spent much of my time in the

Re: [PHP] File upload problem

2002-05-07 Thread Linn Kubler
I put the max file size tag into my code but that didn't help either. What looks like is happening is that the php file can't be found. I'm using phpscriptcenter's upload.php program and it is all in one script, if you know what I mean. What I'm seeing now is that, depending on the size of the

Re: [PHP] File upload problem

2002-05-07 Thread Jason Wong
On Tuesday 07 May 2002 19:09, David Freeman wrote: -Original Message- Hmm, after a bit of testing I find that the MAX_FILE_SIZE tag is useless to say the least (probably because no browsers support it?) That's somewhat of a shame I guess but I can hardly claim to be

Re: [PHP] File upload problem

2002-05-07 Thread Jason Soza
Wong [EMAIL PROTECTED] Date: Tuesday, May 7, 2002 8:49 am Subject: Re: [PHP] File upload problem On Tuesday 07 May 2002 19:09, David Freeman wrote: -Original Message- Hmm, after a bit of testing I find that the MAX_FILE_SIZE tag is useless to say the least (probably because

[PHP] File upload problem

2002-05-06 Thread Linn Kubler
Hi All, I have a script that uploads files via my browser. Works fine under RedHat 7.0 but on a RH 7.2 server it crashes on files over at least 10MB. Files under 3MB work fine. Any suggestions? I've looked around for a php config file that might specify the max file size but so far have

Re: [PHP] File upload problem

2002-05-06 Thread Linn Kubler
Leveque Lavinia TC Passatge Permanyer, 12 08009 Barcelona Tel: 93 272 34 10 [EMAIL PROTECTED] - Original Message - From: Linn Kubler To: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 5:29 PM Subject: [PHP] File upload problem Hi All, I have a script that uploads files via my

RE: [PHP] File upload problem

2002-05-06 Thread David Freeman
-Original Message- D'oh! You're right, I went back and checked php.ini and found upload_max_filesize but it's already set to 200M, I'm assuming that means 200 MegaBytes. So I don't think that's the problem. I don't have the hidden tag set in the page code so that

Re: [PHP] File upload problem

2002-05-06 Thread Jason Wong
On Tuesday 07 May 2002 09:01, David Freeman wrote: -Original Message- D'oh! You're right, I went back and checked php.ini and found upload_max_filesize but it's already set to 200M, I'm assuming that means 200 MegaBytes. So I don't think that's the problem. I don't have

[PHP] file upload problem (files 7.5mb)

2002-03-04 Thread stefan
i wrote a php uploadscript and it works fine till the file is not larger then 75mb is set the max upload file size in the upladfrom as well as in phpini to 100mb but it still doesn't work! system is linux red hat and php 406 (with mysql) is there anyone who had the samestefa problem and knows a

[PHP] file upload problem - Warning: Max file size of 8 bytes exceeded

2001-12-14 Thread Lee Philip Reilly
Hi, I have an HTML form containing a file upload form object called 'file'. When I submit the form (either holiding a path to a 1kb file or a 7MB file) I get the following error: - Warning: Max file size of 8 bytes exceeded - file [file] not saved in Unknown on line 0 - I had hoped

[PHP] file upload problem

2001-10-18 Thread Brian Aitken
Hiya I promise I won't keep perstering you after this question :-) My problem is this - I've got a complete system that works perfectly on Linux but I've got to set it up on a new server that's running Windows. When I try to handle file uploads I get errors (when the same code worked perfectly

Re: [PHP] file upload problem

2001-10-18 Thread SafeV
I've run into the same problem, I had to 'chmod 777 images' to be able to create dirs or files, which is BAD security! Brian Aitken wrote: Hiya I promise I won't keep perstering you after this question :-) My problem is this - I've got a complete system that works perfectly on Linux

[PHP] File Upload Problem

2001-09-03 Thread Tim Grubb
I have a problem uploading files that just started the other day. I have been using the same script for 8 mos. Site is hosted at a hosting facility. Anyone outside of our company router can still upload fine. From our office noone can upload. Only 8097 bytes get sent. Regular access to the web

RE: [PHP] File Upload Problem

2001-09-03 Thread Johan Vikerskog (ECS)
To: [EMAIL PROTECTED] Subject: [PHP] File Upload Problem I have a problem uploading files that just started the other day. I have been using the same script for 8 mos. Site is hosted at a hosting facility. Anyone outside of our company router can still upload fine. From our office noone can upload

Re: [PHP] File Upload Problem Solving?

2001-09-01 Thread Marc Davenport
On Fri, 31 Aug 2001, Jeff Oien wrote: I have a user who is unable to upload files but I don't know where to start with the troubleshooting process. I have this: @copy($img1, /blah/$username/$img1_name) or die(File upload didn't work.); and they are getting the die message. All

[PHP] File Upload Problem Solving?

2001-08-31 Thread Jeff Oien
I have a user who is unable to upload files but I don't know where to start with the troubleshooting process. I have this: @copy($img1, /blah/$username/$img1_name) or die(File upload didn't work.); and they are getting the die message. All but one person are able to upload. Jeff Oien

RE: [PHP] File Upload Problem Solving?

2001-08-31 Thread Jeff Oien
I found the problem. A user was logged in under their username with a different case (capital/small letters) and that caused a problem. Jeff Oien I have a user who is unable to upload files but I don't know where to start with the troubleshooting process. I have this: @copy($img1,

[PHP] File upload problem

2001-08-23 Thread A.D. Vijverberg
Hello there, I am trying to create a form for uploading files to the local intranet. Therefore I created a form for uploading files as mentioned in the PHP manual. After submitting the form I want to copy the file to the intranet with as name the original name on the system of the client. The

[PHP] file upload problem - urgent help needed

2001-07-31 Thread Steve Brett
i know this has been posted before but i still haven't figured it out. the bloke who runs the server for a 'client' of mine has set safe mode on and therefore the standard file upload scripts fail. i needed to create a 'dump' of the database in text files whihc i've done by creating a dir

Re: [PHP] File upload problem on IIS/NT4

2001-02-20 Thread Phil Driscoll
Make sure that upload_tmp_dir in your php.ini file is set to something sensible for a windows machine. I have it set to f:\php\temp (and you also need to make sure that the directory specified actually exists). Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112

[PHP] File upload problem on IIS/NT4

2001-02-19 Thread Josh G
Hi guys, I'm having a problem with file uploads, and I can't seem to fix it. I'm on IIS using php as an ISAPI module on NT4, and file uploads seem to work, but $userfile does not exist. Any ideas on how I can fix it? userfile:\\php8 userfile_name:notes.txt Cheers, Gfunk -

Re: [PHP] File upload problem on IIS/NT4

2001-02-19 Thread John Vanderbeck
- Original Message - From: Josh G [EMAIL PROTECTED] To: PHP User Group [EMAIL PROTECTED] Sent: Monday, February 19, 2001 6:58 PM Subject: [PHP] File upload problem on IIS/NT4 Hi guys, I'm having a problem with file uploads, and I can't seem to fix it. I'm on IIS using php as an ISAPI module on NT4

[PHP] File upload problem

2001-01-29 Thread Hugo Trovao Mota
Hi! I've recently upgraded my system to Redhat 7, running Apache 1.3.14, PHP 4.0.4pl1 and mod_perl 1.24. Since that, some of my PHP scripts just stopped working (they worked just fine before). When I use file upload, all the uploaded files get a "free bonus" 'Content-Type' header that makes