Welcome Guest, Not a member yet? Register   Sign In
ZIP a specific directory.
#11

[eluser]TheFuzzy0ne[/eluser]
No, like this:
Code:
$path = getcwd() . '/files/mydirectory/';

Using base_url(), you are trying to pass a URL to read_dir(), and as it doesn't understand URLs, it tries to load a file by that name, and of course, can't find one.


Messages In This Thread
ZIP a specific directory. - by El Forum - 11-21-2008, 02:08 PM
ZIP a specific directory. - by El Forum - 02-24-2009, 07:50 PM
ZIP a specific directory. - by El Forum - 02-24-2009, 11:05 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 02:27 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 03:46 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 04:00 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 04:07 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 04:25 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 05:39 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 06:00 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 06:32 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 06:43 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 06:51 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 07:21 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 07:44 PM
ZIP a specific directory. - by El Forum - 03-03-2009, 07:54 PM
ZIP a specific directory. - by El Forum - 03-04-2009, 12:28 PM
ZIP a specific directory. - by El Forum - 03-04-2009, 01:00 PM
ZIP a specific directory. - by El Forum - 03-04-2009, 03:23 PM
ZIP a specific directory. - by El Forum - 03-04-2009, 03:30 PM
ZIP a specific directory. - by El Forum - 03-04-2009, 03:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB