Re: [PHP] Posting values of dynamically generated text fields at a time

2010-07-13 Thread Saravanan Murugesan
> Hi is anybody there to help me out on this? > >> >> Hi all, >> I am new to PHP and JS. >> >> I am adding new text fields using javascript and I have to save the >> values >> of these fields in database in single row. So, how should I post these >> values? So that I can save them in the db. >>

Re: [PHP] Static Class Member References

2010-07-13 Thread Daniel Kolbo
Richard Quadling wrote: > On 13 July 2010 09:46, Richard Quadling wrote: >> On 12 July 2010 22:54, Daniel Kolbo wrote: >>> Richard Quadling wrote: On 11 July 2010 23:19, Daniel Kolbo wrote: > Hello PHPers, > > I'm having some trouble understanding some PHP behaviour. The follow

Re: [PHP] Static Class Member References

2010-07-13 Thread Daniel Kolbo
Richard Quadling wrote: > On 12 July 2010 22:54, Daniel Kolbo wrote: >> Richard Quadling wrote: >>> On 11 July 2010 23:19, Daniel Kolbo wrote: Hello PHPers, I'm having some trouble understanding some PHP behaviour. The following example script exhibits the behaviour which I c

Re: [PHP] running out of memory processing result set on Linux, but not on Solaris

