Re: [PHP] Organisation of classes

2004-12-01 Thread Robert Cummings
On Wed, 2004-12-01 at 22:31, Greg Donald wrote: > On Wed, 01 Dec 2004 21:59:25 -0500, Robert Cummings > <[EMAIL PROTECTED]> wrote: > > PHP is plenty well developed, but PHP != Java and nor would most want it > > to be. Java *ACK PTHEEWY*. > > I see alot of Java influence in PHP5 myself. I thought

Re: [PHP] Organisation of classes

2004-12-01 Thread Greg Donald
On Wed, 01 Dec 2004 22:41:14 -0500, Robert Cummings <[EMAIL PROTECTED]> wrote: > I thought it was Smalltalk. But then I prefer PHP for it's similarities > to C even if I do write 99% of my code into classes. Could be.. I never wrote any Smalltalk so I wouldn't know. -- Greg Donald Zend Certifi

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
Hello, There is another smtp server ... I should of provided more info ... I set up a postfix server to do the following: 1. Receives mail from outside ... if it is NOT spam 2. Virus scanned and then forward to exchange if it IS SPAM 2. Sent to a virtual type mail box and virus scanned. Thi

RE: [PHP] PHP mail redirect ??

2004-12-01 Thread Vail, Warren
OK, now we are getting somewhere. On my machines, this is referred to as an email forwarder and yes SMTP handles it, however, I am not sure how you are handling your spam detection. On my servers I use "spam assassin" and it's detection is not fool proof. If people send images in their email wit

RE: [PHP] php extension problem

2004-12-01 Thread Zareef Ahmed
>Hi folks, >well, I hope you can help me out. I have a Windows XP machine running >Apache 2.x and Php 5.x. So far, everything works fine. I have placed >the php5ts.dll file in my System32 directory, kopied the php.ini file >in the Windows root directory and loaded the apache module for php5. So

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
I am using bogofilter and it works well ... so far. Postfix is taking care of the redirection with regards to redirecting spam mail to the virtual account. What I need now is a way for the user to say ... wait this is not spam, redirect / forward back to my Inbox. The web interface provides a d

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread Jonathan Duncan
Perhaps this gets more into server administration, but it is mixed so much into the php script, which is why I am asking it here. Yes, sudo was one of my first thoughts. As far as the implementation goes though. How do you work the remote access bit? Using ssh do you use the ssl cert switch

Re: [PHP] Go Back Problem

2004-12-01 Thread Thomas Goyne
On Thu, 2 Dec 2004 09:58:46 +0800, Cyrus <[EMAIL PROTECTED]> wrote: Dear All, I have a problem of back to the previous page in php. I need to create a form let people to fill in .It can let user to preview the form, if information is not correct , user can back to previous page and corre

Re: [PHP] Date Manipulation

2004-12-01 Thread Christopher Weaver
Sorry about that. Works great with date. Thanks. "Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >* Christopher Weaver <[EMAIL PROTECTED]>: >> This code: >> >> echo strtotime("now"); >> echo mktime("Ymd", strtotime("now")); >> >> is producing this result:

[PHP] Apache 2 on RedHat

2004-12-01 Thread Bart Baenisch
Hi - I believe I understand the thread unsafeness problem, and I think a reasonable cure is the prefork MPM for Apache 2, as RedHat distributes. If we decide to avoid the work of removing the Apache 2.whatever that RedHat distributes and building our own Apache 1.3.3whatever, are there an

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread Jonathan Duncan
I have put this in my sudoers file using visudo to edit it: www ALL = NOPASSWD: /usr/local/bin/sudo puser, (puser) NOPASSWD: /usr/bin/ssh /usr/bin/id However the www user is still being asked for a password. Is this too off topic for this list? Jonathan "Jonathan Duncan" <[EMAIL PROTECTED]>

[PHP] Sessions and Shopping Cart

2004-12-01 Thread R. Van Tassel
I am programming a site using sessions and a shopping cart and was wondering if someone could point me to some good tutorials online about using sessions and a shopping cart. I have books and can read through both (and am) but want some good *practical* and *functional* examples. Thanks in adva

Re: [PHP] Apache 2 on RedHat

2004-12-01 Thread Thomas Goyne
On Wed, 1 Dec 2004 22:13:37 -0800, Bart Baenisch <[EMAIL PROTECTED]> wrote: I believe I understand the thread unsafeness problem, and I think a reasonable cure is the prefork MPM for Apache 2, as RedHat distributes. If we decide to avoid the work of removing the Apache 2.whatever that RedHa

Re: [PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread Jonathan Duncan
Looks like I was missing a comma after the ssh command and before the id command. Jonathan "Jonathan Duncan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have put this in my sudoers file using visudo to edit it: > > www ALL = NOPASSWD: /usr/local/bin/sudo puser, (puser) NOP

<    1   2