Re: [PHP] Best way to reinstate radio-button states from database?

2009-06-29 Thread Ashley Sheridan
On Sun, 2009-06-28 at 21:07 -0400, Bastien Koert wrote: > On Sun, Jun 28, 2009 at 7:12 PM, Rob Gould wrote: > > I have a webpage which allows people to log in and make selections with > > radio buttons and hit SUBMIT and saves the data from those radio buttons to > > a mySQL database. > > > > Howev

Re: [PHP] Socket error

2009-06-29 Thread Per Jessen
Luke wrote: > Hey guys, getting an odd error here... The code involved: > > $master_socket = socket_create_listen($this->port); > > socket_bind($master_socket, '127.0.0.1', $this->port); > socket_listen($master_socket); > socket_set_option($master_

[PHP] guide me please

2009-06-29 Thread Suresh Gupta VG
Hi List, I am newb to this PHP. I am using "AIX Version 5.3" OS and "PHP version 4.3.9" by default version and "Oracle Application Server 10g Release 2". Configured properly and I am getting the phpinfo.php on browser properly. But when I write my own code for php, it is just displaying the co

Re: [PHP] guide me please

2009-06-29 Thread András Csányi
2009/6/29 Suresh Gupta VG : > Hi List, > > I am newb to this PHP. I am using "AIX Version 5.3" OS and "PHP version > 4.3.9" by default version and "Oracle Application Server 10g Release 2". > Configured properly and I am getting the phpinfo.php on browser properly. But > when I write my own code

Re: [PHP] Best way to reinstate radio-button states from database?

2009-06-29 Thread tedd
At 7:12 PM -0400 6/28/09, Rob Gould wrote: I have a webpage which allows people to log in and make selections with radio buttons and hit SUBMIT and saves the data from those radio buttons to a mySQL database. However, I'm finding that I also need the ability to allow a user to log back in at

Re: [PHP] guide me please

2009-06-29 Thread Daniel Brown
On Mon, Jun 29, 2009 at 05:40, Suresh Gupta VG wrote: > Hi List, > > I am newb to this PHP. I am using "AIX Version 5.3" OS and "PHP version > 4.3.9" by default version and "Oracle Application Server 10g Release 2". > Configured properly and I am getting the phpinfo.php on browser properly. But

Re: [PHP] Socket error

2009-06-29 Thread Daniel Brown
On Mon, Jun 29, 2009 at 02:42, Luke wrote: > Hey guys, getting an odd error here... The code involved: [snip!] Luke, Just a friendly reminder: for future reference, please don't start a second thread on the list until the first is closed out --- particularly if it's the same subject. Som

[PHP] mail and mysql confirmation of that [double-opt in]

2009-06-29 Thread Grega Leskovsek
how is the best way to check if email address is valid: is this preg_match() OK? preg_match('/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/', $email); How can I make double opt-in mail system? My idea: 1.) I remember the email entered and user data and the sha1($email); i

Re: [PHP] Socket error

2009-06-29 Thread Luke
2009/6/29 Daniel Brown > On Mon, Jun 29, 2009 at 02:42, Luke wrote: > > Hey guys, getting an odd error here... The code involved: > [snip!] > >Luke, > >Just a friendly reminder: for future reference, please don't start > a second thread on the list until the first is closed out --- > part

Re: [PHP] mail and mysql confirmation of that [double-opt in]

2009-06-29 Thread tedd
At 4:55 PM +0200 6/29/09, Grega Leskovsek wrote: how is the best way to check if email address is valid: is this preg_match() OK? preg_match('/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/', $email); How can I make double opt-in mail system? My idea: 1.) I remember the

RE: [PHP] guide me please

2009-06-29 Thread Yuri Yarlei
Hi, My suggestion is you install a better version of PHP or use other type of php server, you will use oracle db? If is not necessary, you should use mysql or postgresql for learn php. But this error maybe happen because you are using '' for php tags, if you use '' maybe this error will go a

Re: [PHP] mail and mysql confirmation of that [double-opt in]

2009-06-29 Thread Shawn McKenzie
Grega Leskovsek wrote: > how is the best way to check if email address is valid: is this preg_match() > OK? > preg_match('/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/', > $email); filter_var($email, FILTER_VALIDATE_EMAIL) > > How can I make double opt-in mail system?

[PHP] Does something like this exist?

