PDA

View Full Version : Can JS do this



poyor7
07-07-2006, 01:53 AM
Hi...

I would like to know if JS can do this :

Scenario A:

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..

Thanks
poyor7

tim.thelion
07-07-2006, 06:21 PM
did you mean to type

Hi...

I would like to know if JS can do this :

Scenario:

A user uploads a file from server A(testing server) to server B(life server). The upload script is writen in PHP. Can I use javascript to directly point to one directory, I mean to the folder where the file is and restrict the user from browsing other folder ?

If this is possible...please give me some hints on how to do it..

Thanks
poyor7
?

I still don't understand what you are trying to say. Even with my gueswork. Can you clearify?

Twey
07-07-2006, 07:14 PM
I still don't understand what you are trying to say. Even with my gueswork. Can you clearify?Rofl :D

poyor7: If English is your native language, you should be ashamed of yourself :) If not, can you please try to rephrase the question?