Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
German Site | Spanish Site 

 Web Hosting

 Virtual Dedicated Servers

 Domaincheck

 Order

 Order Status

 Support

 Contact us

 Download

 Network

 Network Status

 Webdesign / Templates

 Make Payment

 Terms & Conditions

 Imprint

 Legal Notices

 Privacy Statement
  PHP / show_source
show_source

show_source

(PHP 4 >= 4.0.0)

show_source -- Syntax highlighting of a file

Description

bool show_source ( string filename [, bool return])

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.

If the second parameter return is set to TRUE then show_source() will return the highlighted code as a string instead of printing it out. If the second parameter is not set to TRUE then show_source() will return TRUE on success, FALSE on failure.

Note: The return parameter became available in PHP 4.2.0. Before this time it behaved like the default, which is FALSE

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().


© 1998-2007 Gold Vision Communications All Rights Reserved.