By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,002 Members | 2,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,002 IT Pros & Developers. It's quick & easy.

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

P: 2
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
Nov 30 '09 #1
Share this Question
Share on Google+
2 Replies


Markus
Expert 5K+
P: 6,050
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?
Nov 30 '09 #2

P: 2
Markus, thanks for answer..
Dec 1 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.