2009-06-29 Thread Christoph Boget
I'm wondering if there isn't something out there that crawls through your codebase and generates a map of (any of) the following: * What files are include in which scripts * The relationships between defined classes (eg A extends B) * What other classes are utilized by which classes (eg, instantia

Re: [PHP] Does something like this exist?

2009-06-29 Thread Dotan Cohen
> I'm wondering if there isn't something out there that crawls through > your codebase and generates a map of (any of) the following: > > * What files are include in which scripts > * The relationships between defined classes (eg A extends B) > * What other classes are utilized by which classes (eg

Re: [PHP] Does something like this exist?

2009-06-29 Thread Ashley Sheridan
On Mon, 2009-06-29 at 23:16 +0300, Dotan Cohen wrote: > > I'm wondering if there isn't something out there that crawls through > > your codebase and generates a map of (any of) the following: > > > > * What files are include in which scripts > > * The relationships between defined classes (eg A ext

Re: [PHP] Does something like this exist?

2009-06-29 Thread Michael Shadle
On Mon, Jun 29, 2009 at 1:16 PM, Dotan Cohen wrote: > * What files are include in which scripts pecl.php.net/package/inclued - an awesome tool, will show you includes/require calls to other ones, show you any redundancy (dotted lines) etc. helps you clean up any nested and unnecessary includes o

Re: [PHP] Does something like this exist?

2009-06-29 Thread Christoph Boget
>> * What files are include in which scripts > pecl.php.net/package/inclued  - an awesome tool, will show you > includes/require calls to other ones, show you any redundancy (dotted > lines) etc. helps you clean up any nested and unnecessary includes or > requires. Rasmus approved(tm) > use it with

Re: [PHP] Does something like this exist?

2009-06-29 Thread Eddie Drapkin
Have you looked at class_parents()? http://www.php.net/manual/en/function.class-parents.php On Mon, Jun 29, 2009 at 4:42 PM, Christoph Boget wrote: >>> * What files are include in which scripts >> pecl.php.net/package/inclued  - an awesome tool, will show you >> includes/require calls to other one

[PHP] Named pair array from variable

2009-06-29 Thread Mikey Knutson
Is this even possible? I'm building a string, properly formatted, to create a named pair or associative array. The string is fine, and when I use it directly to create the array, all is well. When I try to use the var to create the array, I get an empty array (I think). Huh? Here is what I

Re: [PHP] Named pair array from variable

2009-06-29 Thread Ashley Sheridan
On Mon, 2009-06-29 at 12:06 -0700, Mikey Knutson wrote: > Is this even possible? I'm building a string, properly formatted, to create > a named pair or associative array. The string is fine, and when I use it > directly to create the array, all is well. When I try to use the var to > create

[PHP] Re: Named pair array from variable

2009-06-29 Thread Shawn McKenzie
Mikey Knutson wrote: > Is this even possible? I'm building a string, properly formatted, to create > a named pair or associative array. The string is fine, and when I use it > directly to create the array, all is well. When I try to use the var to > create the array, I get an empty array (I

[PHP] Re: Named pair array from variable

2009-06-29 Thread Shawn McKenzie
Shawn McKenzie wrote: > Mikey Knutson wrote: >> Is this even possible? I'm building a string, properly formatted, to create >> a named pair or associative array. The string is fine, and when I use it >> directly to create the array, all is well. When I try to use the var to >> create the arr

Re: [PHP] Best way to reinstate radio-button states from database?

2009-06-29 Thread Michael A. Peters
Rob Gould wrote: I have a webpage which allows people to log in and make selections with radio buttons and hit SUBMIT and saves the data from those radio buttons to a mySQL database. However, I'm finding that I also need the ability to allow a user to log back in at a later date (or even on a

Re: [PHP] guide me please

2009-06-29 Thread Michael A. Peters
Suresh Gupta VG wrote: Hi List, I am newb to this PHP. I am using "AIX Version 5.3" OS and "PHP version 4.3.9" by default version and "Oracle Application Server 10g Release 2". Configured properly and I am getting the phpinfo.php on browser properly. But when I write my own code for php, it is

Re: [PHP] Does something like this exist?

2009-06-29 Thread Nathan Nobbe
On Mon, Jun 29, 2009 at 2:12 PM, Christoph Boget wrote > I'm wondering if there isn't something out there that crawls through > your codebase and generates a map of (any of) the following: > > * What files are include in which scripts the inclued extension http://pecl.php.net/package/inclued *