php-general Digest 29 Jan 2007 12:47:24 -0000 Issue 4596 Topics (messages 247924 through 247933):
Re: Entries no longer appear in search 247924 by: Kevin Jordan Re: Sporadic MSSQL connection error 247925 by: Chris Re: Select record by ID 247926 by: Francisco M. Marzoa Alonso 247927 by: Craige Leeder 247932 by: Robert Cummings XSLTProcessor->transformToURI() error handling 247928 by: Jason Karns HTTPS 247929 by: chetan rane 247930 by: Peter Lauri how to insert clog into oracle 247931 by: Nicholas Yim Suggestions of GPL plugin-system? 247933 by: Ivo F.A.C. Fokkema Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: php-general@lists.php.net ----------------------------------------------------------------------
--- Begin Message ---This was originally sent to the OpenLDAP list, but it was rejected because I mentioned PHP and phpLDAPadmin and said I should send it to the appropriate lists there. ---------- Forwarded message ---------- From: Kevin Jordan <[EMAIL PROTECTED]> Date: Jan 27, 2007 4:24 PM Subject: Entries no longer appear in search To: openldap-software@openldap.org I'm having the random problem of an OpenLDAPperson entry just no longer showing up in the search results, causing havoc on my logins. I used phpLDAPadmin to administer LDAP and I also use PHP wrappers (they store all the information and then use the ldap functions to modify the entry) to change information on my pages. A simple move and then move back seems to work to fix it, so they aren't completely gone, but they just don't show up in the search. Has anyone else experienced this problem? -- Kevin Jordan -- Kevin Jordan
--- End Message ---
--- Begin Message ---[EMAIL PROTECTED] wrote:Hi I'm having a sporadic connection problem with MSSQL. I have a php script which is called by a folder scanning application and sometimes it can run for hours without problem but other times it will run for just a few minutes and return connection errors. I tried using mssql_get_last_message but it always seems to return an empty string. I'd like to find out why the connection is failing but in the absense of error info from MSSQL, it's a bit problematic. Is there a creative way to actually get error strings back from MSSQL in light of the fact that mssql_get_last_message basically does squat? As a last ditch effort, I could run the connect line in a loop a set number of times until it succeeds but I would prefer to know why it fails.Anything show up on the other end - ie mssql logs ? -- Postgresql & php tutorials http://www.designmagick.com/
--- End Message ---
--- Begin Message ---On dom, 2007-01-28 at 18:20 -0600, Larry Garfield wrote: > On Sunday 28 January 2007 5:54 pm, Francisco M. Marzoa Alonso wrote: > > On dom, 2007-01-28 at 18:51 -0500, nitrox . wrote: > > > I took the quotes off. I thought that quotes around numbers was wrong > > > also. > > > > Quotes are no necessary around numeric values, but they aren't wrong > > neither, simply optional. > > Actually, I believe they are wrong in some database engines but not others. > MySQL doesn't care. Some others do. Yes, it sucks. :-( Good point, but he's using mysql in this case, and in mysql they're simply optional but not wrong. Regards,signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---As someone else already stated, my best guess according to that error is that $user_id has a null, or inappropriate value. The error occurs at the last character of the query, so it has to be something like hat. Echo the query and let us know what it outputs. - Craige On 1/28/07, Francisco M. Marzoa Alonso <[EMAIL PROTECTED]> wrote:On dom, 2007-01-28 at 18:20 -0600, Larry Garfield wrote: > On Sunday 28 January 2007 5:54 pm, Francisco M. Marzoa Alonso wrote: > > On dom, 2007-01-28 at 18:51 -0500, nitrox . wrote: > > > I took the quotes off. I thought that quotes around numbers was wrong > > > also. > > > > Quotes are no necessary around numeric values, but they aren't wrong > > neither, simply optional. > > Actually, I believe they are wrong in some database engines but not others. > MySQL doesn't care. Some others do. Yes, it sucks. :-( Good point, but he's using mysql in this case, and in mysql they're simply optional but not wrong. Regards,
--- End Message ---
--- Begin Message ---On Sun, 2007-01-28 at 21:12 -0500, Craige Leeder wrote: > As someone else already stated, my best guess according to that error > is that $user_id has a null, or inappropriate value. The error occurs > at the last character of the query, so it has to be something like > hat. Echo the query and let us know what it outputs. This is coding 101, echo your output and don't presume you know what you're doing. My wager is that there's a 100% chance he has a null or empty string value in the variable. A two second echo would have presented the problem immediately. Given that he probably doesn't have a clue what's in the variable, it's probably registered via register globals or pulled directly from $_GET or $_POST and he's asking for trouble by not escaping it. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'
--- End Message ---
--- Begin Message ---If there is a failure in 'XSLTProcessor->transformToURI()' (it returns false) is nothing written to the file specified? I ask because I'm implementing a caching system. I'm having the output written to a cache file and want to be guaranteed that in case of error, the specified file remains as it was before the operation. In other words, I'd like the destination file to be written to IF and ONLY IF the transformation is successful. Is this the case? Jason Karns ~~~~~~~~~~~ The Ohio State University [www.osu.edu] Computer Science & Engineering [www.cse.osu.edu]
--- End Message ---
--- Begin Message ---hi everyone i am writing a progrram for a Jabber COnnection manager. I want to access the client XML using HTTPS. do any one know a way to so it Have any one the -- Have A plesant Day Chetan. D. Rane Location: Pune , India Contact: +91-9890792762 otherID: [EMAIL PROTECTED] [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---http://php.net/curl Best regards, Peter Lauri www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -----Original Message----- From: chetan rane [mailto:[EMAIL PROTECTED] Sent: Monday, January 29, 2007 8:31 AM To: php-general@lists.php.net Subject: [PHP] HTTPS hi everyone i am writing a progrram for a Jabber COnnection manager. I want to access the client XML using HTTPS. do any one know a way to so it Have any one the -- Have A plesant Day Chetan. D. Rane Location: Pune , India Contact: +91-9890792762 otherID: [EMAIL PROTECTED] [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---Hello php-general, either pdo nor oci example is ok. thx Best regards, Nicholas Yim [EMAIL PROTECTED] 2007-01-29
--- End Message ---
--- Begin Message ---Hi guys, I've been developing a GPL PHP/MySQL app for some time now and I would like to extend it with a module/plugin system. The idea would be that people could add a directory in a plugin path that would contain a bunch of PHP files extending the functionality of my application. This directory would then be read out, some config file parsed and whatnot, after which the module can be turned on by my application. Now, I could try and figure this out by myself, but that would be reinventing the wheel since I'm betting there is some good GPL modular software around (such as Joomla, PHP-Nuke, PHPbb, etc, etc.) that you have been working with as a coder. Could any of you suggest a certain GPL application that has a great module setup that I could take a look at? Thanks a lot for your time! Ivo
--- End Message ---