Re: [PHP] Help Desk software

2005-12-20 Thread Glenn Sieb
Daniel Lahey said the following on 12/20/2005 10:28 PM: Can anyone recommend some good Open-Source Help Desk software for PHP? (I know this is a little off-topic, but I'm having a hard time finding decent Open Source software.) IMHO the best is RT, which is Perl and Mason.

Re: [PHP] Re: Using localhost is taking me to localhost.com!!! why?

2002-08-28 Thread Glenn Sieb
Hey Wm, Nothing prevents you from running a webserver on your local host (unless of course you're on a corporate network where it's generally pooh-poohed by the AoH (Admins on High). Lots of developers run local webservers to check their work. And, since localhost refers to 127.0.0.1 or the

[PHP] PHP and Windows Active Directory...

2002-08-21 Thread Glenn Sieb
I know that *ahem* theoretically Active Directory uses LDAP... has anyone had any luck getting PHP to talk to Active Directory? Basically I'd like to fool around with a webpage for a corporate directory based on AD entries... if anyone has had any luck with this, I'd appreciate it :))) As

Re: [PHP] Win PHP Editor...

2002-08-10 Thread Glenn Sieb
My favorite win-editor is UltraEdit (http://www.idmcomp.com) Also does nice color-tagging, and is very user-customizable that way! Glenn At 03:02 PM 8/10/2002 -0400, Randy Johnson posted the following... I noticed they have not come out with a new version in quite a long time and do not answer

Re: [PHP] decrypting values in MYSQL

2002-08-01 Thread Glenn Sieb
At 09:44 AM 8/2/2002 +0800, Michael P. Carel posted the following... so you mean there's no way to decrypt that. I wan't to create a Password Reminder to my script, that would email them their password if ever they forgot it. Is there any suggestion/comments? You can, instead, have it email to

[PHP] CMS systems using PHP and PostgreSQL?

2002-07-27 Thread Glenn Sieb
Does anyone know of a good CMS using both PHP and PostgreSQL? I see a lot of CMS' out there like pHpSlash, but I'd like to find one that works with PostgreSQL if possible.. :) (I use PostgreSQL for a few other things, and would much rather not have to load MySQL on the server as well)

Re: [PHP] (OT) No Punishment for Erik Hegreberg, Yet...

2002-07-11 Thread Glenn Sieb
Personally I think they're copping out. How many of us forwarded EVERY piece of his crap to them? There's an old (ok not so old) saying: Eat rice. A couple billion Chinese people can't be wrong. Why these admins can't catch a clue and, by the sheer volume of the emails, do something about

[PHP] Re: Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Glenn Sieb
Has anyone read: PHP and PostgreSQL Advanced Web Programming by Ewald Geschwinde and Hans-Juergen Schoenig yet? I'd been waiting for this book to come out... but would like to know if it's actually worth the $ first. Back to the question at hand... Personally I like PostgreSQL for a few

Re: [PHP] majordomo in php?

2002-06-07 Thread Glenn Sieb
That's what majordomo and the others do. People send messages to [EMAIL PROTECTED] that have commands like subscribe, unsubscribe, digest, etc. Glenn On 10:39 AM 6/7/2002 -0500, The Gabster wrote: thanks Dave, that makes sense... i was just thinking of a mailing list totally controled

Re: [PHP] disabled cookies and sessions

2002-06-07 Thread Glenn Sieb
On 06:33 PM 6/7/2002 +0200, Nick Wilson wrote: I have compiled php with --enable-trans-sid but when I diable cookies on my brower (Mozilla 1) the obeject I'm trying to pass (eg: its properties) are not bein passed. I've used sessions a lot so I'm sure it's not my php at fault but something is

Re: [PHP] Sessions

2002-06-02 Thread Glenn Sieb
At 08:32 AM 6/3/2002 +1000, Justin French posted the following... sitepoint.com has a nice one on restricting pages with login/sessions, etc by Kevin Yank. http://www.WebmasterBase.com/article/319 Is that the one you're referring to, Justin? It seems pretty good.. :) Glenn --- The original

Re: [PHP] Re: PHP+MySQL - Excel ?

2002-05-17 Thread Glenn Sieb
At 02:13 PM 5/17/2002 -0300, Manuel Lemos posted the following... Hello, On 05/17/2002 01:18 PM, Evan wrote: Is it possible to create an excel file with some data from mySQL, using PHP ? Sure, you can use this class to generate Excel files on fly on even in non-Windows platforms. Heck,

