Re: Reminder On Mailing List Rules
| From: | Daniel Brown | Date: | Thu, 21 Oct 2010 23:39:17 +0000 |
| Subject: | Re: Reminder On Mailing List Rules | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308986@lists.php.net to get a copy of this message | ||
On Thu, Oct 21, 2010 at 19:18, Michael Shadle <mike503@gmail.com> wrote:
> Don't let it die like Perl has! (ha, ha)
<?php
$perl =<<<'PERL'
#!/usr/bin/perl
my $pun = $?;
die "Great pun!" unless $pun = 0;
PERL;
$filename = dirname(__FILE__).'/tmp-'.sha1(time()).'.pl';
file_put_contents($filename,$perl);
chmod($filename,0755);
/**
* ;-P
*/
echo
$filename.PHP_EOL;
unlink($filename);
?>
--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/