[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] 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/

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] 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 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

[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

[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

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.

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 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 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] 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 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 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: > > 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 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 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 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] 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 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] 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 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] 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, 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] 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] 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] 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] 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] 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] 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/

[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] 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

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

[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] 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

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

[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] 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

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 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] 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

[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] 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

<    1   2