[PHP] File Upload Question...

2001-12-25 Thread Anthony Ritter
Merry Christmas everybody. I am using MS Windows 98 with Apache and following an example in Julie Meloni's "PHP - Fast and Easy" (Chapter 10) in which she describes file uploading using PHP on page 168-174. She has two files: 1) an html form to receive the input from the user for the file to be

[PHP] file upload question

2001-04-04 Thread Joe Stump
I'm in the habit of putting all my form variables into an array (ie: ) so that I have a nice little package to pass to functions. My question is can you put files into those as well? If so how does it handle the $file_name and $file_size variables PHP creates? --Joe /**

Re: [PHP] file upload question

2001-04-05 Thread Renze Munnik
Joe Stump wrote: > > I'm in the habit of putting all my form variables into an array (ie: > ) so > that I have a nice little package to pass to functions. My question is can you > put files into those as well? If so how does it handle the $file_name and > $file_size variables PHP creates? > > --

Re: [PHP] file upload question

2001-04-05 Thread Yasuo Ohgaki
Yes. Refer to PHP Manual. There is description for that. -- Yasuo Ohgaki "Joe Stump" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm in the habit of putting all my form variables into an array (ie: > ) so > that I have a nice little package to pass to fun

[PHP] File Upload Question - Previewing .jpgs

2002-01-03 Thread Anthony Ritter
To all, The following is a file upload question using PHP. I am able to upload a file to my server with the following script. (see below) It's in two parts - the first is a html form and the second is the php script which takes the variable $img1_name. However, I'd like to check if, in fact, t

Re: [PHP] File Upload Question - Previewing .jpgs

2002-01-03 Thread Bogdan Stancescu
That's a browser/image type issue. If you're trying it with a JPEG image (as the message title suggests) then it's a browser issue -- your browser doesn't handle JPEG files due to local settings, and starts up the paint program instead. If you're trying with some other image type (such as TIFF for