RE: [PHP] Who can tell me the best php-base webmail?

2002-12-02 Thread Shu Chow
We use SquirrelMail (http://www.squirrelmail.org). I've customized the front-end and it's a breeze. I can't give you first-hand testimony on administration, but our administrator likes it. Users have no compliants. We use it with Postfix. -- PHP General Mailing List (http://www.php.net/) T

[PHP] Undefined index error

2002-08-19 Thread Shu Chow
I'm using the superglobal $_POST array to access URL parameters passed to my page. I was getting undefined constant errors in my error_log file, and found that I needed to quote the variables in the array. $_POST['SortBy'] etc. Now, it appears that I've just traded the undefined constant er

[PHP] session.cookie_domain

2003-08-27 Thread Shu Chow
We're having a problem with a site that recently upgraded to php 4.3.3. Ever since the upgrade, session variables won't pass between pages. Looking at the php.ini file, I see that session.cookie_domain is set to server.hostingcompany.com while our site is www.ourdomain.com. If the session.co

[PHP] Bank of America eStores

2002-03-08 Thread Shu Chow
Has anyone had any experience with Bank of America's eStore credit card processing service? A client of mine would like to use BofA because that's their bank, and it's very affordable. Specifically, I need clarification on how the Settlement Post works, if it can be automated right after th

[PHP] Re: CSS Group

2002-03-10 Thread Shu Chow
>Can anyone recommend a good CSS news group? Eric Meyer, author of O'Reilly's CSS book and keeper of Web Review's master list runs an excellent CSS mailing list. http://two.pairlist.net/mailman/listinfo/css-discuss -- Shu-Wai Chow, Iron Chef Sloppy Joes :: [EMAIL PROTECTED] "Extremism in the

Re: [PHP] Wanting a better understanding of classes in PHP...

2002-04-12 Thread Shu Chow
I recently finished a great book on OO theory called Beginning Java Objects by Jacquie Barker. It's published by Wrox. The book is a Java book and there are Java code snippets, but it's OO theories will work for all OO languages. Java is C style coding like PHP, so you shouldn't have any p

[PHP] shell_exec, batch files, and IIS on Windows

2007-02-27 Thread Shu Chow
The manual entry for shell_exec has a comment that notes to execute .bat files with shell_exec, you need to pass the command through cmd.exe with the /c argument. I was wondering if anyone could share some insight on why that is. I've pretty much verified that this is the case. I can't execu

Re: [PHP] shell_exec, batch files, and IIS on Windows

2007-02-27 Thread Shu Chow
Thanks, guys, for the responses. I'll check the events and IIS logs tomorrow. This afternoon, I put the IIS user into the Administrators group, but no luck - the same exact thing, or lack of thing, happened. I told this to the IT head and he agrees that it's probably not a permissions issue.

[PHP] Bug with passing objects by reference and assigning a defeault null?

2007-04-06 Thread Shu Chow
Has anyone tried to assign a default value of null for an object passed by reference in PHP4? Let's say I had this code: $mObj = new testModel(); $mObj->msg = "Bubba"; testFunc(); class testModel { var $msg; } function testFunc(&$msg=null) { echo $msg->msg; } Under PHP

[PHP] xmlrpc_decode vs. xmlrpc_decode_request

2006-08-17 Thread Shu Chow
Hi, I have a question that's been bugging me for a while. What's the difference between xmlrpc_decode and xmlrpc_decode_request? _request takes an extra parameter, $method, but I can't figure out what kind of effect it has. I can pass a totally bogus parameter to it. What's the difference b

[PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Shu Chow
Is there any way to alter the header of DomDocument's load/loadHTMLFile request? I have a file that will display certain content for certain user agents. I'd like to be able to spoof the UA of the request. TIA, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Shu Chow
Is there any way to alter the header of DomDocument's load/loadHTMLFile request? I have a file that will display certain content for certain user agents. I'd like to be able to spoof the UA of the request. TIA, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] Re: [BULK] Re: [PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Shu Chow
Exactly what I needed. Thank you! Rasmus Lerdorf wrote: Shu Chow wrote: Is there any way to alter the header of DomDocument's load/loadHTMLFile request? I have a file that will display certain content for certain user agents. I'd like to be able to spoof the UA of the reques