unclemid Posted March 28, 2006 Share Posted March 28, 2006 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:website.com/folder/folder/$username/file.jpgmy 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. Quote Link to comment Share on other sites More sharing options...
litebearer Posted March 29, 2006 Share Posted March 29, 2006 look at...[a href=\"http://us3.php.net/mkdir\" target=\"_blank\"]http://us3.php.net/mkdir[/a]Lite... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.