Jump to content


This topic is now archived and is closed to further replies.


help with making a directory

Recommended Posts

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.

Share this post

Link to post
Share on other sites
look at...

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


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.