Jump to content

sparkwatson

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.ideacog.net

Profile Information

  • Gender
    Not Telling

sparkwatson's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi - I think you might want to take a look at $_FILES [a href=\"http://us3.php.net/manual/en/features.file-upload.php\" target=\"_blank\"]http://us3.php.net/manual/en/features.file-upload.php[/a] It's similar to the $_POST array, but exclusively for post-file handling. Also - I assume you have your form set to enctype="multipart/form-data" Also, I think the new preferred way to handle this is the php function: move_uploaded_file($_FILES['userfile']['tmp_name'], $image_directory) (rather than copy()) Where $image_directory is the directory you're moving it to and 'userfile' in your case I believe would be addimage Cheers b
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.