G-Style Posted November 18, 2007 Author Report Posted November 18, 2007 Andrisp , un kaa tu domaa kur tad? Saliku peedinjas arii neiet.
andrisp Posted November 18, 2007 Report 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.
G-Style Posted November 18, 2007 Author Report Posted November 18, 2007 Kaapeec nepareizi? Kaa tad tavupraat ir pareizi? Ar switchiem, array?
G-Style Posted November 18, 2007 Author Report Posted November 18, 2007 Peedinjas visur saliku, failus parbaudiiju. Defaultaa lapa inkluudojas,taatad darbojas. A paareejais bez dziiviibas paziimeem.
andrisp Posted November 18, 2007 Report 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'));
G-Style Posted November 18, 2007 Author Report Posted November 18, 2007 Parse error: parse error, unexpected ')' in ...\centrs.php on line 12
G-Style Posted November 18, 2007 Author Report Posted November 18, 2007 string(6) "bildes" NULL string(17) "lapas//bildes.php" bool(true)
G-Style Posted November 18, 2007 Author Report Posted November 18, 2007 Done! Pats biju saputrojies savaa failu sisteemaa :) Ja nevenam nekas nav piebilstams Close Topic. Andrim saldeejums!
Recommended Posts