Re: [PHP] ASCII Captcha

2008-08-30 Thread Sancar Saran
http://blogs.zdnet.com/security/?p=1835 That was great. Human captcha resolvers. $2 per 1000 resloved captchas... ouch... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to write good code

2008-08-30 Thread Ross McKay
On Sat, 30 Aug 2008 20:17:18 -0400, Shiplu wrote: >I wanna know how to write good code in php. >Not oop stuff. I wanna know how to write a good php code file. >documentation, comments. indentation etc. >what are the good practices?? Find out what "bad" is by reading this: http://thedailywtf.com/

Re: [PHP] Re: Php installation

2008-08-30 Thread David Robley
On Sat, 30 Aug 2008, It flance wrote: > Hi, > > Apache was already installed in my computer. Anyway now i can run php > scripts without any problem. The problem is just that if a script > contains database statements like connection to the database server, > those statements are ignored while run i

Re: [PHP] Re: Individual bulk e-mails - performance question

2008-08-30 Thread Manuel Lemos
Hello, on 08/30/2008 10:40 PM Diogo Neves said the following: Well, I agree that sending it by an external process more specialized in sending emails can be faster and more eficient, but it's harder to control... sometimes you need to know in your php if email was really sent and do something, a

Re: [PHP] Re: Individual bulk e-mails - performance question

2008-08-30 Thread Diogo Neves
Well, I agree that sending it by an external process more specialized in sending emails can be faster and more eficient, but it's harder to control... sometimes you need to know in your php if email was really sent and do something, and while I'm not saying it's impossible, I'm sure it's a little m

[PHP] Re: Individual bulk e-mails - performance question

2008-08-30 Thread Manuel Lemos
Hello, on 08/30/2008 02:40 PM Merlin said the following: I am running a travel community where users want to get informed on changes inside different groups they have subscribed to. At the moment I am doing this with a for loop that generates an individual e-mail sent to them via phpmailer. T

Re: [PHP] how to write good code

2008-08-30 Thread Eric Gorr
On Aug 30, 2008, at 8:17 PM, Shiplu wrote: I wanna know how to write good code in php. Not oop stuff. I wanna know how to write a good php code file. documentation, comments. indentation etc. what are the good practices?? Studying design patterns are a great start to learning how to write g

[PHP] how to write good code

2008-08-30 Thread Shiplu
I wanna know how to write good code in php. Not oop stuff. I wanna know how to write a good php code file. documentation, comments. indentation etc. what are the good practices?? -- Blog: http://talk.cmyweb.net/ Follow me: http://twitter.com/shiplu

Re: [PHP] Javascript mailing list

2008-08-30 Thread Shiplu
May be jsninja has mailing list. I am fond of jquery. so i recommend it too. -- Blog: http://talk.cmyweb.net/ Follow me: http://twitter.com/shiplu

Re: [PHP] Individual bulk e-mails - performance question

2008-08-30 Thread Diogo Neves
Well, i have done that once and it worked pretty well... Only diference was that i had a hour limit ( think dreamhost hosting ) and used Swift Mailer, but i think it don't matter a lot ;) I think is a good solution... On Sat, Aug 30, 2008 at 6:40 PM, Merlin <[EMAIL PROTECTED]> wrote: > Hi everybod

Re: [PHP] Javascript mailing list

2008-08-30 Thread mike
look at jquery - it will make working with javascript so much easier and has it's own community around it too. On 8/30/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > Hi, > > Can anyone recommend a good Javascript related mailing list? > > Thanks. > > -- > Richard Heyes > > HTML5 Graphing: > http:/

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Eric Butera
On Sat, Aug 30, 2008 at 4:26 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > tedd wrote: > >> At 5:29 PM +0200 8/30/08, Per Jessen wrote: >>>Well, I guess - sort of. Just because something is Unicode does not >>>make it global, in my opinion. >>>In fact, I would argue that most of Unicode is _not_ glo

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Per Jessen
tedd wrote: > What some browser developers did was to NOT make the conversion from > PUNYCODE to the correct code-points but rather show the PUNYCODE > "as-is", which was never the intent of the IDNS WG. This act defeated > the entire process of allowing non-English people to have non-English > do

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Per Jessen
tedd wrote: > At 5:29 PM +0200 8/30/08, Per Jessen wrote: >>Well, I guess - sort of. Just because something is Unicode does not >>make it global, in my opinion. >>In fact, I would argue that most of Unicode is _not_ global at all. >>Think about the alphabets such as: Arabic, Armenian, Bengali, >>

Re: [PHP] Individual bulk e-mails - performance question

2008-08-30 Thread Per Jessen
Merlin wrote: > I am thinking about placing the info on the individual e-mail inside a > ascii txt file that will be read by a cron job which will send the > e-mail instead. Something like every 5 minutes reading it line by line > and then after sending it removing the line. > e.g: > for:[EMAIL PR

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Diogo Neves
Well, i really really believe that urls should keep clear as water... http://forcaaerea.pt should exist, and not http://forçaaérea.pt... even because in reality its http://xn--foraarea-u0aw.pt Its a big mess... How to keep it clear? don't mess up with your domains if you care about your clients

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Andrew Ballard
On Sat, Aug 30, 2008 at 2:34 PM, Diogo Neves <[EMAIL PROTECTED]> wrote: > Your reply is a bit off-topic, and i agree u should care about all > those with red/green color blindness, but u should care with all those > how dislike spam too. > Then, unless u know a really good alternative to a CAPTCHA,

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Diogo Neves
Your reply is a bit off-topic, and i agree u should care about all those with red/green color blindness, but u should care with all those how dislike spam too. Then, unless u know a really good alternative to a CAPTCHA, i believe its yet the better solution... PS: u can answer and discuse this on

Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
Diogo Neves schreef: Hi, On Sat, Aug 30, 2008 at 6:20 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: please keep replies on list unless your intending to pay me an hourly fee ... Yeap, i'm new in the list and i missed te cc of list... i'll try to remember, sorry okay. Diogo Neves schreef: N

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Andrew Ballard
On Sat, Aug 30, 2008 at 11:38 AM, tedd <[EMAIL PROTECTED]> wrote: > At 1:38 PM +0200 8/30/08, Per Jessen wrote: >> >> Interesting - I copy-pasted the Rx symbol (from your webpage) into FF >> and appended .com - and FF converted the URL symbol to "xn--u2g.com". >> >> I guess FF only works with a lim

Re: [PHP] Function __call

2008-08-30 Thread Diogo Neves
Hi, On Sat, Aug 30, 2008 at 6:20 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > please keep replies on list unless your intending to pay me > an hourly fee ... Yeap, i'm new in the list and i missed te cc of list... i'll try to remember, sorry > > Diogo Neves schreef: Now in understand "schreef"

Re: [PHP] Recommendation

2008-08-30 Thread Richard Heyes
> As such, if any of the regulars to this list are in need of a > recommendation, please contact me off-list. Thank you very much! :-) http://www.linkedin.com/in/heyesr -- Richard Heyes HTML5 Graphing: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] Individual bulk e-mails - performance question

2008-08-30 Thread Merlin
Hi everybody, I am running a travel community where users want to get informed on changes inside different groups they have subscribed to. At the moment I am doing this with a for loop that generates an individual e-mail sent to them via phpmailer. That works, however the submit of the conte

Re: [PHP] ASCII Captcha

2008-08-30 Thread Jochem Maas
tedd schreef: At 3:25 PM +0100 8/30/08, Stut wrote: in the meantime I stand by my assertion that a 'phone number people can call with any type of telephone to interact with another human who can get them past the check without compromising the protection the check affords is ultimate accessibi

Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
please keep replies on list unless your intending to pay me an hourly fee ... Diogo Neves schreef: On Sat, Aug 30, 2008 at 4:40 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: Diogo Neves schreef: ... nop... I wanna manipulate the $this and the $arguments, and possible don't even execute the pr

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 3:25 PM +0100 8/30/08, Stut wrote: in the meantime I stand by my assertion that a 'phone number people can call with any type of telephone to interact with another human who can get them past the check without compromising the protection the check affords is ultimate accessibility. Well, e

Re: [PHP] Bug in array_key_exist?

2008-08-30 Thread Jochem Maas
Korgan schreef: Korgan napsal(a): Jim Lucas napsal(a): Korgan wrote: Hi, I have a problem with array_key_exists in if statement. I have a class with this function class XXX { private items = array(); ... ... ... public function addXXX($id, $count) { $count = (int)$cout;

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread tedd
At 5:29 PM +0200 8/30/08, Per Jessen wrote: Well, I guess - sort of. Just because something is Unicode does not make it global, in my opinion. In fact, I would argue that most of Unicode is _not_ global at all. Think about the alphabets such as: Arabic, Armenian, Bengali, Bopomofo, Cyrillic, Dev

Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
Diogo Neves schreef: thanks, well, the 'new' woks the same with ou without '()' after class, I think... you think? I gave you code that shows exactly that. but you wrote the following: new $user = new user(); which is not correct, the first new in that line is a syntax error. that me

[PHP] Re: What's with the Rx symbol?

2008-08-30 Thread tedd
At 1:38 PM +0200 8/30/08, Per Jessen wrote: Interesting - I copy-pasted the Rx symbol (from your webpage) into FF and appended .com - and FF converted the URL symbol to "xn--u2g.com". I guess FF only works with a limited subset of the many possible special characters. What is happening there i

Re: [PHP] Re: What's with the Rx symbol?

2008-08-30 Thread Per Jessen
tedd wrote: > At 1:30 PM +0200 8/30/08, Per Jessen wrote: >> I finally managed to get to Tedds site > > It's not that hard, try: http://rx-2.com > Yeah, but that _only_ takes me to rx-2.com, nothing else? > And you said: > >>Now, I haven't worked in pharmaceuticals, but I've worked in most

[PHP] Re: What's with the Rx symbol?

2008-08-30 Thread tedd
At 1:23 PM +0200 8/30/08, Per Jessen wrote: tedd wrote: But as it is now, it's not so much IF the domain name is easy to type in or not, but rather does the Rx.com show up in the URL once you get there? And it does for most browsers other than IE. You can get to the site very easily, try

[PHP] Re: What's with the Rx symbol?

2008-08-30 Thread tedd
At 1:20 PM +0200 8/30/08, Per Jessen wrote: I think the problem is mostly on the domain owner side though - if you register a domain for publishing something or other, but most of your intended audience cannot enter it in an easy, straight-forward way, you've only shot yourself in the foot, haven

[PHP] Re: What's with the Rx symbol?

2008-08-30 Thread tedd
At 1:30 PM +0200 8/30/08, Per Jessen wrote: I finally managed to get to Tedds site It's not that hard, try: http://rx-2.com And you said: Now, I haven't worked in pharmaceuticals, but I've worked in most European countries. So it's probably just me, but I've _never_ come across the Rx symb

Re: [PHP] ASCII Captcha

2008-08-30 Thread Stut
On 30 Aug 2008, at 15:02, tedd wrote: At 12:05 AM +0100 8/30/08, Stut wrote: To me accessibility means that everyone is able to use something to achieve a goal regardless of their physical or mental condition. Nothing about it says that everyone should be able to reach that goal without ass

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 3:27 PM +0200 8/30/08, Jochem Maas wrote: 2. you can't shut him down either, he does'nt have an off button. Yeah, he's a lot like his blow-up dolls except you can't deflate him. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP Gen

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 12:32 AM -0400 8/30/08, Robert Cummings wrote: On Sat, 2008-08-30 at 00:25 -0400, Eric Gorr wrote: > Please, would all of the other readers of this mailing list write to [EMAIL PROTECTED] and ask them to shut Robert Cummings down? Thank you. I'm sorry list *lol* But this one made me lau

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 12:05 AM +0100 8/30/08, Stut wrote: On 29 Aug 2008, at 22:07, tedd wrote: Do you not agree? Sort of. I think most disabled people accept that they are different and that special provisions sometimes need to be made. In this case I would hope people would understand that the current techno

Re: [PHP] ASCII Captcha

2008-08-30 Thread Stut
On 30 Aug 2008, at 14:05, tedd wrote: At 11:39 PM +0200 8/29/08, Jochem Maas wrote: I think both tedd and Stut make good points, I guess we'll all be hacking away at such issues for a long time to come. That's the nature of the beast (no not Stut!) I am Stut - hear me Roar!! CAPTCHA's are n

Re: [PHP] Function __call

2008-08-30 Thread Diogo Neves
thanks, well, the 'new' woks the same with ou without '()' after class, I think... and I now how it works, i only don't understand why... if the method is not available outside of class it should go to __call function like if it doesn't exist... it doesn't make any sense to anyone else? On Sat,

Re: [PHP] Re: With regard to: [PHP] ASCII Captcha

2008-08-30 Thread Jochem Maas
Jim Lucas schreef: Robert Cummings wrote: On Sat, 2008-08-30 at 00:01 -0400, Eric Gorr wrote: No, I will not help you troll. But, I certainly cannot prevent you from doing so. Hopefully the list moderators will shut you down. This is PHP General. We discuss PHP and related issues. CAPTCHA

Re: [PHP] Function __call

2008-08-30 Thread Jochem Maas
Diogo Neves schreef: hi all, I'm sending this email only to ask if someone know if the works of __call in private methods is bug or feature. ex. class user { public function __call ( $name, $arguments ) { do something return call_user_func( array( $this, $name ), $arguments ); the fatal erro

Re: [PHP] ASCII Captcha

2008-08-30 Thread Jochem Maas
Robert Cummings schreef: ... using bots to crack Google’s captchas. I really don't see how this story supports your arguments in the least and as such I will not be answering anymore of your drivel. You appear to have nothing of usefulness to add to the conversation. I didn't think it would

Re: [PHP] Recommendation

2008-08-30 Thread Stut
On 30 Aug 2008, at 13:38, tedd wrote: At 1:16 PM +0100 8/30/08, Stut wrote: Now, about that recommendation for my linked in profile... ;) That's not a bad idea. Daniel and I did an exchange a while back. I think it might help to land clients if we can use our linked-in status in some way.

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 11:56 PM +0100 8/29/08, Stut wrote: On 29 Aug 2008, at 22:39, Jochem Maas wrote: in the mean time, here's wishing more clean water and internet access for everyone (and less bombs). Hear hear, except that I'd put food above internet access. -Stut Yep, right up there with health care (not

Re: [PHP] ASCII Captcha

2008-08-30 Thread Stut
Oh look, you forgot to include the list again. On 30 Aug 2008, at 13:54, Eric Gorr wrote: On Aug 30, 2008, at 8:26 AM, Stut wrote: Eric... 1) Quoting an NYT blog as an authority on technical matters is both naive and asking for it. The mainstream press have never used industry-specific te

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 12:14 AM +0200 8/30/08, Jochem Maas wrote: I have no shame ... I'm dutch. That's obvious. :-) What we (i.e., USA Government) needs to do is to get you people (yeah I said you people) down to New Orleans to teach us how to make a dike. Seriously, your countrymen are the world's leading

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 11:51 PM +0200 8/29/08, Jochem Maas wrote: so orthogonal to the turing test ... I'd wager that research in turing test passing technology is moving faster that captcha tech. so in the long run captcha is plain dead in the water. I agree with that. Creating a better captcha is a losing prop

Re: [PHP] 301 redirect

2008-08-30 Thread Stut
On 30 Aug 2008, at 13:42, Feris wrote: Is it possible to do permanent redirect (301) with php ? If possible... which is more efficient, by using .htaccess or php redirect ? If using PHP 4.3 or above... header('Location: http://website.com/some/page.html', true, 301); See http://php.net/hea

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 11:39 PM +0200 8/29/08, Jochem Maas wrote: tedd schreef: Do you not agree? yes and no. in the wild a lion with hip atrophy will be forced to crawl away and die ... no more eating gazelles for him I hope I don't get finger atrophy. --- my point being we have a long long long way to go be

[PHP] 301 redirect

2008-08-30 Thread Feris
Is it possible to do permanent redirect (301) with php ? If possible... which is more efficient, by using .htaccess or php redirect ? Thanks, Feris

[PHP] Recommendation

2008-08-30 Thread tedd
Hi gang: At 1:16 PM +0100 8/30/08, Stut wrote: Now, about that recommendation for my linked in profile... ;) That's not a bad idea. Daniel and I did an exchange a while back. I think it might help to land clients if we can use our linked-in status in some way. I haven't done that yet, but th

Re: [PHP] Javascript mailing list

2008-08-30 Thread Benjamin Hawkes-Lewis
Richard Heyes wrote: Can anyone recommend a good Javascript related mailing list? http://lists.evolt.org/mailman/listinfo/javascript perhaps. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function __call

