On Wed, November 1, 2006 12:50 pm, Sugrue, Sean wrote: > I'm trying retrieve a directory name and a filename with a form. I > want > to use input type file so the user can browse for the file but keep > the > whole directory name. I don't think you *can* get a directory name out of standard HTML inputs. This is a big-time security/privacy issue -- It's none of your damn business where I keep my files in my hard drive, thank you very much. :-) There may be some kind of badly-broken insecure ActiveX thingie to let you do that... The browser/OS already is configurable by the user to re-use their last directory, or always start in "My Documents" (ugh!) or whatever directory any other app. happened to use or whatever is suitable for that OS. Don't try to dink with that. It's not within your pervue. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php