[PHP] Re: Setting PHP to use SMTP

2006-10-15 Thread David Robley
Dave M G wrote: > PHP List, > > In an effort to make emails that I send through PHP scripts not be > mistaken for spam, it seems that one thing I need to do is make sure > that the emails are sent via SMTP. > > Right now, if I check my PHP generated emails with Spamassassin, it says: > > -0.0 N

[PHP] Setting PHP to use SMTP

2006-10-15 Thread Dave M G
PHP List, In an effort to make emails that I send through PHP scripts not be mistaken for spam, it seems that one thing I need to do is make sure that the emails are sent via SMTP. Right now, if I check my PHP generated emails with Spamassassin, it says: -0.0 NO_RELAYS Informational: message

[PHP] Re: [PEAR] array on addElement, does not work => QuickForm

2006-10-15 Thread Louie Miranda
Ok thanks a bunch. On 10/13/06, Ian Warner <[EMAIL PROTECTED]> wrote: Louie Miranda wrote: > Now i know. Wow, this is really a great tool. > > Can i filter CCexpiry for month and year.. lets say if today is > october 2006 > and user selected may 2006 (where it should had been expired already).

Re: [PHP] Date calculation

2006-10-15 Thread Travis Doherty
Ron Piggott (PHP) wrote: >I have one more date based question. > >I have a month field ( $month ) and a day field ( $day ) being submitted >by a form. > >I have a third field to be used as a date reminder for the information >which was submitted as part of the form. It is a reminder to complete a

[PHP] Date calculation

2006-10-15 Thread Ron Piggott (PHP)
I have one more date based question. I have a month field ( $month ) and a day field ( $day ) being submitted by a form. I have a third field to be used as a date reminder for the information which was submitted as part of the form. It is a reminder to complete a task for the date was which was

Re: [PHP] PHP causing seg fault

2006-10-15 Thread Glenn Richmond
Hi guys, I'm running Fedora Core 5 - so yes, a red hat system. I'm told it doesn't happen on FC4 and PHP5.04 though. I'm definitely not causing an infinite loop directly in the PHP code, though I agree that it sounds like that. I think that maybe PHP is getting into a loop internally though as a

Re: [PHP] php - mysql question

2006-10-15 Thread Chris
Dave Goodchild wrote: Hi all. I am writing a web app with a mysql back end and there is every chance one of the tables may have to handle 56+ million records. I am no mysql expert but has anyone else here ever handled that volume of data, and if so, any suggestions or caveats? The tables will of

Re: [PHP] Month in a numeric form

2006-10-15 Thread J R
http://www.php.net/manual/en/function.strtotime.php http://www.php.net/manual/en/function.date.php On 10/16/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote: Is there a way I am able to use the DATE command to convert January to 1, February to 2, etc. -- GMail Rocks!!!

Re: [PHP] Month in a numeric form