[PHP] I just wanted to thank everyone.. :) (Kinda long...)

2002-05-11 Thread Glenn Sieb
Hey everyone! After some futzing about, and using techniques you guys all helped out with, I now have a nice, portable, fully-commented-for-future-maintenance script for doing *all* of my SQL queries to our MSSQL server, and outputting a nice, easy-to-read table. I only have to change one

[PHP] Serialize/URLencode query...

2002-05-11 Thread Glenn Sieb
I'd like to pass a bunch of variables to another PHP page for processing there... I think serialize() and urlencode() will do what I'm looking for.. can I pass multiple strings through this? I'm also not clear on how I can decode the separate strings out... Can someone point me in the right

RE: [PHP] Serialize/URLencode query...

2002-05-11 Thread Glenn Sieb
At 12:11 AM 5/12/2002 -0700, John Holmes posted the following... You should use sessions. All you have to do is call session_start() at the beginning of your code. Then, any variable you want to save to the session, you simply use: That did the trick! Thanks for the explanation, John! Now I have

[PHP] Alternating table rows...

2002-05-10 Thread Glenn Sieb
Hi everyone, I have a PHP script that reads data from an MS SQL server and outputs the data into a table. I've been asked if I can alternate the colors of the rows to make the report more legible. The relevant piece of code looks like: for ($i = 0; $i mssql_num_rows( $stmt ); ++$i)

[PHP] Re: Alternating table rows...

2002-05-10 Thread Glenn Sieb
Austin, you rock :) I've only just started with PHP recently, and was introduced to the ternary operators by reading Rasmus' book (great job, Rasmus!!!), so I'm learning as I go here :) Thanks buddy! Glenn On 01:50 PM 5/10/2002 -0500, Austin Marshall wrote: $color=($i%2) ? grey : white; will

Re: [PHP] Alternating table rows...

2002-05-10 Thread Glenn Sieb
On 02:47 AM 5/11/2002 +0800, Jason Wong wrote: if ($i % 2) { odd; } else { even; } Great! Thanks, Jason :))) One thing I love about this list... you guys are more than helpful! :) Glenn --- Glenn E. Sieb, System Administrator Lumeta Corp. mailto:[EMAIL PROTECTED] +1 732 357-3514 (V)

[PHP] Alternating Table Rows, Part Deux..

2002-05-10 Thread Glenn Sieb
Hey everyone! Thanks for all the hints--here's what my boss and I eventually came out with: /* ## ## And for every row of data we pull, we create a table row... ## */ $company = 0; $previous = ; for ($i =

[PHP] Getting PHP on FreeBSD to talk to MSSQL Server 7...

2002-05-10 Thread Glenn Sieb
Hi.. it's me again :) We have a few different servers here, most of which are FreeBSD, including our internal web server (Apache 1.3.24). We have PHP 4.2.0 installed as well. Currently I'm running my MSSQL query scripts on a Win2k webserver, as I can't seem to get PHP to talk to MSSQL on the

Re: [PHP] Re: Alternating Table Rows, Part Deux..

2002-05-10 Thread Glenn Sieb
On 04:58 PM 5/10/2002 -0500, Miguel Cruz wrote: But he's dealing with cases where the company name remains the same but other data in the row changes (for instance, a company with multiple offices, where you wanted to list the phone number and address for each). GROUP BY would discard that other

Re: [PHP] Alternating Table Rows, Part Deux..

2002-05-10 Thread Glenn Sieb
Thanks! I'll play with this!!! :) Glenn On 05:11 PM 5/10/2002 -0500, Shaun Thomas wrote: This could use a few tweaks. First off, putting mysql_num_rows in the actual for loop executes it every iteration. Bad. Second, consider giving your code some readability by returning an associative

Re: [PHP] Alternating Table Rows, Part Deux..

2002-05-10 Thread Glenn Sieb
On 05:11 PM 5/10/2002 -0500, Shaun Thomas wrote: This could use a few tweaks. Ok I got it now... This exhibits the behaviour I was looking for, and, thanks to you, is much easier to read and maintain! :))) Thanks, Shaun! Glenn $sPrevCompany = $sColor = ''; while ($aRow =