maar Posted January 24, 2005 Report Posted January 24, 2005 (edited) patiesībā failu izveidot izdodas. pat vairākos veidos... bet tiesības nomainīt failam nevaru un šo failu nevaru ar include() izmantot... if (!file_exists($filename)) { touch($filename); // - fails izveidojas ar tiesibaam 644 chmod($filename, 0777);// tiesibas nomainit neizdodas... ne ar php ne no ftp... } izdzest vismaz izdodas tomer... direktoriju izveidot nav problemu. $oldumask = umask(0); mkdir("../zinjas/".$new_id, 0777); umask($oldumask); kas vainas failam? kā apiet to safe modi??? Edited January 24, 2005 by maar
Venom Posted January 25, 2005 Report Posted January 25, 2005 laikam failu vajag chownot uz servera jūseri (eg apache:apache)
maar Posted January 25, 2005 Author Report Posted January 25, 2005 laikam failu vajag chownot uz servera jūseri (eg apache:apache) 13032[/snapback] safe modē arī chown negrib strādāt :(
maar Posted January 25, 2005 Author Report Posted January 25, 2005 (edited) Warning: SAFE MODE Restriction in effect. The script whose uid is 22817 is not allowed to access ../txt.php owned by uid 33 in /home/.../setperm.php on line 25 Edited January 25, 2005 by maar
Recommended Posts