Userfile

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

border20
New php-forum User
New php-forum User
Posts: 32
Joined: Tue Jan 28, 2003 10:19 am
Location: Québec
Contact:

Userfile

Postby border20 » Wed Feb 12, 2003 12:15 pm

With a userfile like this one:

<input name="userfile" type="file" /><br />

What do I have to do to make it that the "browse" bialog box always starts in the directory where the php file is located ? And how do i make it so the file is the relative path instead of the full path ?

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Postby Joan Garnet » Wed Feb 12, 2003 2:49 pm

I don't think you have this options with the file browser...
:?

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Wed Feb 12, 2003 5:56 pm

the browse button is in relation to the clients computer which you have no control over.


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests

cron