2008-08-30 Thread Diogo Neves
hi all, I'm sending this email only to ask if someone know if the works of __call in private methods is bug or feature. ex. class user { public function __call ( $name, $arguments ) { do something return call_user_func( array( $this, $name ), $arguments ); } private function xpto ( $arguments )

Re: [PHP] ASCII Captcha

2008-08-30 Thread Stut
On 30 Aug 2008, at 05:32, Robert Cummings wrote: On Sat, 2008-08-30 at 00:25 -0400, Eric Gorr wrote: On Aug 30, 2008, at 12:19 AM, Robert Cummings wrote: On Sat, 2008-08-30 at 00:05 -0400, Eric Gorr wrote: Oh, here's an interesting story: http://bits.blogs.nytimes.com/2008/03/13/breaking-goo

Re: [PHP] Is this a bug?

2008-08-30 Thread Thijs Lensselink
Jochem Maas wrote: > T Lensselink schreef: >> Catalin Zamfir Alexandru, DATAGRAM SRL wrote: >>> Hello guys, >>> >>> I've been stalking on the list for some time. Didn't >>> have >>> anything to report/talk, until now. I have a code like this, maybe >>> you guys >>> can reproduce it,

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 11:51 PM +0200 8/29/08, Jochem Maas wrote: Eric Gorr schreef: There is no documentation anywhere which claims, as you do, that it is impossible to design a captcha which deals with accessibility issues. on behalf of the list, please accept our "Crayon of the Week" award. Oh, and please r

Re: [PHP] ASCII Captcha

2008-08-30 Thread Stut
On 30 Aug 2008, at 13:00, tedd wrote: At 12:05 AM +0100 8/30/08, Stut wrote: On 29 Aug 2008, at 22:07, tedd wrote: I hesitated before writing this because I don't want to get into another debate with you, but accessibility means that all people (disabled or not) can access the data they want

[PHP] Javascript mailing list

2008-08-30 Thread Richard Heyes
Hi, Can anyone recommend a good Javascript related mailing list? Thanks. -- Richard Heyes HTML5 Graphing: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ASCII Captcha

2008-08-30 Thread tedd
At 12:05 AM +0100 8/30/08, Stut wrote: On 29 Aug 2008, at 22:07, tedd wrote: I hesitated before writing this because I don't want to get into another debate with you, but accessibility means that all people (disabled or not) can access the data they want in a similar fashion. Why hesitate? I

Re: [PHP] Regex for email validation

2008-08-30 Thread Per Jessen
Per Jessen wrote: > tedd wrote: > >> But as it is now, it's not so much IF the domain name is easy to >> type in or not, but rather does the Rx.com show up in the URL once >> you get there? And it does for most browsers other than IE. >> >> You can get to the site very easily, try typing: >> >

[PHP] Re: What's with the Rx symbol? (was: Regex for email validation)

2008-08-30 Thread Per Jessen
Yeti wrote: > That Rx.com domain name is really great stuff, but how do you expect > the average user to type it in? > Completely separate question - I finally managed to get to Tedds site, where I read this: "The ℞symbol is a truly global icon for Pharmaceuticals. What Pharmaceutical company w

Re: [PHP] Regex for email validation

2008-08-30 Thread Per Jessen
tedd wrote: > But as it is now, it's not so much IF the domain name is easy to > type in or not, but rather does the Rx.com show up in the URL once > you get there? And it does for most browsers other than IE. > > You can get to the site very easily, try typing: > > http://rx-2.com > > That wa

Re: [PHP] Regex for email validation

2008-08-30 Thread Per Jessen
tedd wrote: > However, it's one thing to have a keyboard designed for a specific > language and another to be able to enter code-points that aren't > associated with any specific language (i.e., Dingbats and Math > Symbols). Ah yes, that's true. How about an APL2 keyboard then? :-) > For examp

[PHP] Re: Php installation

2008-08-30 Thread David Robley
It flance wrote: > Hi all, > > I'm using Fedora 8. I installed php, mysql and apache. Now i can run a > script connecting to a database from terminal but not from browser. > > Any suggestion? Have you configured apache to process php scripts? See item 14 at http://php.net/manual/en/install.uni