Re: [PHP] executing php scripts via cron

2004-05-18 Thread Clifford W. Hansen
Merlin,
 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php  /dev/
null

That looks right to me, have you tried executing the command with the full 
path?

I have a couple of php scripts running as cron jobs and web scripts...

Also try php -q scriptname -q is for quiet which suppresses the html headers

-- 
Thank You,

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if so 
stated), of the stated addressee(s) only. The information is confidential and 
privileged. If you are not an intended recipient, do not peruse, use, 
disseminate, distribute, copy or in any manner rely upon the information 
contained in this message (directly or indirectly). The sender and/or the 
entity represented by the sender shall not be held accountable in the event 
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by e-mail, 
fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or 
implied, are those of the sender only, unless that sender expressly states 
them to be the views or representations of an entity or person, who shall be 
named by the sender and who the sender shall state to represent. No liability 
shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] class_xslt

2004-05-17 Thread Clifford W. Hansen
eoghan,
snip
 $xml = ?xml version=\1.0\ encoding=\UTF-8\ ?\r\n;
 $xml .= \tapps\r\n;
 $xml .= \t\tapplication id=\1\\r\n;
 $xml .= \t\t\tnameEditor/name\r\n;
 $xml .= \t\t\tauthorJohn/author\r\n;
 $xml .= \t\t\tbugs\r\n;
 $xml .= \t\t\t\tbug\r\n;
 $xml .= \t\t\t\t\tdescFoo/desc\r\n;
 $xml .= \t\t\t\t\t\tsev2/sev\r\n;
 $xml .= \t\t\t\t/bug\r\n;
 $xml .= \t\t\t\tbug\r\n;
 $xml .= \t\t\t\t\tdescBar/desc\r\n;
 $xml .= \t\t\t\t\t\tsev3/sev\r\n;
 $xml .= \t\t\t\t/bug\r\n;
 $xml .= \t\t\t/bugs\r\n;
 $xml .= \t/apps\r\n;
/snip

Basically the only problem I can see is you don't have an ending application 
tag.
-- 
Thank You,

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if so 
stated), of the stated addressee(s) only. The information is confidential and 
privileged. If you are not an intended recipient, do not peruse, use, 
disseminate, distribute, copy or in any manner rely upon the information 
contained in this message (directly or indirectly). The sender and/or the 
entity represented by the sender shall not be held accountable in the event 
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by e-mail, 
fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or 
implied, are those of the sender only, unless that sender expressly states 
them to be the views or representations of an entity or person, who shall be 
named by the sender and who the sender shall state to represent. No liability 
shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] LAMP

2004-05-07 Thread Clifford W. Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 07 May 2004 16:59, Brent Clark wrote:
 Anyone know what LAMP stand for
Linux
Apache
MySQL
PHP
- -- 
Thank You,

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if so 
stated), of the stated addressee(s) only. The information is confidential and 
privileged. If you are not an intended recipient, do not peruse, use, 
disseminate, distribute, copy or in any manner rely upon the information 
contained in this message (directly or indirectly). The sender and/or the 
entity represented by the sender shall not be held accountable in the event 
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by e-mail, 
fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or 
implied, are those of the sender only, unless that sender expressly states 
them to be the views or representations of an entity or person, who shall be 
named by the sender and who the sender shall state to represent. No liability 
shall otherwise attach to any other entity or person.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iQCVAwUBQJuk090vijRqUwkiAQLs6QP+NBh3Cb8+MQV9Wh1uOJcxkt3S2tLb8DFh
1GZ04x8q9VrMrnxiUENulDSA/Dgkpp53+PtdBcmGqaS+9adb6VSA5mxvQFUc9LB4
xc32XPSuMjY6kZMhzCGNBooeMOC4CsI0oLiwbdzBaQAkek8lmvhYfzi63mVG20Oq
sZK3xSrpsIo=
=nvS0
-END PGP SIGNATURE-

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Encrypting Source

2004-04-20 Thread Clifford W. Hansen
Thanx to all for the suggestions...

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

Registered Linux user number 343424 on http://counter.li.org/ 

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Encrypting Source

2004-04-16 Thread Clifford W. Hansen
Greetingz,

We are looking for some encryption software for our PHP source code,
We know of a couple but wanto find out which are good and which are not...

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

Registered Linux user number 343424 on http://counter.li.org/ 

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] SsH

2004-04-13 Thread Clifford W. Hansen
Does anybody know if theirs a function or something for php that when I
click a button it automatically sshes into a box runs a script and then
exits?
Ive seen it been done in java but php would be better.

`ssh [EMAIL PROTECTED] scriptname`

Something like that will work using backticks, the only problem is the
password which can be resolved using keys...

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

Registered Linux user number 343424 on http://counter.li.org/ 

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Form and php

2004-03-24 Thread Clifford W. Hansen
T,

Couple of things to try:

  $_REQUEST[Field Name]

or you could extract the values http://www.php.net/extract

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

Registered Linux user number 343424 on http://counter.li.org/

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Possible to have Array in $_SESSION????

2004-03-18 Thread Clifford W. Hansen
Scott,

Yes it is, You can also store objects in $_SESSION 

Eg.
$_SESSION['Config'] = array( DBName = Common, DBHost = localhost
);

Eg.
MySQL_Connect( $_SESSION['Config']['DBHost'] );

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)

Registered Linux user number 343424 on http://counter.li.org/

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Javascript Mouseover Help

2004-03-17 Thread Clifford W. Hansen
Jake, 

Personally I don't use the EndHTML things...

