Initial value of file form field

Discussion in 'PHP' started by herando, Jun 15, 2006.

  1. #1
    How to set initial value of file form field. If I set <input type="file" name="file" value="something" /> , the value doesn't appear on screen.
     
    herando, Jun 15, 2006 IP
  2. DXL

    DXL Peon

    Messages:
    380
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Most browsers do not support such a feature, but I believe Opera does and it's implemented in the way you describe.
     
    DXL, Jun 15, 2006 IP
  3. goldensea80

    goldensea80 Well-Known Member

    Messages:
    422
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    128
    #3
    In fact, I've never though of initialize for file input. How can you know what file users have in their computers?
     
    goldensea80, Jun 16, 2006 IP