| | |
Copying contents of a server folder to another server folder
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Hi there
I'd like to know if this is at all possible...I'm sure it is but I haven't been able to find a single function that would do this in php.net's manual. The only function I've found is the copy() function but that only copies a single file or folder. I thought of maybe reading the contents of the folder with a php function and then using the data to move each file individually but I'm not able to find a function that reads contents of a folder.
I'd like to know if this is at all possible...I'm sure it is but I haven't been able to find a single function that would do this in php.net's manual. The only function I've found is the copy() function but that only copies a single file or folder. I thought of maybe reading the contents of the folder with a php function and then using the data to move each file individually but I'm not able to find a function that reads contents of a folder.
This user has a spatula. We don't know why, but we are afraid.
![]() |
Other Threads in the PHP Forum
- Previous Thread: Shopping cart problem
- Next Thread: jsp and php
| Thread Tools | Search this Thread |
.htaccess ajax apache api array beginner binary body broken cakephp checkbox class cms code cron curl database date date/time directory display download dynamic echo email error file files folder form forms function functions global google href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail menu mlm mod_rewrite msqli_multi_query multiple mycodeisbad mysql oop parameter paypal pdf php problem query radio random recourse recursion regex registrationform remote script search seo server sessions sms soap source space sql static syntax system table tutorial update upload url validation validator variable video web webdesign wordpress xml youtube





) scandir() function. 