[PHP] Problems compiling LDAP into php 4.0.2

2001-01-17 Thread Bill . Hoffman
Here is my environment: System Linux [EMAIL PROTECTED] 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown Build Date Sep 7 2000 Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' ' --with-config-file-path=/usr/local/apache/conf' '--enable-versioning' ' --with-mysql' '--en

[PHP] Re: Problems compiling LDAP into php 4.0.2

2001-01-17 Thread Bill . Hoffman
I switched from Netscape to Openldap and it now compiles fine. Unfortunately Apache bombs when I try to start it with the following error: Syntax error on line 237 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec

Re: [PHP] Re: Problems compiling LDAP into php 4.0.2

2001-01-18 Thread Bill . Hoffman
I am using openldap 2.0.7. I am still using PHP 4.0.2 because when I attempted upgrade to 4.0.4 - ODBC would not compile in. That is strange because it works fine in 4.0.2. BEH Jani Taskinen <[EMAIL PROTECTED]>@sniper.igw.kolumbus.fi> on 01/17/2001 04:07:44 PM Sent by: <[EMAIL PROT

[PHP] LDAP problems

2001-01-18 Thread Bill . Hoffman
Here is my environment again: System Linux [EMAIL PROTECTED] 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 > i586 unknown > Build Date Sep 7 2000 > Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' ' > --with-config-file-path=/usr/local/apache/conf' '--enable-versioning' ' >

[PHP] exec timing out revisited

2001-03-08 Thread Bill . Hoffman
I saw the post about exec("nohup mp3123 -y -Z --all 1>/dev/null/ 2>&1 > &"); I decided to do a little test of my own because I would like to add this functionality to some of my sites. Here is my env: Redhat 6.3 Apache 1.3.12 PHP 4.0.3 I wrote a little shell script to test with called sleep.

[PHP] What are you using for please wait?

2002-02-14 Thread Bill . Hoffman
I would just like to see how people are handling long running PHP scripts. I have been using a page in the middle that says "please wait" and then using a META tag that forwards the user on to the intended page. This has been working well up until now. I now have a page that is posting an

[PHP] libxml_set_streams_context

2005-05-17 Thread Bill Hoffman
27;); echo $doc->saveXML(); using the same $context resource, this also produces the same result, when I expect it should work. file_get_contents('http://www.somewhere.com/somefile.xml', false, $context); I have php 5.0.4 compiled with libxml2 (2.6.16) on Mac OS X 10.4. I imagine I

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 17, 2005, at 10:24 PM, Richard Lynch wrote: I don't know much about that fancy new stream stuff, or the XML crap, but you've got zero (0) lines of code in there to do anything useful when the functions fail. no functions fail. what I'm expecting is that with libxml_set_streams_context()

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 18, 2005, at 1:20 PM, Richard Lynch wrote: *YOU* have check their return value to see if it's 'false' or -1 or 0 and, if so, *YOU* have to call another function to get the error message and error code. This is what I am suggesting is missing big-time in your code. Yes, you made your poi

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 18, 2005, at 4:10 PM, Jared Williams wrote: Sure the server is checking if modified since headers? I'm capturing the response headers from the remote server, so I can see that. Just tried a bit of code here and it seems to be working as expected (5.0.4 Win32) 1) I made an initial mistak

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 18, 2005, at 7:07 PM, Jared Williams wrote: Heh, yes indeed most baffling... Libxml must be performing some sort of cacheing, I guess. Doesn't appear to be requesting twice (once with the if-modified-since header, and again without atleast) well, thanks for the confirm on that. I thought o

[PHP] ftp_login problem

2001-02-19 Thread Bill . Hoffman
I wanted to check with all of you before I report a bug. Here is the problem: I am attempting to access a OS2 server via ftp. When I login on the command line as anonymous to this server it does not require a password. When I try to login via PHP (ftp_login) it requires that I use a password.