appreciated to overcome massive
select lists ?
_
Chris Gregors
We have the courage to innovate
Potestatem Obscuri Lateris Nescis
smime.p7s
Description: S/MIME cryptographic signature
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
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
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
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
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/time
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
?php
if ( date(l) == Friday) {
echo get_defn(STFA);
} else {
echo Not today eh!\n;
}
function get_defn($string) {
if ( $string == STFA) $i = mt_rand(0,3);
switch($i) {
case 0: return search the fucking archives\n;
case 1:
8 matches
Mail list logo