Is it possible to save local system file path in php session

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • minn
    New Member
    • Nov 2009
    • 2

    #1

    Is it possible to save local system file path in php session

    Hi,

    Is it possible to save local system file path in php session;

    I explain that i want to achieve: A user selects image files from his computer in "A" web page [save image file path in session], when a user goes to "B" page, fills a contact form there, clicks Submit and all files he selected in "A" page is uploading to server.

    Minn
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Nope. When a user sends binary data to your server via the <file> HTML element, you do not have access to the path under which the data resided - you only have the data.

    Furthermore, you do not have the privilege to manipulate the path inside the <file> HTML element - think of the security risks that would impose?

    Comment

    • minn
      New Member
      • Nov 2009
      • 2

      #3
      Markus, thanks for answer..

      Comment

      Working...