Looping on the command line

[email protected] (Keith Greene)
Newsgroups php.general
Message-ID <99C70C67397DD311879C0050DA0FB6EA325752@MRFREEZE>
I need a script to reload itself several times when run from the command
line. I am having a few problems.
<pseudo-code>
<? # fs.php3
do some stuff...
.
.
.
exec("fs.php3");
?>
</pseudo-code>

I can get 1 script to load another script using the above syntax, but I
cannot get a script to reload itself.
I have even tried ping-ponging, or having the main script load another
script that just reloads the main script
again, but THAT doesn't seem to work either. I am getting very confused here
and am about to pull my
hair out. Any help would be appreciated.

Please send replies to [email protected] (I'm not subscribed to the
list, due to traffic problems)


Keith Greene
Web Programmer
billserv.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.