Jump to content
xisto Community

lnljamat

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. I tried to change the permissions from the cpanel web based ftp program, and it doesnt allow me to change the permissions, so i cant delete any folders or files. Is there anyway to create permission when i create files and folders from php?
  2. Thank you Very much!!! that was the problem, i needed to change the permissions and then was able to upload!! thanks again- now im facing another problem- when i try to delete files from ftp it says that permission is not granted, so i have to make a php script unlink() to delete files from the server- could u please explain why that happens? i thought when i log in with ftp i am the super user, and through php script that should be the normal user? Thanks again
  3. Thanks for ur reply however, the directory where im executing this function is at an even lower level, and doesn't "../" take u up one level? anyways i get this error: and when i try to do it with ur code i get an error that no such file or directory exists Thanks
  4. Hi, Ive got a freehosting site at qupis.com, and ive made a php site on my computer (running apache with php -installed using xampp) in this site the user has the option to create directories and files it was working fine on my local computer, but now that ive put it online on qupis, the mkdir() funciton doesnt work, i.e. it doesnt create a directory. this is the actual code : $folderpath = "../../content/"."$_POST[section_name]";mkdir($folderpath);do u need to have some parameters with mkdir? or is it switched off in phpinfo(), so that u cant make a directory directly from the server? any help on this would be greatly appreciated!!
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.