projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cfa2d59
)
added example php script
author
pk910
<philipp@zoelle1.de>
Mon, 17 Oct 2011 23:53:29 +0000
(
01:53
+0200)
committer
pk910
<philipp@zoelle1.de>
Mon, 17 Oct 2011 23:53:29 +0000
(
01:53
+0200)
scripts/example.php.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/scripts/example.php.txt
b/scripts/example.php.txt
new file mode 100644
(file)
index 0000000..
090b3f4
--- /dev/null
+++ b/
scripts/example.php.txt
@@ -0,0
+1,11
@@
+<?php
+//example script
+//bind it with:
+// +bind example extscript php scripts/example.php.txt $n $1 $2 $3 %1+
+
+echo "Hello ".$argv[1].", this is an external PHP Script :)\n";
+echo "Your parameters:\n";
+for($i = 2; $i < count($argv); $i++) {
+ echo" ".$argv[$i];
+}
+?>
\ No newline at end of file