Results 1 to 6 of 6

Thread: ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Apr:2005
    Location:
    Posts: 238

    ?

    php 1 . . .
    ..... . . . . 3. (1) (2) ........ (3). .

    $target_path = "uploads/";
    $target_path = $target_path . basename( $_FILES['uploadedfile1'] ['name']);
    if(move_uploaded_file($_FILES['uploadedfile1']['tmp_name'], $target_path)) {
    echo "The file ". basename( $_FILES['uploadedfile1']['name']).
    " 2 ";
    } else{
    echo " 1!";

    }

  2. #2
    Registered User fly's Avatar
    Join Date: Jun:2005
    Location:
    Posts: 803

  3. #3
    Registered User
    Join Date: Apr:2005
    Location:
    Posts: 238
    . . , .
    Last edited by Executor`; 27th July 2008 at 17:17.

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    move_uploaded_file(), , , , , .. , , .

  5. #5
    Registered User
    Join Date: Apr:2005
    Location:
    Posts: 238
    . . basename , , .......

  6. #6
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    PHP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |