Jezza Posted September 2, 2009 Share Posted September 2, 2009 $d = dir("smb://gc1/srcds/orangebox/garrysmod/addons"); i'm hosting my appache php thingo on ubuntu linux, i'm trying to grab a directory over a network, i used smb:// but i'm not sure if that's right, GC1 is the computer name i'm connecting to. it sais Warning: dir() [function.dir]: Unable to find the wrapper "smb" - did you forget to enable it when you configured PHP? in /home/jeremy/Desktop/site/ECG/garrysmod/index.php on line 4 how can i grab a file over a network with ubuntu linux? Link to comment https://forums.phpfreaks.com/topic/172796-dir-ubuntu-network-thing/ Share on other sites More sharing options...
trq Posted September 2, 2009 Share Posted September 2, 2009 You need to mount the directory somewhere first. Link to comment https://forums.phpfreaks.com/topic/172796-dir-ubuntu-network-thing/#findComment-910756 Share on other sites More sharing options...
Jezza Posted September 2, 2009 Author Share Posted September 2, 2009 well it is mounted, are you fimilliar with ubuntu? (i'm not) Link to comment https://forums.phpfreaks.com/topic/172796-dir-ubuntu-network-thing/#findComment-910765 Share on other sites More sharing options...
trq Posted September 2, 2009 Share Posted September 2, 2009 I'm familiar with Linux. If its mounted, then there is no need to do anything special. Just point dir at the directory in question. Link to comment https://forums.phpfreaks.com/topic/172796-dir-ubuntu-network-thing/#findComment-910768 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.