legohead6 Posted January 18, 2007 Share Posted January 18, 2007 ok i am making a file storage sytem. When a user creates there account they make a name for there folder(physically on my host), then when they login it takes them to a page that manages there folder and they can upload or download or delete files from it. the problem is when i create an account and login it says "failed to open stream: No such file or directory in ........" but when i go to my ftp it shows the folder there. It only seems to work if i save the folder again in my ftp. how do i make it so it doesnt need to do this? or would it be simpler to just make the folders imaginary and have the database find out whos is whos.... Link to comment https://forums.phpfreaks.com/topic/34659-php-creates-a-folder-on-host-and-then-cannot-find-it-later/ Share on other sites More sharing options...
anatak Posted January 18, 2007 Share Posted January 18, 2007 sounds like you do not have the permissions to create the folder with your php userask your provider. Link to comment https://forums.phpfreaks.com/topic/34659-php-creates-a-folder-on-host-and-then-cannot-find-it-later/#findComment-163336 Share on other sites More sharing options...
legohead6 Posted January 18, 2007 Author Share Posted January 18, 2007 o ..duh... i had a str_replace is there.. hehe it was removeing slashes, cu i used the same variable as the variable to display the folder name at the top... oops it seems to be working now Link to comment https://forums.phpfreaks.com/topic/34659-php-creates-a-folder-on-host-and-then-cannot-find-it-later/#findComment-163342 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.