Mikijs Posted October 14, 2008 Report 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 )
andrisp Posted October 14, 2008 Report 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.
Mikijs Posted October 14, 2008 Author Report 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
bubu Posted October 14, 2008 Report 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?
Mikijs Posted October 14, 2008 Author Report 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
andrisp Posted October 14, 2008 Report Posted October 14, 2008 kadreiz varetu padomat un tad darikstit :s Jā, doma nav peļama :)
bubu Posted October 14, 2008 Report 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?
Ernijs_E Posted October 14, 2008 Report Posted October 14, 2008 Davai no offtopic. :) Davai kādam nav kods?
Zandis Murāns Posted October 14, 2008 Report Posted October 14, 2008 A kāds tur sakars ar kaut kādu "ADMINA SISTĒMU"?
Recommended Posts