how to set path in window hosting for uploading a file

Discussion in 'PHP' started by dineshsingh1984, Jan 21, 2011.

  1. #1
    how to set path in window hosting for uploading a file

    
    (move_uploaded_file($_FILES['fileone']['tmp_name'],"../upload/". $image_name))
    
    PHP:
    this is correct or not
    what the correct path
    my site hosted with window platform

    so plz help me............
     
    dineshsingh1984, Jan 21, 2011 IP
  2. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #2
    You mean the ../upload/ folder is not correct? If so, change it.
     
    Alex Roxon, Jan 21, 2011 IP
  3. dineshsingh1984

    dineshsingh1984 Active Member

    Messages:
    154
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    this path is not correct i think this type "/" use in linux hosting and I think this type "\" use in window hosting I'm not sure plz explain what the path use for window hosting

    "../upload/"

    how many dot use in this statement plz provide an example to me for uploading a file in window hosing
     
    dineshsingh1984, Jan 21, 2011 IP