sazian Posted August 27, 2006 Report Share Posted August 27, 2006 wiem że trochę zagmatwałem w temacie ale już to wyjaśniama mianowicie mam stronę zrobioną w php w którym jest tabelka a do jednaj komórki mają się wczytywać inne plikija robie to tak [code=PHP] <?php $nazwa_pliku = "test.php"; $uch]H[ ^WZK ][][ĘNHg&VBb33cV6wBfĆW6ŚRb33cśćvĆRŚf6Ć6Rb3Ą)ĄźŃ( [/code]i wszystko jest ok dopóki wczytuje pliki txt, html.... ale jak chce wczytać plik php cały skrypt nie jest interpretowany tylko jest wyświetlane źródło.i tu jest pytanieda się jakoś wczytać plik php z interpretacją skryptu??#tu jest plik który ma być wczytany http://sazian1.goin.pl/test.php?strona=kal...tor&i=1&j=1&p=1#a tak wygląda po wczytaniu http://sazian1.goin.pl/test2.php Link to comment Share on other sites More sharing options...
webpro Posted August 27, 2006 Report Share Posted August 27, 2006 hmm a jakbys dal #include tylko nie przesylaj w ten sposob hasel etc bo moze to byc niebezpieczne ale na jakies arty czy cos to moze byc Link to comment Share on other sites More sharing options...
KKKas Posted August 27, 2006 Report Share Posted August 27, 2006 Użyj: [code=PHP] include 'plik.php';o^ębz:a]ZH NZ N [/code] ҉ Link to comment Share on other sites More sharing options...
sazian Posted August 27, 2006 Author Report Share Posted August 27, 2006 działa Link to comment Share on other sites More sharing options...
Budrys Posted September 2, 2006 Report Share Posted September 2, 2006 Mozesz tez uzyc [code=Delphi] eval ($tresc); [/code] Link to comment Share on other sites More sharing options...
loganek Posted February 20, 2007 Report Share Posted February 20, 2007 a mam takie pytanie, czym sie ort! różni include od require? Link to comment Share on other sites More sharing options...
KKKas Posted February 20, 2007 Report Share Posted February 20, 2007 require przy braku danego pliku zakończy działanie skryptu, co zapobiega pomyłkom. ҉ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.