Simple Form Processing
| From: | Kyle Babich | Date: | Sun, 12 Jan 2003 01:18:52 +0000 |
| Subject: | Simple Form Processing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131287@lists.php.net to get a copy of this message | ||
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