devil Posted February 3, 2006 Report Share Posted February 3, 2006 lieta tāda ka man ir apache + php un mysql, bet problēma ir tāda ka nēgrib atpazīt php lapas manējās ko nohostēju dazas atpazīst zažas ne.. taja pasha bridi ja uzlieku piem WAMP ta lapa strada.. kur varetu but problema cik noprotu vaina ir meklējama php.ini ja? Link to comment Share on other sites More sharing options...
bubu Posted February 3, 2006 Report Share Posted February 3, 2006 Nē, iekš httpd.conf vaina meklējama. install.txt (no apaches direktorijas) izlasīji? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted February 3, 2006 Report Share Posted February 3, 2006 ja dazas straadaa dazas ne tad vaina iespeejams ir <? un <?php nestraadaa taas lapas kur ir iisais pieraksts <? .. ne taa? Link to comment Share on other sites More sharing options...
devil Posted February 3, 2006 Author Report Share Posted February 3, 2006 ta skatos ka laikam jā. A kā to varētu novērst? Link to comment Share on other sites More sharing options...
bubu Posted February 3, 2006 Report Share Posted February 3, 2006 find->replace-> <? (ar atstarpi) -> <?php :) Link to comment Share on other sites More sharing options...
devil Posted February 3, 2006 Author Report Share Posted February 3, 2006 ja shis bij labs ;) bet vai nava bikit labāks veids.. jo ja man ir "maziņi" scripti apmēram 40 *.php lapas.. k-kā nevelk visu pārlikt :D Link to comment Share on other sites More sharing options...
v3rb0 Posted February 3, 2006 Report Share Posted February 3, 2006 short_open_tag = On Link to comment Share on other sites More sharing options...
Grey_Wolf Posted February 3, 2006 Report Share Posted February 3, 2006 (edited) devil--> <? vispaar ir peec nokluseetaa ;) ja fails ie XML tad jaizmanto <?php (skjiet ka diezgan obligaats nosacijums) -------- ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. ; NOTE: Using short tags should be avoided when developing applications or ; libraries that are meant for redistribution, or deployment on PHP ; servers which are not under your control, because short tags may not ; be supported on the target server. For portable, redistributable code, ; be sure not to use short tags. short_open_tag = On -------- lai izmantotu saiisinaato variantu jaabuut ON edit: v3rb0 pasteidzaas ;) Edited February 3, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
devil Posted February 3, 2006 Author Report Share Posted February 3, 2006 Jup v3rb0 viss aizgāja. es jau izlaboju un pārbaudiju kamēr Grey_Wolf uzrakstija.. Paldies jums abiem.. Link to comment Share on other sites More sharing options...
Recommended Posts