Hi,

the files themselves are available in the $_FILES array, but it's not as
simple as that.

may i recommend you start by copying the Examples 18-1 and 18-2 from this
page:
http://www.php.net/manual/en/features.file-upload.php

Once you've got THAT code working smoothly and understand what's happening,
THEN start modifying it to a 3-file form.

I'd personally push forms through using POST method rather than get whenever
possible -- especially when dealing with files... the manual does it this
way too :)


Justin



on 12/01/03 12:18 PM, Kyle Babich ([EMAIL PROTECTED]) wrote:

> I just broke skin with php and I'm learning forms, which I'm not good
> with at all.  These are snippets from post.html:
> 
> <form method="get" action="process.php" enctype="multipart/form-data">
> and
> <input type="file" name="image1" maxlength="750" allow="images/*"><br>
> <input type="file" name="image2" maxlength="750" allow="images/*"><br>
> <input type="file" name="image3" maxlength="750" allow="images/*"><br>
> 
> but how would I pass the actual image on because when I do something like
> this:
> <?php echo "{$_GET[image1]}";
> ?>
> as you could probably guess only the filename prints.
> 
> So how do I take the image instead of just the filename?
> 
> Thank you,
> --
> Kyle


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to