[PHP-DB] Google Code Search

2006-10-10 Thread Jeremy Peterson
Another resource for source code, when will Google stop being so innovative... :) http://www.google.com/codesearch Jeremy Jeremy Peterson, MACS Automation Systems Administrator Education Technology Services Moody Bible Institute 820 N. LaSalle Drive Chicago, IL, 60610 Email

Re: [PHP-DB] How can I solve this?

2006-01-19 Thread Jeremy Peterson
AIL PROTECTED]&*+=-]+\.php$/ Keep 'em coming! -- Eric Pement - [EMAIL PROTECTED] Educational Technical Services, MBI Jeremy Peterson, MACS Automation Systems Administrator Crowell Library Moody Bible Institute 820 N. LaSalle Drive Chicago, IL, 60610 Email: [EMAIL PROTECTED] Phone: 312.329.8081 Fax:312.329.8959

[PHP-DB] Sybase Query- Problems with Pound Sign

2003-08-14 Thread Jeremy Peterson
I am having a problem with a query that has a pound sign in it. The results are quite puzzling, it seems like the page doesn't load if the query is present. I have tested this on other tables without the pound sign and they work beautifully, seems like the pound sign is the troublemaker to me

Re: [PHP-DB] Sybase Query- Problems with Pound Sign

2003-08-06 Thread Jeremy Peterson
Yep, I wish I could name the fields, but alas it is not my database application. For some reason it works... :) When I use isql it works as expected, thus the problem. At 10:41 PM 8/5/2003 -0400, John W. Holmes wrote: Jeremy Peterson wrote: I am having a problem with a query that has a pound

Re: [PHP-DB] Authenticating through a php script

2003-01-09 Thread Jeremy Peterson
e, you can reference that information to determine how to proceed. Here's the doc: http://www.php.net/manual/en/ref.session.php --Dave On Thu, 2003-01-09 at 11:29, Jeremy Peterson wrote: > David, > > I have ldap working, my problem is the second half of my question. > > Th

Re: [PHP-DB] Authenticating through a php script

2003-01-09 Thread Jeremy Peterson
))to verify a username/password on the LDAP server. Here's some PHP code that will do it or you: $ldap_server = "example.com"; // change to your LDAP server host name $ldap_port = 389; // might be different for your server $pw = "yourpassword"; // change to your password $

[PHP-DB] Authenticating through a php script

2003-01-09 Thread Jeremy Peterson
I am working on a script that will authenticate on a central system my company has devised for us to use (LDAP) and then authenticate them to other sites that I want them to access (Online Databases and other electronic resources I do not control but pay lots of money for all students to access).

Re: [PHP-DB] string

2002-05-17 Thread Jeremy Peterson
Sure- $test = "text1"; if(substr($test, -1) == 1){ print "do something"; } else{ print "didn't equal 1 "; At 08:00 AM 5/17/2002 -0400, Natividad Castro wrote: >Hi to all, >how can I evaluate a variable? >For example >$test = "test1"; >then I want to evaluate if $test contains

Re: [PHP-DB] Query with numbers like 1, 3, 5..........

2002-02-07 Thread Jeremy Peterson
select * from table where id in (1,3,5,10,'etc') At 08:22 PM 2/7/2002 +0100, Raymond Lilleodegard wrote: >Hi! > >Is there a way to get the rows with id's like 1, 3, 5, and so on or 2, 4, 6, >...? > > >Best regards Raymond > > > >-- >PHP Database Mailing List (http://www.php.net/) >To unsu

Re: [PHP-DB] Update

2002-02-04 Thread Jeremy Peterson
Hello, I am not sure why you want to do this. Wouldn't it be better to use calculate the days from the date signed up, rather than through updating your database every day. Try using datediff. Jeremy At 01:51 PM 2/4/2002 -0800, Jennifer Downey wrote: >Hi, > >I am having problems with this c