RE: [PHP-WIN] LDAP extension hanging Apache
probably not helpful but does the php.ini extension_dir variable point to the location of the PHP extension dlls? e.g. c:/php/extensions/ At 04:59 PM 9/22/2003, you wrote: Oh yeah, forgot to mention that in the post. I did run Test Configuration, and it came back OK: d:/apache/conf/httpd.conf: Syntax OK Note the errors or messages above, and press the key to exit. -Original Message- From: C-omputerSolutions Webmaster [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] LDAP extension hanging Apache Have you tried running the Test Configuration utility that comes with Apache? usually if there is an error it will delineate it for you telling you what line is giving the problem. At 04:29 PM 9/22/2003, you wrote: >OS: Win2k SP3 >Apache: 1.3.24 >PHP: 4.3.2 > >When I add 'extension=php_ldap.dll' to php.ini and restart the Apache >service, it hangs and doesn't restart. No errors appear in error.log >and nothing is printed to the console when using Apache's supplied >service restart. When I comment out the above extension line, it >restarts normally. > >I tried doing a bit of Googling for LDAP hanging PHP/Apache on Win32, >but it didn't turn up anything useful. > >Has anybody experienced this, and can anybody offer any suggestions as >to what my next course of action should be? I'm attempting to come up >with a solution to authenticate users against a domain, and using LDAP >seems to be the best way to go, but I can't even get the extension >loaded. :-/ (I've tried using UserServer, but it doesn't seem to work >100% of the time.) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] upgrade imap dll problem
i am having the same issue on my server. the server is running WinXP Pro w/ Apache 2.0 and PHP 4.3.3, no matter what extension i try to load or how i try to point to the extensions directory i get the following error from apache: Unknown(); Unable To Load Dynamic Link Library 'd:\php\extensions\php_imap.dll' the = specified module could not be found. At 09:11 PM 9/22/2003, you wrote: Hi, I have just upgraded a client server from 4.3.1 to 4.3.3, the server is = running Windows NT SP6. I upgraded by downloading the Zip file and = simply unzipping over the top of the old install. The webserver is on = drive C, and PHP is installed on drive D. After the installation however = I am getting the following error: Unable To Load Dynamic Link Library 'd:\php\extensions\php_imap.dll' the = specified module could not be found. Eveything else seems to work fine, and phpinfo() reports version 4.3.3. I have copied the extensions into the WinNT and WinNT/System32 = directory. I have tried modifying the php.ini file to point to the = correct path.. all to no avail. If anyone has any idea how to resolve = this issue I would be most grateful. Regards, Gareth Thomas -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] upgrade imap dll problem
all the dlls are in the proper folders for me. At 09:37 PM 9/22/2003, you wrote: And is that DLL in the folder specified? -Original Message- From: Gareth Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:36 PM To: Mike Brum; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] upgrade imap dll problem Mike, extension_dir does point to the correct directory. I do need the DLL since the application has an email module. Regards, Gareth Thomas - Original Message - From: "Mike Brum" <[EMAIL PROTECTED]> To: "'Gareth Thomas'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 6:32 PM Subject: RE: [PHP-WIN] upgrade imap dll problem I can think of two ways to probably fix this - 1) If you want to get rid of the error you should be able to comment the line in your php.ini file: extension=php_imap.dll 2) If you look at your extension_dir directive in the php.ini file, I'm guessing it says something like extension_dir = d:\php\extensions Make sure that you have 'php_imap.dll' in that folder. -M -Original Message- From: Gareth Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:12 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] upgrade imap dll problem Hi, I have just upgraded a client server from 4.3.1 to 4.3.3, the server is = running Windows NT SP6. I upgraded by downloading the Zip file and = simply unzipping over the top of the old install. The webserver is on = drive C, and PHP is installed on drive D. After the installation however = I am getting the following error: Unable To Load Dynamic Link Library 'd:\php\extensions\php_imap.dll' the = specified module could not be found. Eveything else seems to work fine, and phpinfo() reports version 4.3.3. I have copied the extensions into the WinNT and WinNT/System32 = directory. I have tried modifying the php.ini file to point to the = correct path.. all to no avail. If anyone has any idea how to resolve = this issue I would be most grateful. Regards, Gareth Thomas -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Browser detection w text version on the fly
Im making a script to parse my website into a text-only version, that part is pretty easy. But I was wondering if anyone out there knows a way to detect the browser and automatically configure for text mode if it is either a WAP Device or a text browser like Lynx for Linux? C-omputerSolutions.com Webmaster Galatekinc.com Webmaster -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] Please help !
the main problem is that each time it your script cycles through the different ids, it resets the header location to the last value received, the echo statement just prints each line as it comes up changed keeping the values you want to show, but the header reference changes every time you continue the loop and increment $i [see my comments in your script], there are a few ways you can handle this - you can use a MySQL database [if you have access to it] to store the variables after each pass, or you can use a third variable and add to it each time the loop goes through <> $i = 1 ; while ( $i <= $_SESSION["productlist"] ) ( $cartcontents = "$cartcontents$_SESSION[\"cart_m$i\"]"; $i = $i + 1 ; } header(" location : www.2checkout.com/cgibin/sbuyers/cart_order_id=".$cartcontents"."); or a variation on that that suits your situation <> -Original Message- From: Lawrence [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 11:02 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Please help ! // $_SESSION["cart_m"] includes these values : flower01 fruit01 cake01 When I echo $_SESSION["cart_m"] , it look like this $i = 1 ; while ( $i <= $_SESSION["productlist"] ) ( echo $_SESSION["cart_m$i"] ; <<[EMAIL PROTECTED] - COMMENT - this line works fine because each echo statement is printed to the same page >> $i = $i + 1 ; } Result is : flower01 fruit01 cake01 I want to use these values with 2checkout $i = 1 ; while ( $i <= $_SESSION["productlist"] ) ( header(" location : www.2checkout.com/cgibin/sbuyers/cart_order_id=".$_SESSION["cart_m$i"]."") $i = $i + 1 ; <<[EMAIL PROTECTED] COMMENT - Here, every time $i is incremented, the value of header(" location: ...) is changed as well therefore with each pass the header variable will equal the corresponding cart_m$i data (ie cart_m$1 = flower01, cart_m$2 = fruit01, cart_m$3 = cake01) which is why the only result you get is the cart_order_id=cake01>> } But result is I just receive the last result : www.2checkout.com/cgibin/sbuyers/cart_order_id=cake01 I want to get all values like this , but I do not know how to do , anyone can help me , thank you . www.2checkout.com/cgibin/sbuyers/cart_order_id=cake01fruit01flower01 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php