Mikijs Posted October 14, 2008 Report Share Posted October 14, 2008 Atdalīts no http://php.lv/f/index.php?showtopic=11776 nezinu vai tas skar temu bet gribetos pajautat ko jus sakat ja izmantoju .com faila formatus nevis .php ? ir index.php <?php require_once $_Dat[$c]."class.flight.com"; ?> ir class.flight.com <?php include("../v".$v."/inc.flight.org"); ?> un uz servera esmu uzlicis ka .org un .com failus publiski nerada nu teiksim ja man cilveks atver www.lapa.lv/v45/ failu tad tas ir tuksh ( nemedzu likt visos failos index.html ) Link to comment Share on other sites More sharing options...
andrisp Posted October 14, 2008 Report Share Posted October 14, 2008 WTF ? :) Nu vispār ļoti iespējams, ka atverot www.lapa.lv/v45/class.flight.com, man tiks parādīta source. Link to comment Share on other sites More sharing options...
Mikijs Posted October 14, 2008 Author Report Share Posted October 14, 2008 ne, netiks paradita jo fails tiks paradits ka nevar nolasit jo (.com) cik zinu nav lasams fails un .org ir laikam lasams bet katra gadijuma ir chmodots ta ka nevar lasit Link to comment Share on other sites More sharing options...
blackhalt Posted October 14, 2008 Report Share Posted October 14, 2008 Doh. Liec atpakaļ .php :) Link to comment Share on other sites More sharing options...
bubu Posted October 14, 2008 Report Share Posted October 14, 2008 Nesaprotu ar ko .com/.org ir labāks par .php? Un kāpēc tu no failus, kurus negribi lai piekļūst no weba, glabā no web atļautas pieejas direktorijā nevis ārpus tās? Link to comment Share on other sites More sharing options...
Mikijs Posted October 14, 2008 Author Report Share Posted October 14, 2008 (edited) doucment root (/var/www/html) org (/var/www/v*/inc/) com (/var/www/classes/*/) * tagad es pats apjuku kapec ta dariju * ka kadreiz varetu padomat un tad darikstit :s Edited October 14, 2008 by Mikijs Link to comment Share on other sites More sharing options...
andrisp Posted October 14, 2008 Report Share Posted October 14, 2008 kadreiz varetu padomat un tad darikstit :s Jā, doma nav peļama :) Link to comment Share on other sites More sharing options...
bubu Posted October 14, 2008 Report Share Posted October 14, 2008 Nu vēl jo vairāk - ja jau tev tie com un org ir ārpus /var/www/html direktorijas, tad kāda jēga tos saukāt par com/org nevis php? Link to comment Share on other sites More sharing options...
Ernijs_E Posted October 14, 2008 Report Share Posted October 14, 2008 Davai no offtopic. :) Davai kādam nav kods? Link to comment Share on other sites More sharing options...
Zandis Murāns Posted October 14, 2008 Report Share Posted October 14, 2008 A kāds tur sakars ar kaut kādu "ADMINA SISTĒMU"? Link to comment Share on other sites More sharing options...
Mikijs Posted October 14, 2008 Author Report Share Posted October 14, 2008 Njam .. Admina sistema :) Link to comment Share on other sites More sharing options...
Recommended Posts