I think the PHP image functions aren't what this guy needs...

First thing : File Uploads
You have to make a form, including an <input type="file" name="yourfile">
tag, which refers to a php script like...

       echo "$yourfile_name was uploaded succesfully";
    else echo "ERROR - UPLOAD ABORTED";

$yourfile_size includes the size of the file in bytes, use an if-statement
to check if the picture-size fits your needs...
$yourfile_type includes... guess what... the file type..
this should solve the upload problem...

To control the size of an image is a matter of your HTML... do something
<img src="yourimage" width="40px" height="40px">. Its even possible to
insert height and width-values in percent...

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to