Jump to content


help with making a directory

  • Please log in to reply
1 reply to this topic

#1 unclemid

  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 28 March 2006 - 11:49 PM

Hello Im a noob to php and was wondering how you would go about posting a variable in a directory.

Let me explain what im doing.

Im making a site with a login system ect. Im trying to make an image uploading system that uploads the pictures in the users own personal folder. and if it doesnt exist it will create it something like:


my problem is getting the variable to make the folder to be made as the actual username. I am using the session thing right and everything but cant find how to fix this. Can anyone help me either find a pre-made upload system code or just tell me how to post varaibles as a directory folder. Thanks.

#2 litebearer

  • Members
  • PipPipPip
  • Advanced Member
  • 2,357 posts
  • Locationwhite lake michigan

Posted 29 March 2006 - 12:26 AM

look at...

[a href=\"http://us3.php.net/mkdir\" target=\"_blank\"]http://us3.php.net/mkdir[/a]


all the brothers were valiant!

[br][br]The truely intelligent people are not those who create the dots; rather they are they ones with the ability to connect the dots into a coherent picture

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users