Help for this page

Select Code to Download


  1. or download this
    my $tempfile = '/some/temp/directory/and/filename.php';
    open( FILE, ">$tempfile" );
    print FILE $output;
    close FILE;
    $output = `/usr/local/bin/php $tempfile` || die "Error: $!\n\n$output"
    +;
    
  2. or download this
    <?php
    echo file_get_contents( 'http://www.domain.com/cgi-bin/something.cgi?r
    +m=this&value=that' );
    ?>