Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default path to files for upload

Status
Not open for further replies.

daybase

Technical User
Joined
Dec 13, 2002
Messages
115
Location
GB
Very very slowly getting to grips with PHP and finally mastered my upload scripts but I would like the input (file selection) form to default to a specific directory to help the computer terrified. Any ideas how I would do this please
 
You are talking about a client side behavior. To the best of my knowledge there is no deterministic way to force the browser to a specific startpoint in the directory tree. You have no way of knowing what OS the browser is on - at least from the PHP point of view. Some client side technology might be able to help you, but that's not a topic the PHP forum can help with.
 
Of course - it's an html thing isn't it. Thanks for that - approaching things from the wrong direction as usual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top