
PHP操作MACOS剪切板。当然这不可能是B/S模式那种,操作客户端代理(浏览器所在系统)的剪切板。B/S结构我们只能使用JAVASCRIPT或FLASH去操作,对于PHP来讲只能操作服务端。 这里将讲的是通过调用系统MACOS下的pbcopy、pbpaste实现操作剪切板。 pbcopytakesthestandardinputandplacesitinthespecifiedpasteboard.Ifnopasteboardisspecified,thegeneralpasteboardwillbeusedbydefault.Thei...