Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php][htaccess] Wyświetlenie treści pliku php
starterrrrr
post
Post #1





Grupa: Zarejestrowani
Postów: 138
Pomógł: 0
Dołączył: 7.01.2015

Ostrzeżenie: (0%)
-----


Witam,.

W jaki sposób mogę wyświetlić zawartośc danego pliku php na serwerze, nie wykonywac go.

Ten post edytował starterrrrr 13.08.2015, 12:56:42
Go to the top of the page
+Quote Post
kartin
post
Post #2





Grupa: Zarejestrowani
Postów: 246
Pomógł: 79
Dołączył: 25.05.2010

Ostrzeżenie: (0%)
-----


highlight_file() / show_source() albo file_get_contents() i echo jak nie zależy ci na kolorowaniu składni.

Ten post edytował kartin 13.08.2015, 12:57:11
Go to the top of the page
+Quote Post
starterrrrr
post
Post #3





Grupa: Zarejestrowani
Postów: 138
Pomógł: 0
Dołączył: 7.01.2015

Ostrzeżenie: (0%)
-----


Cytat(kartin @ 13.08.2015, 13:54:56 ) *



ok dziękuje , zapoznam się z tym, czy file_get_contents("PLIK.php"); tez bedzie ok?
Go to the top of the page
+Quote Post
kapslokk
post
Post #4





Grupa: Zarejestrowani
Postów: 965
Pomógł: 285
Dołączył: 19.06.2015
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


samo file_get_contents('plik'); chyba Ci nie wystaczy (IMG:style_emoticons/default/smile.gif) echo(file_get_contents('plik'));
Go to the top of the page
+Quote Post
starterrrrr
post
Post #5





Grupa: Zarejestrowani
Postów: 138
Pomógł: 0
Dołączył: 7.01.2015

Ostrzeżenie: (0%)
-----


Cytat(kapslokk @ 13.08.2015, 14:00:06 ) *
samo file_get_contents('plik'); chyba Ci nie wystaczy (IMG:style_emoticons/default/smile.gif) echo(file_get_contents('plik'));

to miałem na mysli (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 11.10.2025 - 10:28