On Fri, Feb 29, 2008 at 3:30 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
>  First, the op should use is_uploaded_file() to check and make sure that it 
> is a
>  file that was infact uploaded.
>         http://us3.php.net/manual/en/function.is-uploaded-file.php
>
>  Secondly, the op should use move_uploaded_file() instead instead of copy.
>         http://us3.php.net/manual/en/function.move-uploaded-file.php
>
>  They were created for a reason

    You're right.  I meant to change those in the psuedocode I sent
back, too, but forgot.

>  >     These fields are hidden.  You can only have one submit button per form,
>  >     and we're only dealing with the image uploads with this question.
>
>  At least in "HTML 4 Specification" you can have more then one submit button.

    Again, you're right.  It should have said, "should only have...."

    Thanks for keeping things in check, Jim.  I'm a bundle of mistakes
this afternoon, and you're my error_reporting(E_ALL);.  ;-P

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

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

Reply via email to