2010-07-13 Thread Nathan Nobbe
On Tue, Jul 13, 2010 at 11:06 AM, Larry Martell wrote: > I have an app that runs just fine on an older Solaris apache server > (Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer > Linux server (Apache/2.2.3-11 PHP/5.2.8) against the same database on > the same mysql server, it fail

Re: [PHP] running out of memory processing result set on Linux, but not on Solaris

2010-07-13 Thread Ashley Sheridan
On Tue, 2010-07-13 at 14:22 -0600, Larry Martell wrote: > On Tue, Jul 13, 2010 at 11:11 AM, Ashley Sheridan > wrote: > > > > On Tue, 2010-07-13 at 11:06 -0600, Larry Martell wrote: > > > > I have an app that runs just fine on an older Solaris apache server > > (Apache/2.0.53 PHP/5.0.4), but when

Re: [PHP] running out of memory processing result set on Linux, but not on Solaris

2010-07-13 Thread Larry Martell
On Tue, Jul 13, 2010 at 11:11 AM, Ashley Sheridan wrote: > > On Tue, 2010-07-13 at 11:06 -0600, Larry Martell wrote: > > I have an app that runs just fine on an older Solaris apache server > (Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer > Linux server (Apache/2.2.3-11 PHP/5.2.8

Re: [PHP] adduser & php

2010-07-13 Thread Ashley Sheridan
On Tue, 2010-07-13 at 12:56 -0600, Nathan Nobbe wrote: > On Sat, Jul 10, 2010 at 2:39 PM, Matt M. wrote: > > > The only thing is, when I execute this command from a shell, it works. > > Obviously I'm replacing $username and $password with something valid when > > doing this manually. > > > > It'

Re: [PHP] adduser & php

2010-07-13 Thread Nathan Nobbe
On Sat, Jul 10, 2010 at 2:39 PM, Matt M. wrote: > The only thing is, when I execute this command from a shell, it works. > Obviously I'm replacing $username and $password with something valid when > doing this manually. > > It's like the script clears the $username variable just before it execute

Re: [PHP] calendar libs

2010-07-13 Thread David Hutto
On Tue, Jul 13, 2010 at 2:14 PM, David Hutto wrote: > On Tue, Jul 13, 2010 at 2:10 PM, David Hutto wrote: >> On Tue, Jul 13, 2010 at 2:04 PM, Ricardo Martinez >> wrote: >>> Hi! >>> >>> i'm looking for a good calendar libs, want ask, if anyone knows a good >>> library. >>> >>> >>> thx! >>> >>> R

Re: [PHP] calendar libs

2010-07-13 Thread David Hutto
On Tue, Jul 13, 2010 at 2:10 PM, David Hutto wrote: > On Tue, Jul 13, 2010 at 2:04 PM, Ricardo Martinez > wrote: >> Hi! >> >> i'm looking for a good calendar libs, want ask, if anyone knows a good >> library. >> >> >> thx! >> >> Ricardo >> > > This may hel, it's just a simple search for 'php cal

Re: [PHP] calendar libs

2010-07-13 Thread David Hutto
On Tue, Jul 13, 2010 at 2:04 PM, Ricardo Martinez wrote: > Hi! > > i'm looking for a good calendar libs, want ask, if anyone knows a good > library. > > > thx! > > Ricardo > This may hel, it's just a simple search for 'php calendar' : http://www.php-calendar.com/ -- PHP General Mailing List (h

[PHP] calendar libs

2010-07-13 Thread Ricardo Martinez
Hi! i'm looking for a good calendar libs, want ask, if anyone knows a good library. thx! Ricardo

Re: [PHP] running out of memory processing result set on Linux, but not on Solaris

2010-07-13 Thread Ashley Sheridan
On Tue, 2010-07-13 at 11:06 -0600, Larry Martell wrote: > I have an app that runs just fine on an older Solaris apache server > (Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer > Linux server (Apache/2.2.3-11 PHP/5.2.8) against the same database on > the same mysql server, it fail

[PHP] running out of memory processing result set on Linux, but not on Solaris

2010-07-13 Thread Larry Martell
I have an app that runs just fine on an older Solaris apache server (Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer Linux server (Apache/2.2.3-11 PHP/5.2.8) against the same database on the same mysql server, it fails with "Allowed memory size exhausted". This occurs on a: $resul

Re: [PHP] XML parser

2010-07-13 Thread Andrew Ballard
On Tue, Jul 13, 2010 at 10:14 AM, ppps...@gmail.com wrote: > Hello. I have html: > Header > Paragraph 1 > > Paragraph n > > > Header > Paragraph 1 >     > Paragraph n > > > need to parse it like this array: > array( > [0] => array( > 'h3' => 'header' , > 'p' => array( > [0] => 'Paragrap

RE: [PHP] Help with template file and email

2010-07-13 Thread Carlos Sura
Let me get this right... $mymail // If you put an email adress it works, right. You are calling variable $mymail... But, what does contain that var? You are calling $mymail, there has to be a database, or something of those 10 mails you said. -If i'm getting you the point right- If not, my mis

[PHP] Re: PHP question

2010-07-13 Thread Richard Quadling
On 13 July 2010 15:46, Joey Hendricks wrote: > Hi Mr. Quadling, >  Thank you for the reply. I still don't understand how to get all the emails > into the function. Before I put in the function I had something like this- > for($i=0; $i<=9; $i++) > { > if(!empty($_GET[email.$i])) > { > mail($_GET[em

Re: [PHP] Posting values of dynamically generated text fields at a time

2010-07-13 Thread Richard Quadling
On 13 July 2010 15:06, Amit Bobade wrote: > Hi is anybody there to help me out on this? > >> >> Hi all, >> I am new to PHP and JS. >> >> I am adding new text fields using javascript and I have to save the values >> of these fields in database in single row. So, how should I post these >> value

[PHP] XML parser

2010-07-13 Thread ppps...@gmail.com
Hello. I have html: Header Paragraph 1 Paragraph n Header Paragraph 1 Paragraph n need to parse it like this array: array( [0] => array( 'h3' => 'header' , 'p' => array( [0] => 'Paragraph 1' , [n-1] => 'Paragraph N' ) [1] => array( ['div'] => array ( 'h3' => 'header' , 'p' => arr

[PHP] Posting values of dynamically generated text fields at a time

2010-07-13 Thread Amit Bobade
Hi is anybody there to help me out on this? > > Hi all, > I am new to PHP and JS. > > I am adding new text fields using javascript and I have to save the values > of these fields in database in single row. So, how should I post these > values? So that I can save them in the db. > > Additional

Re: [PHP] Help with template file and email

2010-07-13 Thread Richard Quadling
On 13 July 2010 14:56, Joey Hendricks wrote: > Hello, >  I have been working on a birtday invite program. The form takes 10 names and > 10 email addresses. I think the problem is the $to variable in my function. I > get this warning-Warning: mail() [function.mail]: SMTP server response: 550 > 5

[PHP] Help with template file and email

2010-07-13 Thread Joey Hendricks
Hello, I have been working on a birtday invite program. The form takes 10 names and 10 email addresses. I think the problem is the $to variable in my function. I get this warning-Warning: mail() [function.mail]: SMTP server response: 550 5.5.0 domain name required in. Could someone help m

Re: [PHP] Validate if the field of a form is empty

2010-07-13 Thread te0t3l
It works fine for me, foreach ( $_FILES['archivo']['name'] as $file ) { //echo $file; } if($file == ""){ echo "empty"; }else{ //continue... } Thanks a lot Jim! Te0

Re: [PHP] help with sql statement

2010-07-13 Thread Richard Quadling
On 12 July 2010 18:34, Tommy Pham wrote: > SELECT srs.Name FROM SMS_R_System srs WHERE srs.SystemOUName IN > ("example.com/COMPUTERS/MAIN CAMPUS/ABC", "example.com/COMPUTERS/MAIN > CAMPUS/XYZ") > As this is a single table query, there is no need for the table alias. SELECT Name FROM SMS_R_System

Re: [PHP] Static Class Member References

2010-07-13 Thread Richard Quadling
On 13 July 2010 09:46, Richard Quadling wrote: > On 12 July 2010 22:54, Daniel Kolbo wrote: >> Richard Quadling wrote: >>> On 11 July 2010 23:19, Daniel Kolbo wrote: Hello PHPers, I'm having some trouble understanding some PHP behaviour.  The following example script exhibits

Re: [PHP] Static Class Member References

2010-07-13 Thread Richard Quadling
On 12 July 2010 22:54, Daniel Kolbo wrote: > Richard Quadling wrote: >> On 11 July 2010 23:19, Daniel Kolbo wrote: >>> Hello PHPers, >>> >>> I'm having some trouble understanding some PHP behaviour.  The following >>> example script exhibits the behaviour which I cannot understand. >>> [code] >>>