Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.show-source.html
Дата изменения: Sun Feb 3 22:46:40 2002
Дата индексирования: Mon Oct 1 21:36:11 2012
Кодировка:
show_source

show_source

(PHP 4 >= 4.0.0)

show_source -- Syntax highlighting of a file

Description

bool show_source ( string filename)

The show_source() function prints out a syntax higlighted version of the code contained in filename using the colors defined in the built-in syntax highlighter for PHP. It returns TRUE on success, FALSE otherwise (PHP 4).

This function is an alias for the function highlight_file()

Note: Care should be taken when using the show_source() and highlight_file() functions to make sure that you do not inadvertently reveal sensitive information such as passwords or any other type of information that might create a potential security risk.

See also highlight_string(), highlight_file().