RE: [PHP] Uploading Files Via PHP

2003-03-27 Thread Jennifer Goodie
Or you could just do it correctly the first time and be done with it. :) -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 10:23 AM To: Jennifer Goodie; Dan Rossi; [EMAIL PROTECTED] Subject: Re: [PHP] Uploading Files Via PHP You could

Re: [PHP] Uploading Files Via PHP

2003-03-27 Thread Philip J. Newman
; Sent: Friday, March 28, 2003 6:17 AM Subject: RE: [PHP] Uploading Files Via PHP > A world writeable directory is a security risk. Why not just fix the > owner/group and only give the permissions needed, 775 at most. > > -Original Message- > From: Dan Rossi [mailto:[EMAIL PRO

RE: [PHP] Uploading Files Via PHP

2003-03-27 Thread Jennifer Goodie
Via PHP did u even read it ? chmod 777 + owned by httpd -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 9:40 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Uploading Files Via PHP On Thursday 27 March 2003 18:25, Marek Kilimajer wrote: >

Re: [PHP] Uploading Files Via PHP

2003-03-27 Thread Marek Kilimajer
read it ? chmod 777 + owned by httpd -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 9:40 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Uploading Files Via PHP On Thursday 27 March 2003 18:25, Marek Kilimajer wrote: not necesserily both, ei

RE: [PHP] Uploading Files Via PHP

2003-03-27 Thread Dan Rossi
did u even read it ? chmod 777 + owned by httpd -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 9:40 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Uploading Files Via PHP On Thursday 27 March 2003 18:25, Marek Kilimajer wrote: > not necesser

Re: [PHP] Uploading Files Via PHP

2003-03-27 Thread Jason Wong
On Thursday 27 March 2003 18:25, Marek Kilimajer wrote: > not necesserily both, either of them is enought: Not quite true :) If owned by 'httpd' then 'httpd' still needs write permission (o+w). > drwxrwxrwt2 root root 188416 Mar 27 11:23 /tmp > or > drwx--2 apache apach

Re: [PHP] Uploading Files Via PHP

2003-03-27 Thread Marek Kilimajer
not necesserily both, either of them is enought: drwxrwxrwt2 root root 188416 Mar 27 11:23 /tmp or drwx--2 apache apache 188416 Mar 27 11:23 /var/www/uploads daniel wrote: possibly a permissions problem , dir needs to be 777 and owned by httpd -- PHP General

RE: [PHP] Uploading Files Via PHP

2003-03-26 Thread daniel
possibly a permissions problem , dir needs to be 777 and owned by httpd >= Original Message From "Jennifer Goodie" <[EMAIL PROTECTED]> = >http://www.php.net/manual/en/features.file-upload.php > >From the page listed above: "Related Configurations Note: See also the >file_uploads, upload_ma

RE: [PHP] Uploading Files Via PHP

2003-03-26 Thread Jennifer Goodie
http://www.php.net/manual/en/features.file-upload.php >From the page listed above: "Related Configurations Note: See also the file_uploads, upload_max_filesize, upload_tmp_dir, and post_max_size directives in php.ini" I would read that manual page as it deals with file uploading support. -Or

Re: [PHP] Uploading Files Via PHP

2003-03-26 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are you getting any errors through PHP? Set error reporting to E_ALL then try. On Wednesday 26 March 2003 04:41 pm, Vernon wrote: > Is there some thing that needs to be turned on in the php.ini in order to > be able to upload photos VIA php? I ha

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Michael Stearne
mageExt; }else { print "$image_name is not a valid file to upload. Please upload JPEG (.jpg) or GIF (.gif) type images only. "; return 0; } } Brian Drexler wrote: > exec( "mv $image '$Destination/$FileName'"); > ?> > > ----- Original Message ----

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Brian Drexler
- Original Message - From: Michael Stearne <[EMAIL PROTECTED]> To: Brian Drexler <[EMAIL PROTECTED]> Cc: Php-General <[EMAIL PROTECTED]> Sent: Sunday, February 18, 2001 1:55 PM Subject: Re: [PHP] Uploading Files via PHP > The script you are using is probably chec

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Michael Stearne
The script you are using is probably checking the MIME type of the file uploaded and rejecting any of the ones that are not one of the types you listed. Look at or post some of the code you are using to find out if this is the case. Michael Brian Drexler wrote: > I've been using a PHP uplo