It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

Creating A File

Moderator: Malcolm

Creating A File

Postby instinct46 on Wed Jun 27, 2007 11:01 am

Another problem i seem to have is creating a folder, here are my problems.

mkdir( $nucount, 0700);

I placed this in my code which should create a folder with the varible as the title of the folder, yet it doesnt. Also what does the 0700 because i dont have a clue and have seen people place different numbers infront, tell me if im wrong but is like the linux chmod command read, write, excute??
User avatar
instinct46
50+ Club
 
Posts: 90
Joined: Tue Mar 27, 2007 1:07 pm
Location: St Helens, England

Postby litebulb1 on Thu Sep 27, 2007 11:22 pm

the 0700 is to specify what access it gets. when ever I use mkdir I dont specify the access.

try mkdir( $nucount);

More Info
litebulb1
 
Posts: 21
Joined: Thu Sep 27, 2007 11:10 pm


Who is online

Users browsing this forum: No registered users and 0 guests