Re: [PHP] NULL Date Entries...

2010-07-01 Thread Paul M Foster
> > However, checking to ensure the date is indeed valid and not something > like 31st February is a good idea I agree! :) Wait-- there's not a 31st of February? When did they change that? ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Ashley Sheridan
On Thu, 2010-07-01 at 10:19 -0400, Paul M Foster wrote: > On Thu, Jul 01, 2010 at 03:40:56PM +0200, Peter Lind wrote: > > > > > Apart from that, html5 is not going to do away with the name > > attribute. And name is in xhtml1 and html4.01 and there's no mention > > of it being obsolete, deprec

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Trying again; most likely I cannot do this without SSL. --Shreyas On Thu, Jul 1, 2010 at 8:42 PM, Shreyas Agasthya wrote: > Not sure where I am top-posting. I posted to my own mail so that one gets > to know the latest. Nevertheless, I wouldn't go against the guidelines as I > completely underst

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Peter Lind
On 1 July 2010 23:50, Ashley Sheridan wrote: > > On Thu, 2010-07-01 at 23:48 +0200, Peter Lind wrote: > > On 1 July 2010 23:40, Ashley Sheridan wrote: > > On Thu, 2010-07-01 at 14:26 -0700, Don Wieland wrote: > > > >> In one of my forms, I am building a variable that I can use as an > >> INSERT s

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Ashley Sheridan
On Thu, 2010-07-01 at 23:56 +0200, Peter Lind wrote: > On 1 July 2010 23:50, Ashley Sheridan wrote: > > > > On Thu, 2010-07-01 at 23:48 +0200, Peter Lind wrote: > > > > On 1 July 2010 23:40, Ashley Sheridan wrote: > > > On Thu, 2010-07-01 at 14:26 -0700, Don Wieland wrote: > > > > > >> In one of

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Ashley Sheridan
On Thu, 2010-07-01 at 23:48 +0200, Peter Lind wrote: > On 1 July 2010 23:40, Ashley Sheridan wrote: > > On Thu, 2010-07-01 at 14:26 -0700, Don Wieland wrote: > > > >> In one of my forms, I am building a variable that I can use as an > >> INSERT string. > >> > >> On my form, I have several DATE fi

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Peter Lind
On 1 July 2010 23:40, Ashley Sheridan wrote: > On Thu, 2010-07-01 at 14:26 -0700, Don Wieland wrote: > >> In one of my forms, I am building a variable that I can use as an >> INSERT string. >> >> On my form, I have several DATE fields which exist of 3 fields MM - DD >> - >> >> when I build my

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Ashley Sheridan
On Thu, 2010-07-01 at 14:26 -0700, Don Wieland wrote: > In one of my forms, I am building a variable that I can use as an > INSERT string. > > On my form, I have several DATE fields which exist of 3 fields MM - DD > - > > when I build my string it looks like this: > > array('dbf'=>'app

[PHP] NULL Date Entries...

2010-07-01 Thread Don Wieland
In one of my forms, I am building a variable that I can use as an INSERT string. On my form, I have several DATE fields which exist of 3 fields MM - DD - when I build my string it looks like this: array('dbf'=>'applicant_dob', 'f'=>array('applicant_dob_1','applicant_dob_2','applican

[PHP] Re: The script tried to execute a method or access a property of an incomplete object.

2010-07-01 Thread Rene Veerman
On Thu, Jul 1, 2010 at 9:49 PM, Rene Veerman wrote: > Hi, i got this error that i can't figure out.. Maybe you can help; > > Notice: mbConfig(): The script tried to execute a method or access a > property of an incomplete object. Please ensure that the class > definition "classCoreDBtable" of the

[PHP] The script tried to execute a method or access a property of an incomplete object.

2010-07-01 Thread Rene Veerman
Hi, i got this error that i can't figure out.. Maybe you can help; Notice: mbConfig(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "classCoreDBtable" of the object you are trying to operate on was loaded _before_ unseri

RE: [PHP] PHP 5 Configuration

2010-07-01 Thread Gustavo Carrasco
Hi, nice to meet you. I had installed Apache, and his service is running good. There's any sequence about how to install this products? or maybe i need to modify some lines in httpd file or php.ini file? Subject: Re: [PHP] PHP 5 Configuration From: a...@ashleysheridan.co.uk To: carrascojg.

RE: [PHP] PHP 5 Configuration

2010-07-01 Thread Ashley Sheridan
On Thu, 2010-07-01 at 19:38 +0100, Gustavo Carrasco wrote: > Hi, nice to meet you. > I had installed Apache, and his service is running good. > There's any sequence about how to install this products? or maybe i > need to modify some lines in httpd file or php.ini file? > > > __

Re: [PHP] PHP 5 Configuration

2010-07-01 Thread Ashley Sheridan
On Thu, 2010-07-01 at 19:24 +0100, Gustavo Carrasco wrote: > I've been trying to install PHP5 with windows XP, but i had received the next > errors: > - Error trying to access the local web services Get Object failed. You will > need manual configure the web > > server. > - Error trying to ac

[PHP] PHP 5 Configuration

2010-07-01 Thread Gustavo Carrasco
I've been trying to install PHP5 with windows XP, but i had received the next errors: - Error trying to access the local web services Get Object failed. You will need manual configure the web server. - Error trying to access mime type file. You will need manual configure the web server. Some

Re: [PHP] Integers (correction)

2010-07-01 Thread tedd
Correction I said: 1 x 10^9 = 512 0 x 10^8 = 0 0 x 10^7 = 0 0 x 10^6 = 0 1 x 10^5 = 32 0 x 10^4 = 0 1 x 10^3 = 8 1 x 10^2 = 4 1 x 10^1 = 2 1 x 10^0 = 1 It should have been: 1 x 2^9 = 512 0 x 2^8 = 0 0 x 2^7 = 0 0 x 2^6 = 0 1 x 2^5 = 32 0 x 2^4 = 0 1 x 2^3 = 8 1 x 2^2 = 4 1 x 2^1 = 2 Cheer

Re: [PHP] Integers

2010-07-01 Thread tedd
At 10:02 PM -0400 6/30/10, David McGlone wrote: Hi again I'm trying to learn about octal numbers and I don't understand this: Binary: 00100010 breakdown: (001)= 1 (000)= 0 (101)=5 (111)=7 I know it's similar to unix permissions, but I'm not understanding where for example: 111 = 7 wikiped

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Not sure where I am top-posting. I posted to my own mail so that one gets to know the latest. Nevertheless, I wouldn't go against the guidelines as I completely understand the havoc that it can create. The port is 587 as per Google; SMTP that I am using is Google's (anything wrong here?). If there

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Paul M Foster
On Thu, Jul 01, 2010 at 03:40:56PM +0200, Peter Lind wrote: > Apart from that, html5 is not going to do away with the name > attribute. And name is in xhtml1 and html4.01 and there's no mention > of it being obsolete, deprecated or in any other fashion on the way > out. > > As far as reference

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 10:02, Shreyas Agasthya wrote: > Spoke too fast. > > Fixed that (SMTP has to be uppercase) > > Now it is : *SMTP server response: 530 5.7.0 Must issue a STARTTLS command > first. c15sm7128213rvi.11* (Quick note: per the list guidelines, please don't top-post in threads.

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Spoke too fast. Fixed that (SMTP has to be uppercase) Now it is : *SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. c15sm7128213rvi.11* On Thu, Jul 1, 2010 at 7:25 PM, Shreyas Agasthya wrote: > Erm... understood. > > I modified the changes to look like this in the "php.ini"

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Erm... understood. I modified the changes to look like this in the "php.ini" file (the right one based on the output of phpinfo()). 3) *smtp = smtp.gmail.com* *smtp_port = 587* * * *I get : "Failed to connect to mailserver at "localhost" port 587, verify your "SMTP" and "smtp_port" setting in php

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Peter Lind
On 1 July 2010 15:28, Peter Lind wrote: > On 1 July 2010 15:02, Bob McConnell wrote: >> From: Peter Lind >> >>> On 1 July 2010 14:38, Bob McConnell wrote: From: Adam Richardson > On Wed, Jun 30, 2010 at 9:16 PM, David Mehler >> wrote: > >> Hello, >> I've got a php

[PHP] how to use HTML Symbol Entities with mail() ?

2010-07-01 Thread cr.vegelin
Hi List, I am working on generated emails, using the mail() function. Works fine, but when including characters like ∧ (= ∧) or ∨ (= ∨) in the message, these characters are displayed as ? in the emails. Snippet: $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; char

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 09:09, Shreyas Agasthya wrote: > > All I am trying to do is send a mail from my localhost to my Gmail ID. I > read stuff about how the SMTP port should be accessible; should be open et > al. My set-up is very simple: > > 1. Using Easy PHP. > 2. Windows XP 3.) An SMTP se

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Peter Lind
On 1 July 2010 15:02, Bob McConnell wrote: > From: Peter Lind > >> On 1 July 2010 14:38, Bob McConnell wrote: >>> From: Adam Richardson >>> On Wed, Jun 30, 2010 at 9:16 PM, David Mehler > >>> wrote: > Hello, > I've got a php form processing question. I've got a text field like

Re: [PHP] mail() + localhost

2010-07-01 Thread Andrew Ballard
On Thu, Jul 1, 2010 at 9:09 AM, Shreyas Agasthya wrote: > Also, when the comment says that you need to 'configure' your php.ini, which > .ini should I modify? The reason being, I see that file in two locations, > apparently. > (i) C:\Program Files\EasyPHP 3.0\apache > (ii) C:\Program Files\EasyPHP

[PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
PHP'ers, I am sure this would have been asked a zillion times but I take this as my turn to get some help. I hate to ask such rhetorical questions but quite couldn't understand how to tweak this. All I am trying to do is send a mail from my localhost to my Gmail ID. I read stuff about how the SMT

RE: [PHP] php processing name vs. id field

2010-07-01 Thread Bob McConnell
From: Peter Lind > On 1 July 2010 14:38, Bob McConnell wrote: >> From: Adam Richardson >> >>> On Wed, Jun 30, 2010 at 9:16 PM, David Mehler >> wrote: >>> Hello, I've got a php form processing question. I've got a text field like >> so: Name*: My q

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Peter Lind
On 1 July 2010 14:38, Bob McConnell wrote: > From: Adam Richardson > >> On Wed, Jun 30, 2010 at 9:16 PM, David Mehler > wrote: >> >>> Hello, >>> I've got a php form processing question. I've got a text field like > so: >>> >>> >>> Name*: >>> >>> >>> >>> My question is what is the purpose of t

RE: [PHP] php processing name vs. id field

2010-07-01 Thread Bob McConnell
From: Adam Richardson > On Wed, Jun 30, 2010 at 9:16 PM, David Mehler wrote: > >> Hello, >> I've got a php form processing question. I've got a text field like so: >> >> >> Name*: >> >> >> >> My question is what is the purpose of the id field? I know the name >> field is what php references,

Re: [PHP] Re: Regular Expression to get the whole Comma Separated String in Array Key

2010-07-01 Thread Richard Quadling
On 1 July 2010 06:47, Gaurav Kumar wrote: > Hey Richard, > > Thanks!!! You have resolved my problem.. > > GK > > > On Wed, Jun 30, 2010 at 7:42 PM, Gaurav Kumar > wrote: > >> Hi All, >> >> Need help in resolving the below problem- >> >> >> I would like to get the whole comma separated string into

Re: [PHP] Integers

2010-07-01 Thread Shreyas Agasthya
It would also mean that 7 (8 digits which includes 0) is the highest numeric representation that you can have or go up to in an octal representation. So to take your example and represent an octal number : 00100010 (subscript 2) = 1057(subscript 8) --Shreyas On Thu, Jul 1, 2010 at 7:42 AM,