) $end = strlen($string)-1;
for($i=$start;$i<=$end;$i++){
$string{$i} = $char;
}
return $string;
}
michael geary wrote:
Hi Folks,
I'm struggling with a permutation problem.
I want to take a set of characters (for example "012345678ABCDEF")
and generate all permutatio
Hi guys,
I appreciate your taking interest, but as I wrote, I am looking for a
permutation algorithm, not specifically for all the hex colors. That
was simply an example of a usage.
Put another way, I want a function that I can do:
echo generatePerms("abc",4);
and it will return
aaab
aa
Hi Folks,
I'm struggling with a permutation problem.
I want to take a set of characters (for example "012345678ABCDEF") and
generate all permutations of length N, allowing characters to be
repeated. For example, I could use this algorithm to generate all HTML
hex colors by passing:
generatePe
Perhaps the best thing to do would be to wait for PHP 4.3, which will
offer out-of-the-box OS X support. I have compiled the latest dev
releases with no problems or workarounds on OS X.
However, I do have step-by-step instructions for compiling PHP 4.2.x on
OS X, but depending on the libraries
Hi Folks,
I am on OS X 10.2, and I'm compiling the latest dev version of PHP as
found at Zend:
http://snaps.php.net/php4-latest.tar.gz
In general, I am having good success with it. However, I am having some
strangeness with Imap integration. For reference, I have OpenSSL and
the C-client ins
Hi All,
I have been asked by a rep at a large software dev company about any
websites live-to-the-world running OS X. We are, but we're not exactly
huge (max hits/day = approx. 1000, mostly internal).
So, what sites are you aware of? They don't even have to be running PHP.
Please let me know.
f this? I would really appreciate some help.
regards,
michael geary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ry to my /usr/local/include directory.
However, I always get errors when I "make".
Please, would someone be willing to offer detailed instructions? If I
get this thing working, I'd be more than willing to post or mail my
notes so that others can enjoy the fun.
Thanks in adv
I need to trap this in the
preg_replace.
...and yes, I WOULD use str_replace, but it doesn't seem to work in IIS
with arrays passed as search & replace parameters. If anyone can verify
this, I'd be grateful!
Thanks so much,
michael
Michael Geary
Interactive Architect
Ser
er gotchas should I be
aware of?
I'm sure that others have researched automatic archiving of files on
servers, and I'd really appreciate hearing about your experiences.
Thanks,
michael geary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
y insights?
thanks,
michael geary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
11 matches
Mail list logo