Sample file download

Sample php script file (.php)

A sample php file, which prints the text “Sample PHP file”. Note that the PHP_EOL constant was added in php version 5.0.2.

$ file sample.php
sample.php: PHP script text

Sample php script: download here.

Tags:

Top Site Counter