Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $hosts = array('172.10.1.1', '172.10.1.2');
- $m = new File_Mogile($hosts, 'profiles');
- $m->storeFile('user1234', 'image', '/tmp/image1234.jpg');
- ...
- $paths = $m->getPaths('user1234');
Add Comment
Please, Sign In to add comment