Hi,
I copy the file from local to server using "Copy" function.
see
Copy($localfile ,"Document/01/$file)
The number 01 is incresing dynamically according to number of files in a folder. If folder "01" have 9 files than new local files is copied in to directory 10. The directory 10 is created while use the copy function
Copy($localfile ,"Document/01/$file")
What my problem is this work in my system and not work in another system. Both system have "xampp" installed and we are in admin login. What is the Problem?.
I have rectified tis problem using mkdir... If there is no directory (ie 10) then it creates and after copy action is follow up
If this cause of permission problem then how mkdir is working?....
I copy the file from local to server using "Copy" function.
see
Copy($localfile ,"Document/01/$file)
The number 01 is incresing dynamically according to number of files in a folder. If folder "01" have 9 files than new local files is copied in to directory 10. The directory 10 is created while use the copy function
Copy($localfile ,"Document/01/$file")
What my problem is this work in my system and not work in another system. Both system have "xampp" installed and we are in admin login. What is the Problem?.
I have rectified tis problem using mkdir... If there is no directory (ie 10) then it creates and after copy action is follow up
If this cause of permission problem then how mkdir is working?....
Comment