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
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
/**
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?
>
> --
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
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
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
6 matches
Mail list logo