Klez Posted August 16, 2005 Report Share Posted August 16, 2005 kaa jau te tika apspriests tad define("INDEX", TRUE); un include lapaas liekam pirmo rindu if (!INDEX) { header("HTTP/1.0 404 Not Found"); die; } un paraadiis ka taadas lapas neeksitee, ja liidiis pa tainso. naw arii jeegas kkaaadus tur uuber definiicaijas tekstus likt. ja reiz pie taa faila tiek savaadaakaa veidaa, tad tur nekas neliiidzees un tavu kodu izlasiis. un ja serveris ir normaali nokonfigureets, tad 100% ka pa taisno neieliidiis. veel var index.php beigaas ielikt: unset(INDEX); jo caur paarkuuku pie taa fala netikt. vel var failus likt atsevishaa diraa un tai dirai 403 error uzmest Link to comment Share on other sites More sharing options...
ohmygod Posted August 16, 2005 Report Share Posted August 16, 2005 (edited) privet Edited August 16, 2005 by ohmygod Link to comment Share on other sites More sharing options...
bubu Posted August 16, 2005 Report Share Posted August 16, 2005 omg, ar katru reply atbildes paliek dumākas. Cilvēki izlasiet taču visu threadu, pirms atbildiet! Link to comment Share on other sites More sharing options...
des Posted August 16, 2005 Report Share Posted August 16, 2005 Pati krutaakaa ir rindinja: include '$url'; Te atkal jaasaak vaartiities pa griidu un smiet nost savu dirsu :D Link to comment Share on other sites More sharing options...
v3rb0 Posted August 16, 2005 Report Share Posted August 16, 2005 par url inclidosanu, bija reiz jautaajums, kaapeec man nestraadaa globalie mainigie .. include('http://www.mansserveris.lv/megacms/modules/raksts.php'); Link to comment Share on other sites More sharing options...
Recommended Posts