auto php upload

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
poyor7
Forum Newbie
Posts: 6
Joined: Tue May 23, 2006 8:38 pm

auto php upload

Post 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
Zythan
Forum Newbie
Posts: 16
Joined: Wed Apr 12, 2006 3:13 am

Post 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
poyor7
Forum Newbie
Posts: 6
Joined: Tue May 23, 2006 8:38 pm

Post 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
Post Reply