Posted on Sunday 20 November 2005 - Popularity: 2%
I had some fun with Platypus this weekend. First thing what I did was a “clone” of Chaos Antidote using a PHP script. I’ll let you download that one later after some bug testing. Anyway, I did a second application with Platypus, PHP Executer. Just drop any normal PHP file over it and it will be executed. [download link]
This is the PHP script I’ve used with Platypus to make this little app:
#!/usr/bin/php
< ?php
$dropfile = $argv[2];
if ($dropfile != "" && is_file($dropfile)){
echo "Executing: ".$dropfile."\n\n\n";
include $dropfile;
} else {
echo "You haven't dropped a file over me!";
}
?>
Really simple, but it works (remove that space in front of the first ‘?’).
Fredi
















June 16th, 2007 at 4:17 am
ok so like what hmm can u tell me how to write these things like what i need to do it and stuff man if u do this for me i will like owe you forever ok so email me