Page 1 of 1

auto php upload

Posted: Thu Jul 06, 2006 4:59 am
by poyor7
Hi,

Emmm i wanna know whether possible to do this :

Senario A:

I've a form actually .csv, when a user finished filling out the form,after that when user click save button auto upload the file .csv file from server A where original .csv file(testing server) to server B (life server).

Senario B:

Same concept but when user click save button,the save button disable and button upload will appear but cannot browser and it is possible to put value in input type="file"??? The reason don;t want user to have capability to browse server A(testing server).

PS:Please dont ask why such things to do like this....

Rgds
Poyor7

Posted: Thu Jul 06, 2006 6:53 am
by Zythan
Hello,

Can you tell me what is the physical relationship between the two servers. ie are they in the same config ? same domain ? same subdomain ? etc.

TIA

Zythan

Posted: Thu Jul 06, 2006 8:52 pm
by poyor7
Hi...

Actually the testing server is in my side and running under unix server and life server is in customer side where running under NT.
Big problem happen regarding the file permission....i already ask the admin from life server to change the permission but still i've problem permission in .csv file where customer couldnt update the .csv file, so alternatively i want to give customer access to my testing server where there can update the file and uploaded it to life server and of-course i dont want customer to use FTP.....so any ideas????

Thanks
Poyor7