RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Chris Gregors
This whole thread has degraded to the point of: YHBT. YHL. HAND. and I'm not helping it. -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 2:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect does not connect * Thus wrote

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Chris Gregors
:^) too many free cycles. -Original Message- From: Jennifer Goodie [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect does not connect -- Original message from "John Holmes" : -- > Whatever

RE: [PHP] inserting timestamp into mysql field

2004-09-21 Thread Chris Gregors
If you are working with a timestamp in some other format, this works well: $ts = date("Y-m-d H:i:s",strtotime($sring_with_timestamp)); If you want to create a timestamp at the execution time, this works well: $ts = date("Y-m-d H:i:s"); Both will generate mysql compatiable date/t

RE: [PHP] Cannot write data in session file

2004-09-22 Thread Chris Gregors
1. logon to the linux image. 2. determine the userid that the webserver runs as (for apache, look in httpd.conf) 3. su to that user 4. cd /tmp. 5. touch temp_file. If the touch works, then contact your sysadm If the touch doesn't work, contact your sysadm to grant write access to /tmp for the use

RE: [PHP] Strange errors when PHP script called from CRON

2004-09-22 Thread Chris Gregors
Typically problems with scripts failing to run from cron can be tracked back to environment variables. When you run it from the shell, you have the users env variables set. When it runs from cron, it (typically) has a slightly different environment. A simple way to test it is to get your shell

RE: [PHP] Good xml to array class?

2004-09-23 Thread Chris Gregors
I've had good success with this one: http://www.devdump.com/phpxml.php -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 12:04 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Good xml to array class? * Thus wrote Brent Clements: > I've done s

RE: [PHP] Virtual Host problem

2004-09-23 Thread Chris Gregors
scan your apache httpd.conf file for the following: User apache Group apache Note the userid and groupid (I use apache). Verify that the index.php files are readable by the apache "User" and "Group". Correct the file ownership and/or change the User/Group that apache runs as. -Original Me

[PHP] Scaling select lists

2004-11-02 Thread Chris Gregors
more I've considered going to dual select boxes like the one @ http://www.philwebb.com/code/list_box.asp Has anyone applied a solution that users appreciated to overcome massive select lists ? _____ Chris Gregors We have the courage to innovate Potestatem Obscuri Lateris Nescis smim