Venom Posted July 6, 2005 Report Share Posted July 6, 2005 vēlreiz - kādu kļūdu met? NB: empty($cena) - es ceru, ka tā ir empty($_POST['cena']) ? Link to comment Share on other sites More sharing options...
Gizmo Posted July 6, 2005 Report Share Posted July 6, 2005 Es 'file' vietā liku $uploadfile; $uploaddir un arī userfile, bet vienmēr atbilde: Warning: chmod(): No such file or directory in /home/hosting... Link to comment Share on other sites More sharing options...
bubu Posted July 6, 2005 Report Share Posted July 6, 2005 Un kas aiz tiem ... seko? Vai tik tev vienkārši direktorija nav uztaisīta? Link to comment Share on other sites More sharing options...
Venom Posted July 6, 2005 Report Share Posted July 6, 2005 nu tev arī jāraxta pilns vai relative path līdz, laikam tev uz diru nedeva raxtīt, chmod('/home/hosting/user/uploads',0755); chmod('./uploads',0755); ja php palaižas no user direktorijas tas būtībā jāizdara vienreiz Link to comment Share on other sites More sharing options...
Gizmo Posted July 6, 2005 Report Share Posted July 6, 2005 :) Warning: chmod(): Operation not permitted in /home/hosting... Kaa lai šito novāc? Varu tikt klāt pie php.ini un pārējiem Apache2 failiem caur WEB Link to comment Share on other sites More sharing options...
Venom Posted July 6, 2005 Report Share Posted July 6, 2005 nu vot tur arī sliktums. A caur ftp nevari? citādi laikam nekā, ja nu vienīgi mēģināt umask()ot php procesu uz apaci, bet arī nav garantijas ka dos raxtīt. Link to comment Share on other sites More sharing options...
Gizmo Posted July 6, 2005 Report Share Posted July 6, 2005 :( Caur FTP tikai pie WEB lapas failiem tieku Link to comment Share on other sites More sharing options...
Venom Posted July 6, 2005 Report Share Posted July 6, 2005 nujā! tev tač uploadu direktorija būs kaut-kur web direktorijā, nē? ķip kad ienāc kautkādā /home/web/users/Gizmo tev rādās kautkas līdzīgs: .. [uploads] [images] index.php the.css t.i. iekš [] ir direktorijas. nu tad lūk, atkarībā no ftp-klienta tev vai nu jāuzklikšķina ar labo peles pogu (WinScp/leechftp) uz [uploads] foldera un jāulziek tiesības rakstīt (W) čekboksos pretīm uz "Onwer" un iespējams "Group" tagad stāsti kas tev un kā (vai rādi screenshotus) Link to comment Share on other sites More sharing options...
Gizmo Posted July 28, 2005 Report Share Posted July 28, 2005 Kā atrisināt problēmu: kā admins ieliku folderī /images/ bildi un ir viss O.K. bet kad tajā pašā folderī uploadoju ar formu to failu tad: You don't have permission to access /images/050720014124_756.jpg on this server. Pats scripts: $uploaddir = 'bildes/'; $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); Link to comment Share on other sites More sharing options...
rudzis Posted July 28, 2005 Report Share Posted July 28, 2005 Gizmo, izlasi vēlreiz Venom'a atbildi... Link to comment Share on other sites More sharing options...
Gizmo Posted July 28, 2005 Report Share Posted July 28, 2005 Lapas administreeshana man tikai caur WEB, ar LMB neko nevar izdariit Link to comment Share on other sites More sharing options...
Recommended Posts