SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard
    Join Date
    Mar 2004
    Posts
    1,647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    $_FILES array and windows xp

    hi...
    it seems that i cant get the name of the file that i want to upload and i cant output the filename by echoing the post input file....
    example
    PHP Code:
    $uploadfile $uploaddir.$_FILES["userfile"]["name"];
    if(
    move_upload_file($_FILES["userfile"]["tmp_name"], $uploadfile)) print("ok"); 
    i canrt see the file name when i output the $_FILES["userfile"]["name"] and it wont upload to the specified directory which is
    $uploaddir = "D:\\bla\\bla\\";
    all that happens on windpows xp..
    any suggestion appreciated..
    thanx in advance

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2004
    Posts
    1,647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any help???


Bookmarks

Posting Permissions

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