G-Style Posted November 18, 2007 Author Report Share Posted November 18, 2007 Andrisp , un kaa tu domaa kur tad? Saliku peedinjas arii neiet. Link to comment Share on other sites More sharing options...
andrisp Posted November 18, 2007 Report Share Posted November 18, 2007 Katrā ziņā ja arī nav problēma tur, tāpat tas ir nepareizi. Saliec stringus pēdiņās. Moka aiziet. Ja ne, tad vienkārši tas nozīmē, ka neizpildas šis: isset($_GET['gl']) && isset($_GET['glx']) && file_exists('lapas/'.$_GET[glx].'/'.$_GET[gl].'.php') Vai nu neeksistē kāds no tiem masīva elementiem vai arī vienkārši neeksistē tāds fails. Link to comment Share on other sites More sharing options...
G-Style Posted November 18, 2007 Author Report Share Posted November 18, 2007 Kaapeec nepareizi? Kaa tad tavupraat ir pareizi? Ar switchiem, array? Link to comment Share on other sites More sharing options...
andrisp Posted November 18, 2007 Report Share Posted November 18, 2007 Es par pēdiņu neesamību runāju. Link to comment Share on other sites More sharing options...
G-Style Posted November 18, 2007 Author Report Share Posted November 18, 2007 Peedinjas visur saliku, failus parbaudiiju. Defaultaa lapa inkluudojas,taatad darbojas. A paareejais bez dziiviibas paziimeem. Link to comment Share on other sites More sharing options...
andrisp Posted November 18, 2007 Report Share Posted November 18, 2007 Pirms pirmā IF ieliec šādu kodu un pēc tam iekopē šeit rezultātu: var_dump($_GET['gl'])); var_dump($_GET['glx']); var_dump('lapas/'.$_GET['glx'].'/'.$_GET['gl'].'.php'); var_dump(file_exists('lapas/'.$_GET['glx'].'/'.$_GET['gl'].'.php')); Link to comment Share on other sites More sharing options...
G-Style Posted November 18, 2007 Author Report Share Posted November 18, 2007 Parse error: parse error, unexpected ')' in ...\centrs.php on line 12 Link to comment Share on other sites More sharing options...
G-Style Posted November 18, 2007 Author Report Share Posted November 18, 2007 string(6) "bildes" NULL string(17) "lapas//bildes.php" bool(true) Link to comment Share on other sites More sharing options...
G-Style Posted November 18, 2007 Author Report Share Posted November 18, 2007 Done! Pats biju saputrojies savaa failu sisteemaa :) Ja nevenam nekas nav piebilstams Close Topic. Andrim saldeejums! Link to comment Share on other sites More sharing options...
Recommended Posts