2006-10-15 Thread Travis Doherty
Ron Piggott (PHP) wrote: >Is there a way I am able to use the DATE command to convert January to >1, February to 2, etc. > > > What is wrong with date()? www.php.net/date $month = 'Jan'; $numericMonth = date('m', strtotime("$month 01 2000"); Travis Doherty -- PHP General Mailing List (http:/

Re: [PHP] A no brainer...

2006-10-15 Thread Ed Lazor
On Oct 15, 2006, at 3:27 PM, Tony Di Croce wrote: Wow... well, I was certainly not speaking from direct experience, only from what seemed to make sense to me. This tells me that their is some serious room for improvement in PHP de-serialization code... Well, kinda. Hard disks are a lot sl

[PHP] Month in a numeric form

2006-10-15 Thread Ron Piggott (PHP)
Is there a way I am able to use the DATE command to convert January to 1, February to 2, etc.

Re: [PHP] A no brainer...

2006-10-15 Thread Tony Di Croce
Wow... well, I was certainly not speaking from direct experience, only from what seemed to make sense to me. This tells me that their is some serious room for improvement in PHP de-serialization code... td Sorry Tony, I should have been more clear. I already know that storing session data

[PHP] Solution: [PHP] OOP slow -- am I an idiot?

2006-10-15 Thread Chris de Vidal
As I cannot think of a class-based way to build my report, I think I'll use a customer class everywhere BUT in the report. Inside the report I'll just use one SQL statement instead of dozens of instances and hundreds of queries. I'll make a note inside the class that this and that method is not

Re: [PHP] Interchange.

2006-10-15 Thread Jo�o C�ndido de Souza Neto
I want to go to a foreign country to work for about one year to increase my experience. ""Rory Browne"" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] What exactly do you mean about a professinal interchange in a foreign country? On 10/15/06, João Cândido de Souza Neto <[EMAI

Re: [PHP] Interchange.

2006-10-15 Thread Steve Edberg
A php meetup, perhaps? http://php.meetup.com/ At 6:37 PM +0200 10/15/06, "Rory Browne" <[EMAIL PROTECTED]> wrote: What exactly do you mean about a professinal interchange in a foreign country? On 10/15/06, João Cândido de Souza Neto <[EMAIL PROTECTED]> wrote: Hello everyone. Firstl

Re: [PHP] Re: LAMP || Apache Cache PHP Source File...

2006-10-15 Thread Ed Lazor
H, does mod_proxy perform file caching? It appears to just redirect urls to and from a proxy server. Yes. http://httpd.apache.org/docs/1.3/mod/mod_proxy.html Note the difference between forward and reverse proxy. You can also use Squid http://www.squid-cache.org Note Transparent Cac

Re: [PHP] Re: LAMP || Apache Cache PHP Source File...

2006-10-15 Thread sit1way
Hi Ed. H, does mod_proxy perform file caching? It appears to just redirect urls to and from a proxy server. I'm already doing this on my Windoze test box: # redirect domain.com/lookup requests to Site Builder Controller RewriteCond %{REQUEST_URI} !\.+ RewriteRule ^/(.*) /controller\.ph

Re: [PHP] Re: LAMP || Apache Cache PHP Source File...

2006-10-15 Thread Ed Lazor
I'd like to have Apache cache this file. Mod_File_Cache doesn't look like it will do the trick as this module only works with static content, and Mod_Cache seems to require a GET request, among other requirements, in order to perform file caching. Apache: reverse proxy -- PHP General Mail

Re: [PHP] Interchange.

2006-10-15 Thread Rory Browne
What exactly do you mean about a professinal interchange in a foreign country? On 10/15/06, João Cândido de Souza Neto <[EMAIL PROTECTED]> wrote: Hello everyone. Firstly my apology for the off topic. I'm a PHP professional since 2000's. In a quite near future i'm interested in have a profess

[PHP] Re: LAMP || Apache Cache PHP Source File...

2006-10-15 Thread sit1way
Hey All. Like many intermediate (and higher) level programmers, I've written a LAMP based CMS application to develop sites for my clients. Until recently I had major version control issues; i.e. when making a change/enhancement to one site, none of the other sites would get updated. Now I've g

Re: [PHP] Retrieving values from array on a class

2006-10-15 Thread Larry Garfield
On Sunday 15 October 2006 03:19, AR wrote: > Hi, > > > If you have an array assigned to a variable, you access elements of it > > with []. > > > > $foo = array('a', 'b', 'c'); > > > > print $foo[0]; // gives 'a' > > > > $bar = array('a' => 'hello', 'b' => 'world'); > > > > print $foo['b']; // gives

Re: [PHP] Retrieving values from array on a class

2006-10-15 Thread AR
Hi, > If you have an array assigned to a variable, you access elements of it with > []. > > $foo = array('a', 'b', 'c'); > > print $foo[0]; // gives 'a' > > $bar = array('a' => 'hello', 'b' => 'world'); > > print $foo['b']; // gives 'world' I know that. I had my class written as: ---