Try using something like this:
[code]
$tableheaderformat = EndFormat
id=JMTS bgcolor=#ABCED6 onmouseover=if(document.layers) {
document.layers['JMTS'].bgColor='#EE' } else { if(document.all) {
document.all['JMTS'].
style.background='#EE' } else { if(this.style) {
this.style.background='#EE' } } } onmouseout=if(document.layers) {
document.layers['JMTS'].bgColor= '#ABCED6' } else { if(document.all) {
document.all['JMTS'].style.background='#ABCED6' } else { if(this.style) {
this.style.background='#ABCED6' } } }
EndFormat;
[/code]

EndFormat; was not on a line of it's own...
Also there was no closing  on the second last line '#ABCED6' } } }

Or 

[code]
$tableheaderformat = 
id=\JMTS\ bgcolor=\#ABCED6\ onmouseover=\if(document.layers) {
document.layers['JMTS'].bgColor='#EE' } else { if(document.all) {
document.all['JMTS'].
style.background='#EE' } else { if(this.style) {
this.style.background='#EE' } } }\ onmouseout=\if(document.layers) {
document.layers['JMTS'].bgColor= '#ABCED6' } else { if(document.all) {
document.all['JMTS'].style.background='#ABCED6' } else { if(this.style) {
this.style.background='#ABCED6' } } }\;
[/code]

Just escape the  with \

Hope this helps...

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)

Registered Linux user number 343424 on http://counter.li.org/

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Javascript Mouseover Help

2004-03-17 Thread Clifford W. Hansen
Jake,

Have you tried the second option, I've never seen a variable assigned with
Var format...

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)

Registered Linux user number 343424 on http://counter.li.org/

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.


-Original Message-
From: Jake McHenry [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 18, 2004 8:56 AM
To: Clifford W. Hansen
Subject: Re: [PHP] Javascript Mouseover Help

In my post, EndFormat was on it's own line. Outlook express probably screwed
it up.

and I'm not seeing where you added a closing ? The javascript worked fine,
thats not the problem, it's just somehow not being executed.

Jake


- Original Message -
From: Clifford W. Hansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 1:45 AM
Subject: RE: [PHP] Javascript Mouseover Help


 Jake,

 Personally I don't use the EndHTML things...

 Try using something like this:
 [code]
 $tableheaderformat = EndFormat
 id=JMTS bgcolor=#ABCED6 onmouseover=if(document.layers) {
 document.layers['JMTS'].bgColor='#EE' } else { if(document.all) {
 document.all['JMTS'].
 style.background='#EE' } else { if(this.style) {
 this.style.background='#EE' } } } onmouseout=if(document.layers) {
 document.layers['JMTS'].bgColor= '#ABCED6' } else { if(document.all) {
 document.all['JMTS'].style.background='#ABCED6' } else { if(this.style) {
 this.style.background='#ABCED6' } } }
 EndFormat;
 [/code]

 EndFormat; was not on a line of it's own...
 Also there was no closing  on the second last line '#ABCED6' } } }

 Or

 [code]
 $tableheaderformat = 
 id=\JMTS\ bgcolor=\#ABCED6\ onmouseover=\if(document.layers) {
 document.layers['JMTS'].bgColor='#EE' } else { if(document.all) {
 document.all['JMTS'].
 style.background='#EE' } else { if(this.style) {
 this.style.background='#EE' } } }\ onmouseout=\if(document.layers) {
 document.layers['JMTS'].bgColor= '#ABCED6' } else { if(document.all) {
 document.all['JMTS'].style.background='#ABCED6' } else { if(this.style) {
 this.style.background='#ABCED6' } } }\;
 [/code]

 Just escape the  with \

 Hope this helps...

 Till We Meet Again...

 Clifford W. Hansen
 Operations Support Developer
 Aspivia (Pty) Ltd.

 +27 (0) 11 259-1150 (Switchboard)
 +27 (0) 11 259-1019 (Fax)
 +27 (0) 83 761-0240 (Mobile)
 [EMAIL PROTECTED] (EMail)

 Registered Linux user number 343424 on http://counter.li.org/

 We have seen strange things today! Luke 5:26

 This message contains information intended for the perusal, and/or use (if
 so stated), of the stated addressee(s) only. The information is
confidential
 and privileged. If you are not an intended recipient, do not peruse, use,
 disseminate, distribute, copy or in any manner rely upon the information
 contained in this message (directly or indirectly). The sender and/or the
 entity represented by the sender shall not be held accountable in the
event
 that this prohibition is disregarded.

 If you receive this message in error, notify the sender immediately by
 e-mail, fax or telephone and return and/or destroy the original message.

 The views or representations contained in this message, whether express or
 implied, are those of the sender only, unless that sender expressly states
 them to be the views or representations of an entity or person, who shall
be
 named by the sender and who the sender shall state to represent. No
 liability shall otherwise attach to any other entity or person.

 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Anyone Can Help Me?

2004-03-15 Thread Clifford W. Hansen
Harry, 

This could be due to a setting in your php.ini: short_open_tags = off
Either set this to on or use ?php phpinfo() ?

Till We Meet Again...

Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.

+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)

Registered Linux user number 343424 on http://counter.li.org/

We have seen strange things today! Luke 5:26

This message contains information intended for the perusal, and/or use (if
so stated), of the stated addressee(s) only. The information is confidential
and privileged. If you are not an intended recipient, do not peruse, use,
disseminate, distribute, copy or in any manner rely upon the information
contained in this message (directly or indirectly). The sender and/or the
entity represented by the sender shall not be held accountable in the event
that this prohibition is disregarded.

If you receive this message in error, notify the sender immediately by
e-mail, fax or telephone and return and/or destroy the original message.

The views or representations contained in this message, whether express or
implied, are those of the sender only, unless that sender expressly states
them to be the views or representations of an entity or person, who shall be
named by the sender and who the sender shall state to represent. No
liability shall otherwise attach to any other entity or person.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php