Re: [PHP] Re: NOMAIL option for the list?

2011-05-18 Thread Per Jessen
Michelle Konzack wrote: > Hello Daniel Brown, > > Am 2011-05-17 15:07:58, hacktest Du folgendes herunter: >> On Tue, May 17, 2011 at 15:00, Michelle Konzack >> wrote: >> > Ist there a way to set my account to NOMAIL option? >> To stop receiving emails you mean? As in unsubscribing? > > I m

Re: [PHP] Filtering data not with mysql...

2011-05-18 Thread Adam Richardson
On Wed, May 18, 2011 at 10:46 PM, Adam Richardson wrote: > > I'm a security expert by any means, as I've made mistakes in the past that > have provided education the hard way! > Just to be very clear, this is a mistake (as the rest of the sentence implies), and it should have said: I'm *not* a s

Re: [PHP] Filtering data not with mysql...

2011-05-18 Thread Adam Richardson
On Wed, May 18, 2011 at 9:18 PM, Jason Pruim wrote: > Hey Everyone, > > Probably a simple question but I wanted to make sure I was right before I > got to far ahead of my self > > I have a form that I am working on and this form will be emailed to the > recipient for processing (Not stored in

[PHP] Re: Filtering data not with mysql...

2011-05-18 Thread David Robley
Jason Pruim wrote: > Hey Everyone, > > Probably a simple question but I wanted to make sure I was right > before I got to far ahead of my self > > I have a form that I am working on and this form will be emailed to > the recipient for processing (Not stored in a database). > > When I store

RE: [PHP] Filtering data not with mysql...

2011-05-18 Thread admin
To quote "Jonathan" Well, mysql_real_escape_string doesn't protect against sql injections more than addslashes, but that's not the reason you use it. addslashes() was from the developers of PHP whereas mysql_real_escape_string uses the underlying MySQL C++ API (i.e. from the developers of MySQL).

[PHP] Filtering data not with mysql...

2011-05-18 Thread Jason Pruim
Hey Everyone, Probably a simple question but I wanted to make sure I was right before I got to far ahead of my self I have a form that I am working on and this form will be emailed to the recipient for processing (Not stored in a database). When I store in a database, I simply run all

Re: [PHP] [SPAM] Re: Explode Question

2011-05-18 Thread David Harkness
On Wed, May 18, 2011 at 4:30 PM, wrote: > If you say I hijacked a spam thread , then shame on me. It will not happen > again. > Do you have ANY IDEA how HARD I work to hand-craft my spam emails? Please do not HIJACK them with your work-related, information-seeking drivel! Thank you. David P.S.

Re: [PHP] [SPAM] Re: Explode Question

2011-05-18 Thread Adam Richardson
On Wed, May 18, 2011 at 6:42 PM, Michelle Konzack < linux4miche...@tamay-dogan.net> wrote: > Hello ad...@buskirkgraphics.com, > > since YOU ARE an ADMIN, you should real know abut, > HOW TO WRITE A NEW MESSAGE and not to hijack a SPAM thread... > What? -- Nephtali: A simple, flexible, fast, an

RE: [PHP] [SPAM] Re: Explode Question

2011-05-18 Thread admin
Okay, Can you translate this lingo for me? "since YOU ARE an ADMIN, you should real know abut, HOW TO WRITE A NEW MESSAGE and not to hijack a SPAM thread..." I thought to "abut" was the act of leaning for support? Maybe I am wrong. I am on good advice that the word "real" is anything but a verb.

Re: [PHP] A Review Request

2011-05-18 Thread tedd
At 12:03 AM +0200 5/19/11, Peter Lind wrote: On 18 May 2011 23:50, tedd wrote: Premise: The code I've placed in the "Copy/Paste" sections will work "as-is" *IF* the users follow directions. I've tested it and it does work. Premise: Granted, for over a dozen years I've provided various "code" to

Re: Re: [PHP] A Review Request

2011-05-18 Thread tedd
At 2:44 PM -0700 5/18/11, David Harkness wrote: On Wed, May 18, 2011 at 2:38 PM, Peter Lind <peter.e.l...@gmail.com> wrote: As is probably clear by now, in my opinion it would be much better to go the motions of the script a bit at a time, with comments of *why* t

[PHP] [SPAM] Re: Explode Question

2011-05-18 Thread Michelle Konzack
Hello ad...@buskirkgraphics.com, since YOU ARE an ADMIN, you should real know abut, HOW TO WRITE A NEW MESSAGE and not to hijack a SPAM thread... Thanks, Greetings and nice Day/Evening Michelle Konzack -- # Debian GNU/Linux Consultant ## Developmen

[PHP] Re: Re: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-18 Thread Michelle Konzack
Hello HallMarc Websites, Am 2011-05-17 18:51:18, hacktest Du folgendes herunter: > My concern is with the admission of belonging to 137 mailing lists! > Where do you find the time? I fly over the subjects and if something is interesting I jump in. I have gotten sometimes VERY good ideas only by

[PHP] Re: NOMAIL option for the list?

2011-05-18 Thread Michelle Konzack
Hello Daniel Brown, Am 2011-05-17 15:07:58, hacktest Du folgendes herunter: > On Tue, May 17, 2011 at 15:00, Michelle Konzack > wrote: > > Ist there a way to set my account to NOMAIL option? > To stop receiving emails you mean? As in unsubscribing? I mean, STOP receiving mail without UNSUBS

Re: [PHP] A Review Request

2011-05-18 Thread sono-io
On May 18, 2011, at 3:06 PM, tedd wrote: > You know, if you sat down with me and saw how my IDE handles braces, I think > you might see the reason why I code like I do. Tedd, I like the demo. Thanks for posting it. From another post of yours, I take it that you're a Mac guy.

Re: [PHP] A Review Request

2011-05-18 Thread tedd
At 2:41 PM -0700 5/18/11, David Harkness wrote: On Wed, May 18, 2011 at 2:22 PM, Peter Lind <peter.e.l...@gmail.com> wrote: You make my point for me but for some reason don't want to follow the logical conclusion of it. Why? This is just one way to give-back.

Re: [PHP] A Review Request

2011-05-18 Thread Peter Lind
On 18 May 2011 23:50, tedd wrote: > At 11:22 PM +0200 5/18/11, Peter Lind wrote: >> >> On 18 May 2011 23:12, tedd wrote: >> >>  > Thanks, but the point here *is* to get people involved using PHP. >> >> Good and noble intent. Does not in any way have anything to do with >> copypasting. > > That's

Re: [PHP] A Review Request

2011-05-18 Thread tedd
At 11:22 PM +0200 5/18/11, Peter Lind wrote: On 18 May 2011 23:12, tedd wrote: > Thanks, but the point here *is* to get people involved using PHP. Good and noble intent. Does not in any way have anything to do with copypasting. That's more of an argument than a fact -- and I don't feel co

Re: Re: [PHP] A Review Request

2011-05-18 Thread David Harkness
On Wed, May 18, 2011 at 2:38 PM, Peter Lind wrote: > As is probably clear by now, in my opinion it would be much better to > go the motions of the script a bit at a time, with comments of *why* > things are done (not *what* is done) - and why you really should spend > a bit more time learning abo

Re: [PHP] A Review Request

2011-05-18 Thread David Harkness
On Wed, May 18, 2011 at 2:22 PM, Peter Lind wrote: > You make my point for me but for some reason don't want to follow the > logical conclusion of it. Why? > > > This is just one way to give-back. > > Suggesting people that they copypaste your code is a very bad way of > giving back. Suggesting t

Re: Re: [PHP] A Review Request

2011-05-18 Thread Peter Lind
On 18 May 2011 23:28, Tim Streater wrote: > On 18 May 2011 at 22:22, Peter Lind wrote: > >> On 18 May 2011 23:12, tedd wrote: > >>> This is just one way to give-back. >> >> Suggesting people that they copypaste your code is a very bad way of >> giving back. Suggesting that they read and understa

Re: Re: [PHP] A Review Request

2011-05-18 Thread Tim Streater
On 18 May 2011 at 22:22, Peter Lind wrote: > On 18 May 2011 23:12, tedd wrote: >> This is just one way to give-back. > > Suggesting people that they copypaste your code is a very bad way of > giving back. Suggesting that they read and understand the code is a > great way. I hope you see the di

Re: [PHP] A Review Request

2011-05-18 Thread Peter Lind
On 18 May 2011 23:12, tedd wrote: > At 10:55 PM +0200 5/18/11, Peter Lind wrote: >> >> On 18 May 2011 22:34, tedd wrote: >>> >>>  At 3:31 PM -0400 5/18/11, Joshua Kehn wrote:  On May 18, 2011, at 3:22 PM, tedd wrote: > >  I am considering providing PHP code to the general public

Re: [PHP] A Review Request

2011-05-18 Thread tedd
At 10:55 PM +0200 5/18/11, Peter Lind wrote: On 18 May 2011 22:34, tedd wrote: At 3:31 PM -0400 5/18/11, Joshua Kehn wrote: On May 18, 2011, at 3:22 PM, tedd wrote: I am considering providing PHP code to the general public via my website This is my first attempt: >>> >>>

RE: [PHP] A Review Request

2011-05-18 Thread Jasper Mulder
> Joshua's style (Allman) also lines up. I also find tedd's particular > bracing style disconcerting. I always brace myself for it when I visit > his site (sorry couldn't resist ;) > > I'm also in the Allman camp :) > > Cheers, > Rob. IMO, the style used by tedd just wastes one tabulation index (

Re: [PHP] A Review Request

2011-05-18 Thread Peter Lind
On 18 May 2011 22:34, tedd wrote: > At 3:31 PM -0400 5/18/11, Joshua Kehn wrote: >> >> On May 18, 2011, at 3:22 PM, tedd wrote: >>> >>> I am considering providing PHP code to the general public via my website >>> >>> This is my first attempt: >>> >>> >>> htt

Re: [PHP] A Review Request

2011-05-18 Thread Robert Cummings
On 11-05-18 04:42 PM, Tim Streater wrote: On 18 May 2011 at 20:31, Joshua Kehn wrote: On May 18, 2011, at 3:22 PM, tedd wrote: What do you people think? I can say I really don't like your bracing style. I completely disagree - having the braces lined up is the only way to go. Means I

Re: Re: [PHP] A Review Request

2011-05-18 Thread Tim Streater
On 18 May 2011 at 20:31, Joshua Kehn wrote: > On May 18, 2011, at 3:22 PM, tedd wrote: >> What do you people think? > I can say I really don't like your bracing style. I completely disagree - having the braces lined up is the only way to go. Means I don't have to search all over creation for

Re: [PHP] A Review Request

2011-05-18 Thread Joshua Kehn
On May 18, 2011, at 4:34 PM, tedd wrote: > > > -Josh: > > There are all sorts of bracing styles, as you can see here: > > http://rebel.lcc.edu/sperlt/citw229/brace-styles.php > > Fortunately, we are all free to choose the one we like. :-) > > I like the Whitesmiths style. > > As for your oth

Re: [PHP] A Review Request

2011-05-18 Thread tedd
At 3:31 PM -0400 5/18/11, Joshua Kehn wrote: On May 18, 2011, at 3:22 PM, tedd wrote: I am considering providing PHP code to the general public via my website This is my first attempt: http://sperling.com/php/authorization/ What do you people think? -

Re: [PHP] A Review Request

2011-05-18 Thread Joshua Kehn
On May 18, 2011, at 3:22 PM, tedd wrote: > Hi gang: > > I am considering providing PHP code to the general public via my website > > This is my first attempt: > > http://sperling.com/php/authorization/ > > What do you people think? > > Cheers, > > tedd > > -- > --- > http://sperling.co

[PHP] A Review Request

2011-05-18 Thread tedd
Hi gang: I am considering providing PHP code to the general public via my website This is my first attempt: http://sperling.com/php/authorization/ What do you people think? Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Warning: session_start()

2011-05-18 Thread Andre Polykanine
Hello Nazish, Try to delete your HTML comments before the http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Nazish To: php-general@lists.php.net Date created: , 9:15:37 P

Re: [PHP] Warning: session_start()

2011-05-18 Thread Stuart Dallas
On Wed, May 18, 2011 at 7:15 PM, Nazish wrote: > Hi everyone, > > I recently uploaded my website files to a server. When I tried to log into > my website, I received these error messages: > > *Warning*: session_start() > [function.session-start

[PHP] Warning: session_start()

2011-05-18 Thread Nazish
Hi everyone, I recently uploaded my website files to a server. When I tried to log into my website, I received these error messages: *Warning*: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output

Re: [PHP] Sending Email via SMTP account using PHP

2011-05-18 Thread Eli Orr (Office)
Thanks Daniel! It works perfect. Eli On 18/05/2011 17:47, Daniel Brown wrote: On Wed, May 18, 2011 at 03:17, Eli Orr (Office) wrote: Hi, I'm looking for a good example for using a real SMTP account to send email from, such as serv...@somai.com where there is a user& password and smtp server

Re: [PHP] Sending messages from php to C++ application via UDP socket

2011-05-18 Thread shiplu
Try to think a string is an array of bytes. Parse that array of bytes at C++ end. There should host to network and network to host data conversion function. Use them. -- Shiplu Mokadd.im

Re: [PHP] Sending Email via SMTP account using PHP

2011-05-18 Thread Daniel Brown
On Wed, May 18, 2011 at 03:17, Eli Orr (Office) wrote: > > Hi, > I'm looking for a good example for using a real SMTP account to send email > from, > such as serv...@somai.com where there is a user & password and smtp server > available. > > Please advise with a good example to reuse, Try thi

Re: [PHP] Sending messages from php to C++ application via UDP socket

2011-05-18 Thread Stuart Dallas
On Wed, May 18, 2011 at 3:16 PM, Schlager, Christian wrote: > > > Hello, > > I am a first-time poster. I hope this is the proper way to ask my question: > > I have a C++ media player application that I want to control via a php > website. > To that end the application has an UDP socket listening f

[PHP] Sending messages from php to C++ application via UDP socket

2011-05-18 Thread Schlager, Christian
Hello, I am a first-time poster. I hope this is the proper way to ask my question: I have a C++ media player application that I want to control via a php website. To that end the application has an UDP socket listening for Player messages. In C++ player messages have the following members: cla

[PHP] observer pattern

2011-05-18 Thread Ken Guest
Lo, so, I'm wondering - how many of you use the observer pattern in php; and if so, do you implement it 'standalone' or with the spl classes? Is there any particular advantage to doing it "your way"; whichever your way is? Ken -- http://blogs.linux.ie/kenguest/ -- PHP General Mailing List (ht

Re: [PHP] NOMAIL option for the list?

2011-05-18 Thread Per Jessen
Michelle Konzack wrote: > Hello Daniel Brown, > > Am 2011-05-17 13:15:50, hacktest Du folgendes herunter: >> On Tue, May 17, 2011 at 13:11, Michelle Konzack >> wrote: >> > Is this not longer subscriber only? >> Actually, it never has been. It's subscription to receive, but >> open to the pu

Re: [PHP] Bitwise AND for 31-st bit

2011-05-18 Thread Vitalii Demianets
On Tuesday 17 May 2011 22:06:34 David Harkness wrote: > It appears that PHP is truncating the constant 0x8000 to be within > MIN_INT and MAX_INT instead of as a bit field, but when shifting 1 << 31 it > doesn't do apply any constraints. That's pretty typical of > bit-manipulation: it will merri

[PHP] Sending Email via SMTP account using PHP

2011-05-18 Thread Eli Orr (Office)
Hi, I'm looking for a good example for using a real SMTP account to send email from, such as serv...@somai.com where there is a user & password and smtp server available. Please advise with a good example to reuse, Thanks Eli -- PHP General Mailing List (http://www.php.net/) To unsubscribe