Help - Search - Members - Calendar
Full Version: Making A Directory Problem"chmod"
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
kaytan
hie
I'm trying to make a directory but every time server's compiler returns a error!
it prints that it's not a safe mod!
I putted my code bellow
<?php
$Dir=$_POST["name"];
mkdir($Dir,"0755");
?>
it should make a directory, but it doesn't work,please help me
thanks
wozzym
why dont you just make one in your file manager of your site control panel?
compiler
QUOTE(wozzym @ May 28 2008, 11:26 PM) *
why dont you just make one in your file manager of your site control panel?


kaytan speaks about the situation when script must create directories for registred users - for their files. It's tipical problem of this hosting, I writed about this
One of solutions - use ftp via php-script from other hosting (for example, xrux.ru). But itsn't good ...
Jacob
The PHP function, mkdir() has been disabled. You will need to manually create them.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.