[PHP-WIN] exec, system on win2k

2001-11-21 Thread Doug Brewer
e typical "unable to fork" error. I was unable to find this as a current bug report. Does anyone else have any experience with this? Doug Brewer -- PHP Windows 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]

RE: [PHP-WIN] Win2K/PHP4.0.4pl1 - include_path mess (won't include from the current directory)

2001-02-01 Thread Doug Brewer
include_path= ".;e:\apache\lib\php\;" use a semi-colon to separate paths DB | -Original Message- | From: PHPBeginner.com [mailto:[EMAIL PROTECTED]] | Sent: Thursday, February 01, 2001 2:54 AM | To: PHPLIB; [EMAIL PROTECTED]; PHP | Subject: [PHP-WIN] Win2K/PHP4.0.4pl1 - include_path

RE: [PHP-WIN] passing arrays of objects

2001-02-01 Thread Doug Brewer
try $foo //array with serialized objects in it $foo = rawurlencode($foo); $url = "something/something/foobar.php?foo=$foo"; and on the next page $foo = rawurldecode($foo); $foo = unserialize($foo); disclaimer: I didn't run thru these to see if it works although it might be better to pass it a

[PHP-WIN] decryption function?

2001-02-06 Thread Doug Brewer
I am working on windows, and want to encrypt cookie information. However, all I can find is MD5() and crypt(), neither of which have a decryption counterpart. Mcrypt would work, but doesn't seem to be available on win(?). I just need to be able to get the info back out. Any suggestions?

[PHP-WIN] Slow response from Netscape

2001-02-07 Thread Doug Brewer
experience this? Netscape 6 seems to work OK too. Doug Brewer -- PHP Windows 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]

RE: [PHP-WIN] Failed opening - NT4 SP6a, O'Reilly WebSite Pro 2.5, PHP4

2001-02-20 Thread Doug Brewer
include works like this: if your include_path starts with ".", any document with an "include" in it looks in it's own directory for the included file. if it doesn't find it, it looks for the next entry in include_path and looks there. If it can't find it anywhere, you get the error you're seeing.

[PHP-WIN] how to execute PHP code on the fly

2001-02-22 Thread Doug Brewer
I am storing html fragments in mysql. The html has PHP in it. Here's the problem: The text that is pulled out isn't "executed" as it is returned. I can still see all the various php bits, in other words. Is there a command to allow PHP to execute all the php code in a string? Thanks, DB --

RE: [PHP-WIN] preg_match

2001-03-02 Thread Doug Brewer
I'm not a regex expert, but can't you use a negated class if (preg_match ("/[^a-z]/i", $name)) { echo "has non alpha chars"; } else { echo "all alphas"; } sorry, didn't try the above code before sending. HTH, Doug | -Original Message- | From: James Duncan [mailto:[EMAI

[PHP-WIN] pulling arrays from nested arrays?

2001-03-03 Thread Doug Brewer
Hello, looking for some insight on the behavior of arrays. I've got an array. One of the elements of that array is another array. If I refer to it this way, I can get at it: while(list($this, $that) = each($first_array["second array"])) { # it works! } But let's say I want to alter the

RE: [PHP-WIN] pulling arrays from nested arrays?

2001-03-03 Thread Doug Brewer
il, because it isn't an array. Using a reference would modify the original, and I don't want to do that. Doug | -Original Message- | From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] | Sent: Saturday, March 03, 2001 7:17 PM | To: Doug Brewer | Cc: [EMAIL PROTECTED] | Subject