Well that certainly runs them one after the other but it doesn't stop for
text input. It Just stops all together?
Filename: tester.php
#!/usr/local/bin/php -q
Filename: hello.php
#!/usr/local/bin/php -q
Is my input function no good?
Don Myers
on 9/16/04 5:39 PM, Greg Donald at [
turn
open another... and another Of course after the script ends it returns
to the line in the script that called it and so on. Until it's "done"
I am writing a bunch of PHP-CLI scripts which open other helper PHP-CLI
scripts which may be called together or apart (so includes d
Unfortunately, since they are coming in through a socket and not actual
telnet/ssh I don't think $fp=fopen("/dev/stdin", "r"); works? Isn't that
only for terminal based input?
Donald Myers
on 9/2/04 10:31 AM, Jim Grill at [EMAIL PROTECTED] wrote:
>> Hello, I have been banging my head trying to
Hello, I have been banging my head trying to figure out how to design a MUD
Server using PHP-CLI as the server and PHP-CLI as the "command" language.
(telnet front end at this point)
I have found the great Pear Net_Server which seems to work really good for
Alpha and the Forking Mode is great to r
Anybody have the open source report writer via PHP compiled for OS X
Here is the URL http://rlib.sicompos.com/
Don Myers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP gurus. I know this can be made shorter but I can't seem to figure out
how.
This is a PHP CLI script I use to go through a directory listing a act upon
file matching the same prefix and/or suffix if supplied. This is the code I
use now.
// set up the prefix and/or suffix if I want to match on
Howdy, I am looking for a simple way to encode my PHP files from snooping
eyes. Not a MD5 Encryption or anything but a simple base64 or something. I
want to scare off the casual server snooper that know very little about PHP
but has access to the web directory for other reasons.
D Myers
--
PHP G
ac
kups_deleter.log');
$MAXCYCLE = 4;
chdir $LOGPATH; # Change to the log directory
foreach $filename (@LOGNAMES) {
for (my $s=$MAXCYCLE; $s >= 0; $s-- ) {
$oldname = $s ? "$filename.$s" : $filename;
$newname = join(".",$filename,$s+1);
rename $
8 matches
Mail list logo