Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-21-2005, 03:09 AM   #1 (permalink)
salmanjoo
Registered User
 
Join Date: Aug 2005
Posts: 18
salmanjoo is on a distinguished road
Question creating directory problem

hi guys
how r u all
problem in this code

$userdir=$username;//its the name of directory
$dir="..\\";//path of directory where it will create
mkdir('$dir.$userdir', 0700);

so in the where i m making the directory to combine path and directory name
so its not working means directory is not creating

plz reply me soon
salmanjoo is offline   Reply With Quote
Old 08-21-2005, 08:56 AM   #2 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 596
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
change your backslashes(\\) to normal slashes(/).
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL.h: No such file or directory... problem. slashdot Standard C, C++ 7 07-22-2005 12:44 PM
Recursive Directory Listings. Charmy Platform/API C++ 1 05-06-2005 04:14 AM
get/change current directory in windows enemite Platform/API C++ 2 04-22-2005 09:36 PM
copy a directory link with -Rs sde Linux / BSD / OS X 3 02-15-2005 05:34 PM


All times are GMT -8. The time now is 02:34 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting