Twokinds ARCHIVE Forums

This forum is for the preservation of old threads from before the forum pruning.
It is currently Wed May 14, 2025 2:12 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Getting the entire filepath with HTML
PostPosted: Tue Oct 04, 2005 10:33 am 
Offline
Templar Inner Circle
User avatar

Joined: Wed Mar 09, 2005 1:55 am
Posts: 2885
Location: Somewhere in my pants.
Does anyone here know how to get the entire filepath when using the 'file' input tag in HTML? I'm trying to write a script to do it, but I can't because the 'file' input only returns the filename, not the path.

SIde Note: Woo! The first tech question! XDDD


Top
 Profile  
 
 Post subject: Re: Getting the entire filepath with HTML
PostPosted: Tue Oct 04, 2005 4:21 pm 
Offline
Master
User avatar

Joined: Sun Aug 28, 2005 12:42 am
Posts: 271
Do you mean javascript in an HTML document? (where the tag is <script></script>) Or using the input command. And I guess it would help a little if you shown your script if that isn't a struggle.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 04, 2005 10:19 pm 
Offline
Templar Inner Circle
User avatar

Joined: Wed Mar 09, 2005 1:55 am
Posts: 2885
Location: Somewhere in my pants.
The script I'm doing is a comic upload script, and the file input that I'm referring to is this:
Code:
<input type="file" name="name" />
Much like used on, say, imageshack for browsing for a file. And I need to get it with either HTML or PHP.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group