Welcome Guest, Not a member yet? Register   Sign In
mkdir issue
#1

[eluser]Unknown[/eluser]
Hi.

This is my first post on this forum. I'm pretty sure I cant find a solution to my problem anywhere else and I've love and help people can give me.

I'm trying to create a new directory.

I want it to be in the uploads/events folder.

I'm using.

Code:
// $id is set and is just numbers.
mkdir(base_url().'uploads/events/'.$id, 0777);

I'm not getting any errors but I'm also not getting my new folder.

It works if I run it from the C drive.

Code:
mkdir('C:\wamp\www\Lions\uploads\events/17', 0777);

but I want it to work with base_url() or APPPATH or something dynamic.

Thanks for any tips!


Messages In This Thread
mkdir issue - by El Forum - 03-23-2010, 11:33 AM
mkdir issue - by El Forum - 03-23-2010, 12:05 PM
mkdir issue - by El Forum - 03-23-2010, 01:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB