Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
Hi Chris, interesting thing, but i get the following error message : *Warning*: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in */test4/common/sendmail.php* on line *119* how can i solve this b

[PHP] Re: PHP & Ajax progress bar

2008-03-12 Thread Manuel Lemos
Hello, on 03/12/2008 12:24 AM Shelley said the following: > Hi all, > > I'm searching some file upload progress bar code. > But no good result was found. :( > So is there anybody please be kind enough to show some code here? You may want to take a look at this forms generation and validation cla

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Wolf
Stut wrote: On 12 Mar 2008, at 17:31, Wolf wrote: Richard Heyes <[EMAIL PROTECTED]> wrote: Greg Donald wrote: You're gonna restrict the entire development team from using a given feature just because you don't want to invest 20 minutes in getting your newbie developer up to spead? That's

Re: [PHP] avoid calling php script

2008-03-12 Thread Wolf
H u g o H i r a m wrote: Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or from the browser? because I want to avoid the file being run directly from the browser or from any other file than the swf

Re: [PHP] avoid calling php script

2008-03-12 Thread Steve Edberg
At 3:55 AM +0100 3/13/08, H u g o H i r a m wrote: Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or from the browser? because I want to avoid the file being run directly from the browser or from a

Re: [PHP] avoid calling php script

2008-03-12 Thread John Comerford
May the get_Browser function could tell you if it's from the .swf ? http://us.php.net/manual/en/function.get-browser.php H u g o H i r a m wrote: Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or

[PHP] avoid calling php script

2008-03-12 Thread H u g o H i r a m
Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or from the browser? because I want to avoid the file being run directly from the browser or from any other file than the swf. regards, Hugo. -- PHP

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Nathan Nobbe
On Wed, Mar 12, 2008 at 9:23 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Wed, 2008-03-12 at 17:05 -0500, Greg Donald wrote: > > /me points to SPL and laughs his ass off > > I don't use SPL. i do. it makes handling recursion and a number of other tasks a breeze. not liking it because th

Re: [PHP] Why does the host make a difference?

2008-03-12 Thread Chris
Rick Pasotto wrote: I have a routine that uses the PEAR module CRYPT_BLOWFISH to encrypt a value and then base64_encode() to create a printable string. If I reverse the process on the same host I get the orginal value however if I do the reverse processing on a different host the result is garbag

[PHP] Why does the host make a difference?

2008-03-12 Thread Rick Pasotto
I have a routine that uses the PEAR module CRYPT_BLOWFISH to encrypt a value and then base64_encode() to create a printable string. If I reverse the process on the same host I get the orginal value however if I do the reverse processing on a different host the result is garbage. Shouldn't both the

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 17:05 -0500, Greg Donald wrote: > On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Just because someone got a flashy new toy doesn't mean I want it. I've > > got better things to do than play with flashy toys for the mere purpose > > of playing with flashy toys. I

Re: [PHP] PHP & Ajax progress bar

2008-03-12 Thread Sn!per
Quoting Shelley <[EMAIL PROTECTED]>: > I don't think it works. > > I tried. > The screen always said 0%, 0 of 0 byte until the file is uploaded. > Is that what you mean progress bar? > > -- > Regards, > Shelley (http://phparch.cn) It work fine. And that's what we meant by progress bar. -- Roge

[PHP] Re: What's wrong the __autoload()?

2008-03-12 Thread Colin Guthrie
Dave Goodchild wrote: > Will you two pricks cut it out. How fucking tedious. That's so rude has nobody told you that we prefer bottom-posting on this list? I guess not /me shakes head. :p Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 21:36 +, Dave Goodchild wrote: > Will you two pricks cut it out. How fucking tedious. Wow! Way to totally devolve a good thread. :B Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/

Re: [PHP] mail function and headers

2008-03-12 Thread Chris
as you can see my Return-Path is still pointing on the wrong direction :-( any other idea ? return-path is set with the 5th mail() param: mail($to, $subject, $body, $headers, '[EMAIL PROTECTED]'); -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http:

Re: [PHP] PHP CLI neat errors!

2008-03-12 Thread Chris
Steve Finkelstein wrote: So, I use a Mac to develop with. I used to host Zend Core on my box, until I switched to the MAMP PRO framework. Unfortunately somewhere in between, this lovely issue started occuring with my CLI binary of PHP: foo:~ sf$ php -l dyld: NSLinkModule() error dyld: Symbol no

Re: [PHP] save image in database vs folder

2008-03-12 Thread tedd
At 10:15 AM -0400 3/11/08, Robert Cummings wrote: On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote: > Well, bearing in mind I only have experience of MySQL, the general consensus is to save it to a file on you hard drive and store the file name in the database. If for whatever reason yo

Re: [PHP] Question about user management...

2008-03-12 Thread tedd
At 10:20 PM -0700 3/10/08, Mike wrote: Wait, what? You are defining user role ids as MD5 hashes of UUIDs created from random numbers that change on every request? Am I missing something or is this completely insane advice? Mike: What you're missing is that it doesn't matter. Each session g

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Ray Hauge
Ray Hauge wrote: Greg Donald wrote: On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: Just because someone got a flashy new toy doesn't mean I want it. I've got better things to do than play with flashy toys for the mere purpose of playing with flashy toys. I like to use tools that get j

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Dave Goodchild <[EMAIL PROTECTED]> wrote: > Will you two pricks cut it out. How fucking tedious. Tedious? Sorry. /me passes the "buddhamagnet" a dictionary so he can keep up. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Ray Hauge
Greg Donald wrote: On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: Just because someone got a flashy new toy doesn't mean I want it. I've got better things to do than play with flashy toys for the mere purpose of playing with flashy toys. I like to use tools that get jobs done. Transl

Re: [PHP] Frameworks

2008-03-12 Thread Aschwin Wesselius
Andrés Robinet wrote: Anyway... you will get one thousand opinions about Frameworks, and 90% of them may be correct. Choose the framework you like after playing around with some examples and having an overview of the reference manual (forgot to say, documentation is really important to get you st

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > You're new around here right? Hehe. For sure. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > Just because someone got a flashy new toy doesn't mean I want it. I've > got better things to do than play with flashy toys for the mere purpose > of playing with flashy toys. I like to use tools that get jobs done. Translation: I'm too la

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Dave Goodchild [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 5:37 PM > To: Robert Cummings > Cc: Aschwin Wesselius; Greg Donald; php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > > Will you two pricks cut it out. How

RE: [PHP] Frameworks

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Aschwin Wesselius [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 5:04 PM > To: Andrés Robinet > Cc: php-general@lists.php.net > Subject: Re: [PHP] Frameworks > > Andrés Robinet wrote: > > I want a framework I can plug a microphone in, and talk to i

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Dave Goodchild
Will you two pricks cut it out. How fucking tedious. On Wed, Mar 12, 2008 at 9:34 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-03-12 at 22:26 +0100, Aschwin Wesselius wrote: > > Robert Cummings wrote: > > > On Wed, 2008-03-12 at 16:11 -0500, Greg Donald wrote: > > > > > >> On 3

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Aschwin Wesselius <[EMAIL PROTECTED]> wrote: > -5 for not keeping this kind of childish behavior of the list (both of you) Playing the game by claiming the game is wrong to play is still playing the game. -1 for playing the game hypocritically. -1 for thinking -5 exists. -- Greg D

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 22:26 +0100, Aschwin Wesselius wrote: > Robert Cummings wrote: > > On Wed, 2008-03-12 at 16:11 -0500, Greg Donald wrote: > > > >> On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > >> > >>> > -1 for not recognizing a rhetorical question. > >>> > >>> +2 for sett

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 16:11 -0500, Greg Donald wrote: > On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Yes, but some of your diatribe was originally directed my way. And this > > stuff certainly isn't new to me. > > Sure it is, else you'd be using it.. like all the smart PHP > progra

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Aschwin Wesselius
Robert Cummings wrote: On Wed, 2008-03-12 at 16:11 -0500, Greg Donald wrote: On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > -1 for not recognizing a rhetorical question. +2 for setting his tongue firmly in cheek and providing you with an answer to your rhetorical question.

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 16:11 -0500, Greg Donald wrote: > On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > -1 for not recognizing a rhetorical question. > > > > +2 for setting his tongue firmly in cheek and providing you with an > > answer to your rhetorical question. > > -1 for think

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > -1 for not recognizing a rhetorical question. > > +2 for setting his tongue firmly in cheek and providing you with an > answer to your rhetorical question. -1 for thinking rhetorical question responses mean jack. -1 for thinking +2 exis

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > Yes, but some of your diatribe was originally directed my way. And this > stuff certainly isn't new to me. Sure it is, else you'd be using it.. like all the smart PHP programmers I see on the Rails list looking to expand their tool set on a

RE: [PHP] Frameworks

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Aschwin Wesselius [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 4:14 PM > To: php-general@lists.php.net > Subject: [PHP] Frameworks > > Hi all, > > Maybe this has past the list a couple of times (just like the 'storing > images in a DB' question)

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Nathan Nobbe
On Wed, Mar 12, 2008 at 4:34 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Wed, 2008-03-12 at 15:11 -0500, Greg Donald wrote: > > On 3/12/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > > On Wed, Mar 12, 2008 at 3:59 PM, Greg Donald <[EMAIL PROTECTED]> > wrote: > > > > I'm sorry, I lost cont

Re: [PHP] Frameworks

2008-03-12 Thread Aschwin Wesselius
Andrés Robinet wrote: I want a framework I can plug a microphone in, and talk to it, and it does the job for me (really, I need it). But I guess we are far away from that. You need it? And what happens if you won't get it in a life time? If you need REAL RAD ("a la Delphi"), use VCL for PHP.

[PHP] POST php://input

2008-03-12 Thread sinseven
Hello All, ?I'm doing a POST using httpwebrequest in a Pocket PC C# application to send a file over a stream buffer to a php page on an Apache server. I'm able to not only get ?variablename=value via a $_REQUEST, but also the entire file over php://input. It all works, I'm just not sure it's pr

[PHP] php://input

2008-03-12 Thread sinseven
http://us2.php.net/manual/en/features.file-upload.put-method.php Hello All, ?I'm trying to use a PUT request to send files to a server. I'm wondering if there's a way to return something like a pass/fail code to the stream to catch on the other side. ?PHP side I'm using the code in the Example

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 15:11 -0500, Greg Donald wrote: > On 3/12/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 12, 2008 at 3:59 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > > I'm sorry, I lost context, what missing PHP language feature are you > > > referring to as "it"? > > > > fun

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 14:59 -0500, Greg Donald wrote: > On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > You make it sound like this stuff is new or something. > > Obviously to some it is. Just in this thread we had a person claim to > only know PHP, C, and Java, none of which have any

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Greg Donald [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 4:00 PM > To: php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > > On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > You make it sound like this stuff

Re: [PHP] Frameworks

2008-03-12 Thread Greg Donald
On 3/12/08, Aschwin Wesselius <[EMAIL PROTECTED]> wrote: > What I'm after is a framework that is simple, solid, compact and > flexible enough to extend by myself. http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Comparison_of_features -- Greg Donald http://destiney.com/

[PHP] Frameworks

2008-03-12 Thread Aschwin Wesselius
Hi all, Maybe this has past the list a couple of times (just like the 'storing images in a DB' question). What I'm after is a framework that is simple, solid, compact and flexible enough to extend by myself. I'm not an OOP person. But I do use classes when I think they fit a purpose. But m

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Wed, Mar 12, 2008 at 3:59 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > I'm sorry, I lost context, what missing PHP language feature are you > > referring to as "it"? > > functional capabilities, in particular the ability to dynamically add

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Nathan Nobbe
On Wed, Mar 12, 2008 at 3:59 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > Lisp and other > > functional languages have had it for decades. Even JavaScript has it. > > I'm sorry, I lost context, what missing PHP language feature are you > referring to as "it"? functional capabilities, in parti

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Aschwin Wesselius
Greg Donald wrote: Here, let me dumb-it-down a bit: PHP doesn't have much in the way of meta-programming capabilities. Therefore one would not find it a natural thought to do much meta-programming in PHP, unless one already knew of a language where such support exists. A different example using

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > You make it sound like this stuff is new or something. Obviously to some it is. Just in this thread we had a person claim to only know PHP, C, and Java, none of which have any functional language capabilities built in. > Lisp and other >

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Nathan Nobbe
On Wed, Mar 12, 2008 at 3:35 PM, Zoltán Németh <[EMAIL PROTECTED]> wrote: > 2008. 03. 12, szerda keltezéssel 15.20-kor Robert Cummings ezt írta: > > Even JavaScript has it. > > oh yes, I could have thought of that. in JS you can assign a function to > a property or variable at runtime, even I did

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Zoltán Németh
2008. 03. 12, szerda keltezéssel 15.20-kor Robert Cummings ezt írta: > Even JavaScript has it. oh yes, I could have thought of that. in JS you can assign a function to a property or variable at runtime, even I did something similar, when I assign the action functions of the buttons of a modal dial

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Nathan Nobbe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 3:08 PM > To: Andrés Robinet > Cc: Robert Cummings; Zoltán Németh; Greg Donald; php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > > On Wed, Mar 12, 2008 at 2:

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 14:09 -0500, Greg Donald wrote: > On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > I can't really think of a > > case where I would want to modify the class definition of an > > instantiated object > > You can't very well think to walk if you don't have legs. Yo

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > I can't really think of a > case where I would want to modify the class definition of an > instantiated object You can't very well think to walk if you don't have legs. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (h

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Nathan Nobbe
On Wed, Mar 12, 2008 at 2:53 PM, Andrés Robinet <[EMAIL PROTECTED]> wrote: > I think __autoload would make much more sense if it worked like an event > registration feature. Such as: > > function myAutoloadCallback($className) { >if ($className == 'ShakeItBaby') { >require_

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Zoltán Németh
2008. 03. 12, szerda keltezéssel 15.07-kor Stephane Ulysse ezt írta: > Anyone know any PHP Developers who are looking for employment don't hijack other people's threads, start your own if you want to ask anything. and job offers should contain some information about the job and the employer, and

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Stephane Ulysse
Anyone know any PHP Developers who are looking for employment -Original Message- From: Andrés Robinet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 2:53 PM To: 'Robert Cummings'; 'Zoltán Németh' Cc: 'Greg Donald'; php-general@lists.php.net Subject: RE: [PHP] What's wrong the _

RE: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Andrés Robinet
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 1:51 PM > To: Zoltán Németh > Cc: Greg Donald; php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > > > On Wed, 2008-03-12 at 18:21 +0100, Zoltán Németh wrot

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Zoltán Németh
2008. 03. 12, szerda keltezéssel 13.27-kor Greg Donald ezt írta: > On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > ok, I admit I don't have experience with Ruby but I have experience with > > php. and I don't have experience with Ruby because I read some manuals > > and example codes and

[PHP] PHP CLI neat errors!

2008-03-12 Thread Steve Finkelstein
So, I use a Mac to develop with. I used to host Zend Core on my box, until I switched to the MAMP PRO framework. Unfortunately somewhere in between, this lovely issue started occuring with my CLI binary of PHP: foo:~ sf$ php -l dyld: NSLinkModule() error dyld: Symbol not found: _zend_extensions

Re: [PHP] Storing values between multiple page forms

2008-03-12 Thread Daniel Brown
On Wed, Mar 12, 2008 at 2:37 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > If you are going to follow Daniel's example, since you could potentially be > working with more then one server on any given order, you might want to look > at > using a multi-dimensional array to store your values in.

Re: [PHP] Storing values between multiple page forms

2008-03-12 Thread Jim Lucas
Matty Sarro wrote: Yeah, I'm working on this with the hopes of it turning into a full module for a larger project I'm working on... but I'm still a bit of a noob :) Thanks for the assistance guys! On Tue, Mar 11, 2008 at 11:48 AM, Daniel Brown <[EMAIL PROTECTED]> wrote: On Tue, Mar 11, 2008 at

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > ok, I admit I don't have experience with Ruby but I have experience with > php. and I don't have experience with Ruby because I read some manuals > and example codes and whatnot and I just could not get to like it at > all. That's a lot dif

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Stut
On 12 Mar 2008, at 17:31, Wolf wrote: Richard Heyes <[EMAIL PROTECTED]> wrote: Greg Donald wrote: You're gonna restrict the entire development team from using a given feature just because you don't want to invest 20 minutes in getting your newbie developer up to spead? That's pure idio

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 18:21 +0100, Zoltán Németh wrote: > 2008. 03. 12, szerda keltezéssel 12.12-kor Greg Donald ezt írta: > > On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > > but I strongly think that Ruby as a > > > language just plain sucks ;) > > > > And exactly how many projects do

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Wolf
Richard Heyes <[EMAIL PROTECTED]> wrote: > Greg Donald wrote: > > On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > >> That's not quite the situation. Finding good developers isn't easy, so > >> lots of companies will go for "acceptable" ones, who are less likely to > >> know of __aut

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Zoltán Németh
2008. 03. 12, szerda keltezéssel 12.12-kor Greg Donald ezt írta: > On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > but I strongly think that Ruby as a > > language just plain sucks ;) > > And exactly how many projects do you have under your belt to allow you > to develop this opinion? Wh

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Imagine at Blizzard one morning, "Hey guys, we're not going to be able > > to use function pointers on the new Diablo III like we had planned to > > do, the new hires down the hall don't understand them very well so > > just don't use t

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > No it's not. It's not like require_once() is a hassle to type/use > anyhow. Things like editor macros and templates help out enormously and > by using them over __auto load you (a business) could save yourself a > lot of time and hence money

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 11:26 -0500, Greg Donald wrote: > On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > > It's a perfectly viable business reason. > > No it's not. I guess you need a "business" scenario to wrap your head > around the idiocy. > > Here you go: > > Imagine at Blizzard one

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 11:12 -0500, Greg Donald wrote: > On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > But then you'd end up with something like Ruby on Rails... and we all > > know about Ruby on Rails *VOMIT*. > > You clearly don't know much about it or else you wouldn't be bashing

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > but I strongly think that Ruby as a > language just plain sucks ;) And exactly how many projects do you have under your belt to allow you to develop this opinion? What's the url to any one of them? Unlike you I actually have thousands of lin

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Richard Heyes
Greg Donald wrote: On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: That's not quite the situation. Finding good developers isn't easy, so lots of companies will go for "acceptable" ones, who are less likely to know of __autoloads existence. Hence, using __autoload is unwise. A lesser de

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Zoltán Németh
2008. 03. 12, szerda keltezéssel 11.12-kor Greg Donald ezt írta: > On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > But then you'd end up with something like Ruby on Rails... and we all > > know about Ruby on Rails *VOMIT*. > > You clearly don't know much about it or else you wouldn't b

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > That's not quite the situation. Finding good developers isn't easy, so > lots of companies will go for "acceptable" ones, who are less likely to > know of __autoloads existence. Hence, using __autoload is unwise. A lesser developer should be

Re: [PHP] A Quick Reminder....

2008-03-12 Thread Ray Hauge
Jason Pruim wrote: On Mar 12, 2008, at 11:06 AM, Daniel Brown wrote: On Wed, Mar 12, 2008 at 11:01 AM, TG <[EMAIL PROTECTED]> wrote: How about something OT that we can argue about... driving on the left side of the road versus the right side. How does your country compare? Here in Pe

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Richard Heyes
It's a perfectly viable business reason. No it's not. I guess you need a "business" scenario to wrap your head around the idiocy. Here you go: Imagine at Blizzard one morning, "Hey guys, we're not going to be able to use function pointers on the new Diablo III like we had planned to do, the n

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Eric Butera
On Wed, Mar 12, 2008 at 10:05 AM, Gustavo Narea <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm wondering what's wrong with the use of __autoload(), since I see that > projects like the Zend Framework don't use it and prefer to require_once > each required file. > > Thanks in advance. > -- >

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > It's a perfectly viable business reason. No it's not. I guess you need a "business" scenario to wrap your head around the idiocy. Here you go: Imagine at Blizzard one morning, "Hey guys, we're not going to be able to use function pointers o

RE: [PHP] A Quick Reminder....

2008-03-12 Thread TG
- Original Message - From: Andrés Robinet <[EMAIL PROTECTED]> To: "'Wolf'" <[EMAIL PROTECTED]>, "'Jason Pruim'" <[EMAIL PROTECTED]> Cc: "'TG'" <[EMAIL PROTECTED]>, "'Daniel Brown'" <[EMAIL PROTECTED]>, "'PHP General List'" Date: Wed, 12 Mar 2008 11:58:26 -0400 > How about whe

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Richard Heyes
For example a junior developer who doesn't know of its existence and is new to a job is less likely to admit ignorance and ask how a class is being defined when __autoload() is being used. That's a the dumbest reason I've ever heard to not use a given language feature. It's a perfectly via

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > But then you'd end up with something like Ruby on Rails... and we all > know about Ruby on Rails *VOMIT*. You clearly don't know much about it or else you wouldn't be bashing it. Period. Just admit the fact that you're resistant to learn

Re: [PHP] A Quick Reminder....

2008-03-12 Thread TG
RFC1855/FYI28: ftp://ftp.rfc-editor.org/in-notes/rfc1855.txt ftp://ftp.rfc-editor.org/in-notes/fyi/fyi28.txt Found via the RFC-Editor archive search: http://www.rfc-editor.org/ Ok, so this RFC discourages top posting, but it was also written 13 years ago when Usenet and other threaded/flat mess

RE: [PHP] A Quick Reminder....

2008-03-12 Thread Andrés Robinet
I don't know... but... > -Original Message- > From: Wolf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2008 11:30 AM > To: Jason Pruim > Cc: TG; Daniel Brown; PHP General List > Subject: Re: [PHP] A Quick Reminder > > > Jason Pruim <[EMAIL PROTECTED]> wrote: > > > > On

Re: [PHP] A Quick Reminder....

2008-03-12 Thread Per Jessen
Daniel Brown wrote: > Here in Pennsyltucky, a lot of people drive on the left, despite > the fact that the whole US is supposed to drive on the right. It > usually doesn't turn out very good. .:shakes head, solemnly:. Don't worry Dan, evolution will sort that out eventually. /Per Jessen, Zür

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok, so this is what i got and it is still remaining... :-( Received: from serdev ([127.0.0.1]) by home.com with MailEnable ESMTP; Wed, > 12 Mar 2008 16:40:18 +0100 > Date: Wed, 12 Mar 2008 16:40:18 +0100 > Subject: subject 3 > To: [EMAIL PROTECTED] > From: raf, news <[EMAIL PROTECTED]> > Reply-To:

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Robert Cummings
On Wed, 2008-03-12 at 10:33 -0500, Greg Donald wrote: > On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > > > I'm wondering what's wrong with the use of __autoload(), since I see that > > > projects like the Zend Framework don't use it and prefer to require_once > > > each required file. >

Re: [PHP] strtotime( 'last Sunday' ) and republicans

2008-03-12 Thread Greg Donald
On 3/10/08, Wolf <[EMAIL PROTECTED]> wrote: > Watch throwing that blame around there Greg, you get to thank the > democrats for NAFTA and the hurting the heartlands No matter where we draw the borders or put the roads and highways, it's still just the one planet, with the same finite resources we

Fwd: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok i will try... what about UTF-8 to ensure unicode ? my website and especially the form which will send this email, will be filled in by several nationalities... spanish, english, french, slovak, german,,... so isn't it easier to set up utf-8 ? A. On Wed, Mar 12, 2008 at 4:11 PM, spacemarc <[EM

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok i will try... what about UTF-8 to ensure unicode ? my website and especially the form which will send this email, will be filled in by several nationalities... spanish, english, french, slovak, german,,... so isn't it easier to set up utf-8 ? A. On Wed, Mar 12, 2008 at 4:11 PM, spacemarc <[EMA

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > > I'm wondering what's wrong with the use of __autoload(), since I see that > > projects like the Zend Framework don't use it and prefer to require_once > > each required file. > > Things that happen without you explicitly causing them (ie re

Re: [PHP] A Quick Reminder....

2008-03-12 Thread Wolf
Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Mar 12, 2008, at 11:06 AM, Daniel Brown wrote: > > > On Wed, Mar 12, 2008 at 11:01 AM, TG <[EMAIL PROTECTED]> > > wrote: > >> How about something OT that we can argue about... driving on the > >> left side > >> of the road versus the righ

Re: [PHP] PHP & Ajax progress bar

2008-03-12 Thread Thijs Lensselink
Quoting Daniel Brown <[EMAIL PROTECTED]>: On Wed, Mar 12, 2008 at 11:03 AM, Philip Thompson <[EMAIL PROTECTED]> wrote: On Mar 12, 2008, at 9:52 AM, Thijs Lensselink wrote: > Quoting Philip Thompson <[EMAIL PROTECTED]>: >> >> How do you pronounce your name? > > Well.. how to explain this on

Re: [PHP] A Quick Reminder....

2008-03-12 Thread Jason Pruim
On Mar 12, 2008, at 11:06 AM, Daniel Brown wrote: On Wed, Mar 12, 2008 at 11:01 AM, TG <[EMAIL PROTECTED]> wrote: How about something OT that we can argue about... driving on the left side of the road versus the right side. How does your country compare? Here in Pennsyltucky, a lot

Re: [PHP] A Quick Reminder....

2008-03-12 Thread Aschwin Wesselius
Daniel Brown wrote: On Wed, Mar 12, 2008 at 11:01 AM, TG <[EMAIL PROTECTED]> wrote: How about something OT that we can argue about... driving on the left side of the road versus the right side. How does your country compare? Here in Pennsyltucky, a lot of people drive on the l

Re: [PHP] PHP & Ajax progress bar

2008-03-12 Thread Daniel Brown
On Wed, Mar 12, 2008 at 11:03 AM, Philip Thompson <[EMAIL PROTECTED]> wrote: > On Mar 12, 2008, at 9:52 AM, Thijs Lensselink wrote: > > Quoting Philip Thompson <[EMAIL PROTECTED]>: > >> > >> How do you pronounce your name? > > > > Well.. how to explain this one... > > > > thijs : T + [ice] >

Re: [PHP] mail function and headers

2008-03-12 Thread spacemarc
2008/3/12, Daniel Brown <[EMAIL PROTECTED]>: > You have the From: header parameters reversed. Try this: > >$headers = "From: ".$fromname." <".$email.">\r\n"; > $headers .= "Reply-To: ".$email."\r\n"; > $headers .= "X-Mailer: PHP/".phpversion()."\r\n"; > /* > > */ > ?> you c

Re: [PHP] A Quick Reminder....

2008-03-12 Thread Daniel Brown
On Wed, Mar 12, 2008 at 11:01 AM, TG <[EMAIL PROTECTED]> wrote: > How about something OT that we can argue about... driving on the left side > of the road versus the right side. How does your country compare? Here in Pennsyltucky, a lot of people drive on the left, despite the fact that t

Re: [PHP] PHP & Ajax progress bar

2008-03-12 Thread Philip Thompson
On Mar 12, 2008, at 9:52 AM, Thijs Lensselink wrote: Quoting Philip Thompson <[EMAIL PROTECTED]>: On Mar 12, 2008, at 5:02 AM, Thijs Lensselink wrote: Thijs Lensselink 写道: How do you pronounce your name? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] A Quick Reminder....

2008-03-12 Thread TG
I call TROLL on Dan! :) I top post for what I consider to be legitmate reasons just like you bottom post for reasons you consider to be legitmate. Can't we all just get along? How about something OT that we can argue about... driving on the left side of the road versus the right side. H

Re: [PHP] Timezone management

2008-03-12 Thread Daniel Brown
On Wed, Mar 12, 2008 at 10:50 AM, Jim Lucas <[EMAIL PROTECTED]> wrote: > > Lamonte H wrote: > > After a while of studying different softwares, I've still been getting > > confused on how to make a timezone management script to display time in > > different time zones. Like right now im in -060

  1   2   >