devil Posted February 3, 2006 Report 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?
bubu Posted February 3, 2006 Report Posted February 3, 2006 Nē, iekš httpd.conf vaina meklējama. install.txt (no apaches direktorijas) izlasīji?
Grey_Wolf Posted February 3, 2006 Report Posted February 3, 2006 ja dazas straadaa dazas ne tad vaina iespeejams ir <? un <?php nestraadaa taas lapas kur ir iisais pieraksts <? .. ne taa?
devil Posted February 3, 2006 Author Report Posted February 3, 2006 ta skatos ka laikam jā. A kā to varētu novērst?
bubu Posted February 3, 2006 Report Posted February 3, 2006 find->replace-> <? (ar atstarpi) -> <?php :)
devil Posted February 3, 2006 Author Report 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
Grey_Wolf Posted February 3, 2006 Report 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
devil Posted February 3, 2006 Author Report Posted February 3, 2006 Jup v3rb0 viss aizgāja. es jau izlaboju un pārbaudiju kamēr Grey_Wolf uzrakstija.. Paldies jums abiem..
Recommended Posts