Skip to content

Instantly share code, notes, and snippets.

@suin
Created December 16, 2011 01:03
Show Gist options
  • Save suin/1483895 to your computer and use it in GitHub Desktop.
Save suin/1483895 to your computer and use it in GitHub Desktop.
Safe Modeなどの諸事情によりmkdir()できないときはFTPで ref: http://qiita.com/items/1384
<?php
mkdir('ftp://user:pass@localhost/path/to/dir');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment