A user upload file from server A(testing server) to server B(life server).The upload scripts PHP,is it possible to use javascript to directly point to one directory i mean to the folder where the file is and strict the user from browsing other folder ?
If is possible...please give me some hints on how to do it..
Javascript can see the current web page that it is attached to, any other web pages from the same domain in other frames in the same window of the browser, a few read only fields that the browser provides access to and any cookies set by the current domain. It has no access whatever to anything else other than to pass information to a server side script via Ajax. Any information that Javascript gets access to via Ajax must be provided by the server side script.
Bookmarks