Private Label and Cobranded VoIP Solutions
BrainCast internet & phone based message/memo recording & reminder organization system
Internet Phone Service and Broadband Phone Service by ViaTalk

Go Back   VoIP Forums, Internet Phone Service Forums, & Web Hosting Forums > CoderForums - Programming Discussion > General Programming Issues > Programming Languages & Technologies > PHP

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-16-2002, 04:38 PM
Jim Dam Jim Dam is offline
Registered User
 
Join Date: Mar 2002
Posts: 11
mkdir() — Permission Denied?

How does the mkdir() function work? Is the path of the directory to be created relative to the directory the script is in? No matter what I try, I get permission denied errors while trying to make a directory. Any help would be appreciated.
Reply With Quote
  #2  
Old 03-17-2002, 10:00 AM
Jim Dam Jim Dam is offline
Registered User
 
Join Date: Mar 2002
Posts: 11
After reading through the rest of this forum, I found the answer. The path needed to be full, so I used the $_SERVER['DOCUMENT_ROOT'] concatenated with the filename I wanted. I also had to change the permission of the directory I want the directory made in to 777.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump