php-general Digest 1 Jul 2010 12:38:34 -0000 Issue 6825

2010-07-01 Thread php-general-digest-help
php-general Digest 1 Jul 2010 12:38:34 - Issue 6825 Topics (messages 306582 through 306594): Past discussion 306582 by: David McGlone php processing name vs. id field 306583 by: David Mehler 306584 by: Adam Richardson 306594 by: Bob McConnell Integers

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,

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 kumargauravjuke...@gmail.com wrote: Hey Richard, Thanks!!! You have resolved my problem.. GK On Wed, Jun 30, 2010 at 7:42 PM, Gaurav Kumar kumargauravjuke...@gmail.comwrote: Hi All, Need help in resolving the below problem- I would like to get the

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 dave.meh...@gmail.com wrote: Hello, I've got a php form processing question. I've got a text field like so: div label for=txtnameName*:/label input type=text name=name id=name size=30 value=?php echo

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

2010-07-01 Thread Peter Lind
On 1 July 2010 14:38, Bob McConnell r...@cbord.com wrote: From: Adam Richardson On Wed, Jun 30, 2010 at 9:16 PM, David Mehler dave.meh...@gmail.com wrote: Hello, I've got a php form processing question. I've got a text field like so: div label for=txtnameName*:/label input type=text

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 r...@cbord.com wrote: From: Adam Richardson On Wed, Jun 30, 2010 at 9:16 PM, David Mehler dave.meh...@gmail.com wrote: Hello, I've got a php form processing question. I've got a text field like so: div label for=txtnameName*:/label

[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

Re: [PHP] mail() + localhost

2010-07-01 Thread Andrew Ballard
On Thu, Jul 1, 2010 at 9:09 AM, Shreyas Agasthya shreya...@gmail.com 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)

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

2010-07-01 Thread Peter Lind
On 1 July 2010 15:02, Bob McConnell r...@cbord.com wrote: From: Peter Lind On 1 July 2010 14:38, Bob McConnell r...@cbord.com wrote: From: Adam Richardson On Wed, Jun 30, 2010 at 9:16 PM, David Mehler dave.meh...@gmail.com wrote: Hello, I've got a php form processing question. I've got

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 09:09, Shreyas Agasthya shreya...@gmail.com 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

[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 #8743 (= and;) or #8744; (= or;) in the message, these characters are displayed as ? in the emails. Snippet: $headers = 'MIME-Version: 1.0' . \r\n; $headers .= 'Content-type:

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

2010-07-01 Thread Peter Lind
On 1 July 2010 15:28, Peter Lind peter.e.l...@gmail.com wrote: On 1 July 2010 15:02, Bob McConnell r...@cbord.com wrote: From: Peter Lind On 1 July 2010 14:38, Bob McConnell r...@cbord.com wrote: From: Adam Richardson On Wed, Jun 30, 2010 at 9:16 PM, David Mehler dave.meh...@gmail.com

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.ini* *

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 shreya...@gmail.comwrote: Erm... understood. I modified the changes to look like this

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 10:02, Shreyas Agasthya shreya...@gmail.com 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

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: snip 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 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

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

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

[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.

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 access

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 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:

[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_

[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 rene7...@gmail.com 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

[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',

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:

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Peter Lind
On 1 July 2010 23:40, Ashley Sheridan a...@ashleysheridan.co.uk 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

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 a...@ashleysheridan.co.uk 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

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 a...@ashleysheridan.co.uk wrote: On Thu, 2010-07-01 at 23:48 +0200, Peter Lind wrote: On 1 July 2010 23:40, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2010-07-01 at 14:26 -0700,

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Peter Lind
On 1 July 2010 23:50, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2010-07-01 at 23:48 +0200, Peter Lind wrote: On 1 July 2010 23:40, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2010-07-01 at 14:26 -0700, Don Wieland wrote: In one of my forms, I am building a

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 shreya...@gmail.comwrote: 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

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: snip 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

Re: [PHP] NULL Date Entries...

2010-07-01 Thread Paul M Foster
snip 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,