Re: how to store the path of uploading file....



ish wrote:
hello everybody......
plz help me out...

how we can store the acual path of uploading file.i want to store the
path of file in my database...bt i m not getting anyway to implement
that......if i try to do it with the name="filename"......i mean if
echo filename it only print or gives the filename only...it does nt
give path along the name....
plzzzzz guys tell me a way to store the path....i need it for my
project........waiting 4 ur replies....

You can't. HTTP upload doesn't send the path of the file. Doing such could be considered a huge security hole.

But it should be immaterial to you, anyway. You can't go back to the user's system and fetch it again, for instance.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs
    ... And for example store the file in a user specific file. ... Then the user, via a web interface, select the file it has uploaded ... Along with uploading the file I also have to pass other information to update the database to associate that file with some user etc. ... So you are saying I cannot do it using php. ...
    (php.general)
  • how to store the path of uploading file....
    ... how we can store the acual path of uploading file.i want to store the ... echo filename it only print or gives the filename only...it does nt ...
    (comp.lang.php)
  • Re: how to call IFilters in ASP.NET
    ... Actually we are uploading different kinds of doc and we need to store ... its text also in the database for search purposes, ...
    (microsoft.public.sqlserver.fulltext)
  • Convert column of 4-5 digit whole numbers to 6?
    ... but I would like to have the cell display and store them as 6 digit numbers ... with a leading zero or two. ... I am uploading these numbers to an application ...
    (microsoft.public.excel.misc)
  • Re: how to store the path of uploading file....
    ... how we can store the acual path of uploading file.i want to store the ... echo filename it only print or gives the filename only...it does nt ...
    (comp.lang.php)