Re: [PHP] PHP Frameworks - Opinion

2006-08-02 Thread Hidayet Dogan
What about CakePHP and Code Igniter? I know working with Code Igniter easier than CakePHP, but CakePHP is more capable than Code Igniter. On Tue, 1 Aug 2006, Robert Cummings wrote: On Wed, 2006-08-02 at 04:15 +0200, rich gray wrote: Robert Cummings wrote: [chop] An IDE is not a framework,

Re: [PHP] PHP Frameworks - Opinion

2006-08-02 Thread Andries Seutens
Hidayet Dogan schreef: What about CakePHP and Code Igniter? I know working with Code Igniter easier than CakePHP, but CakePHP is more capable than Code Igniter. Hi, Lately frameworks have become a real *hype*. Currently, there are more than 40 frameworks out there, and new ones are being

[PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Tony Marston
Gabe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc.

Re: [PHP] PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
--=neXtPaRt_1154507404 Content-Type: text/plain Content-Transfer-Encoding: 7bit Personally, I think that the community at the Zend Framework is doing a pretty good job. Everything is coded very well, with a lot of possibilities to extend things to your personal needs (if nessecary).

[PHP] Image list performance ISSUE

2006-08-02 Thread Andy
Hi, I have tons of images, which belongs to different users. In the software we show to the users only the images that they have, but If they take the image links manually they can also see the other images if they modify the image name in the link. Now, I can override the image request

[PHP] Printer Friendly

2006-08-02 Thread weetat
Hi all , I have a web page which need to be print to the printer. However when i use javascript window print() function , the page and alignment is out. Read on the net , suggest that i need to setup a printer friendly page in the web page. Any ideas how i going to accomplished it

[PHP] Re: Printer Friendly

2006-08-02 Thread David Robley
weetat wrote: Hi all , I have a web page which need to be print to the printer. However when i use javascript window print() function , the page and alignment is out. Read on the net , suggest that i need to setup a printer friendly page in the web page. Any ideas how i

Re: [PHP] Printer Friendly

2006-08-02 Thread Andries Seutens
weetat schreef: Hi all , I have a web page which need to be print to the printer. However when i use javascript window print() function , the page and alignment is out. Read on the net , suggest that i need to setup a printer friendly page in the web page. Any ideas how i going to

Re: [PHP] Image list performance ISSUE

2006-08-02 Thread tedd
At 12:15 PM +0300 8/2/06, Andy wrote: Hi, I have tons of images, which belongs to different users. In the software we show to the users only the images that they have, but If they take the image links manually they can also see the other images if they modify the image name in the link.

[PHP] Dynamic Images

2006-08-02 Thread Manoj Singh
Hello all, I am creating a a script in which a dynamic graph is generated through gd library. The format of the picture is jpeg. Now the problem is that the browser is caching the images and after updating also it is displaying the older image. Currently for clearing the cache i am using this

[PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread karthikeyan balasubramanian
Tony Marston wrote: Gabe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed,

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Jochem Maas
karthikeyan balasubramanian wrote: Tony Marston wrote: Gabe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are

Re: [PHP] Printer Friendly

2006-08-02 Thread tedd
At 6:03 PM +0800 8/2/06, weetat wrote: Hi all , I have a web page which need to be print to the printer. However when i use javascript window print() function , the page and alignment is out. Read on the net , suggest that i need to setup a printer friendly page in the web page.

Re: [PHP] Dynamic Images

2006-08-02 Thread tedd
At 6:08 PM +0530 8/2/06, Manoj Singh wrote: Hello all, I am creating a a script in which a dynamic graph is generated through gd library. The format of the picture is jpeg. Now the problem is that the browser is caching the images and after updating also it is displaying the older image.

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Stut
Jochem Maas wrote: Stut wrote: Jochem Maas wrote: I'll have it ready for you next week, what kind of license do you want? One license to kill to go please. 006.5 your lic is in the post. and while I'm at it can I port an obscure OS to the hardware of your choice

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Stut
Jochem Maas wrote: I'll have it ready for you next week, what kind of license do you want? One license to kill to go please. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Jochem Maas
Stut wrote: Jochem Maas wrote: I'll have it ready for you next week, what kind of license do you want? One license to kill to go please. 006.5 your lic is in the post. and while I'm at it can I port an obscure OS to the hardware of your choice during my lunch break? -Stut -- PHP

[PHP] Documentation of PHP sourcecode

2006-08-02 Thread Paul Zwiers
Dear all, With a growing base of previous PHP work (not to be be mistaken for a framework :) ) I also find myself recoding and reinventing the wheel. Something I really do not want to do. I am looking in some possibilities for automatically documenting my functions and classes. Preferably

Re: [PHP] Documentation of PHP sourcecode

2006-08-02 Thread Chris Boget
I am looking in some possibilities for automatically documenting my functions and classes. Preferably with some markup in the sourcecode and easy to implement. I am running Linux on my desktop so w* stuff won't do it for me :) Can anyone point me in the right direction? Check out

Re: [PHP] Documentation of PHP sourcecode

2006-08-02 Thread John Nichel
Paul Zwiers wrote: Dear all, With a growing base of previous PHP work (not to be be mistaken for a framework :) ) I also find myself recoding and reinventing the wheel. Something I really do not want to do. I am looking in some possibilities for automatically documenting my functions and

Re: [PHP] Documentation of PHP sourcecode

2006-08-02 Thread Jochem Maas
Paul Zwiers wrote: Dear all, With a growing base of previous PHP work (not to be be mistaken for a framework :) ) I also find myself recoding and reinventing the wheel. Something I really do not want to do. I am looking in some possibilities for automatically documenting my functions

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Robert Cummings
On Wed, 2006-08-02 at 15:51 +0300, karthikeyan balasubramanian wrote: Speaking about framework. Anybody is aware there is a very popular framework in Java called Spring which has pretty cool features like Inversion of Control, Dependency Injection etc. Sounds similar to the service system

[PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Gabe
Gabe wrote: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc. Thoughts? Sounds like it's just personal preference.

Re: [PHP] Documentation of PHP sourcecode

2006-08-02 Thread Brad Bonkoski
www.phpdoc.org similar to javadocs, and works pretty well. -Brad Paul Zwiers wrote: Dear all, With a growing base of previous PHP work (not to be be mistaken for a framework :) ) I also find myself recoding and reinventing the wheel. Something I really do not want to do. I am looking in

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Robert Cummings
On Wed, 2006-08-02 at 10:50 -0400, Gabe wrote: Gabe wrote: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc.

[PHP] Is this a PHP issue, or a CGI issue?

2006-08-02 Thread Dave M G
PHP List, I'm writing a PHP script that has a form which accesses a CGI script on an external web site. The CGI I am accessing is a Japanese dictionary. My form will take Japanese input, send it to the external server, and hopefully return with a list of words and definitions. I hope to be

Re: [PHP] Is this a PHP issue, or a CGI issue?

2006-08-02 Thread Jochem Maas
Dave M G wrote: PHP List, I'm writing a PHP script that has a form which accesses a CGI script on an external web site. The CGI I am accessing is a Japanese dictionary. My form will take Japanese input, send it to the external server, and hopefully return with a list of words and

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
Too bad there isn't a skeleton sort-of system that you essentially then just plug in the modules that you want/need to flesh it out. Then you'd have your own customized framework for each app that is developed and keeps *all* of the modules relevant to that app. Nothing extra would be

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Robert Cummings
On Wed, 2006-08-02 at 18:08 +0200, Jochem Maas wrote: Robert Cummings wrote: On Wed, 2006-08-02 at 15:51 +0300, karthikeyan balasubramanian wrote: Speaking about framework. Anybody is aware there is a very popular framework in Java called Spring which has pretty cool features like

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Gabe
Robert Cummings wrote: On Wed, 2006-08-02 at 10:50 -0400, Gabe wrote: Gabe wrote: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed,

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Jochem Maas
Robert Cummings wrote: On Wed, 2006-08-02 at 18:08 +0200, Jochem Maas wrote: Robert Cummings wrote: On Wed, 2006-08-02 at 15:51 +0300, karthikeyan balasubramanian wrote: Speaking about framework. Anybody is aware there is a very popular framework in Java called Spring which has pretty cool

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Jochem Maas
Robert Cummings wrote: On Wed, 2006-08-02 at 15:51 +0300, karthikeyan balasubramanian wrote: Speaking about framework. Anybody is aware there is a very popular framework in Java called Spring which has pretty cool features like Inversion of Control, Dependency Injection etc. Sounds similar

[PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
I've always been really amazed at how well strtotime works, but recently ran into an issue where it couldn't figure out the date if it was a cc exp date in long format, e.g. 1/2009. I was curious if anyone else has run into this and how did they get around it, here was my solution: function

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Gabe
Paul Scott wrote: Too bad there isn't a skeleton sort-of system that you essentially then just plug in the modules that you want/need to flesh it out. Then you'd have your own customized framework for each app that is developed and keeps *all* of the modules relevant to that app. Nothing

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
Ok so actually I didn't solve it. Php5, this works, but php 4.4.1 and 4.4.0 don't handle this correctly. Here's my code I'm running on each box: function expDate2str( $date ) { if( !($sDate = strtotime( $date ) ) ) { echo Invalid, blowing up datebr /;

[PHP] Re: date(n/Y) strtotime

2006-08-02 Thread Adam Zey
Mark Steudel wrote: I've always been really amazed at how well strtotime works, but recently ran into an issue where it couldn't figure out the date if it was a cc exp date in long format, e.g. 1/2009. I was curious if anyone else has run into this and how did they get around it, here was my

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
In the strtotime notes, it says that strtotime returns -1 previous to php5, but if I do: If( strtotime( '1/2009') == -1 ) { Echo 'false'; } Else { Echo 'true'; } If( strtotime( '1/2009') === -1 ) { Echo 'false'; } Else { Echo 'true'; } If( strtotime( '1/2009') == '-1' ) { Echo 'false'; } Else {

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
I see that there are a few different Universities in Africa supporting that framework. How active is the developer community? How long has KINKY/Chisimba been around? The AVOIR Project has been going for about 2 years now. KINKY and KEWL.NextGen were the first products of that project.

RE: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Kilbride, James P.
I'm not going to comment on the rest of the stuff that was said, which is why I snipped it. I'm not a purist when it comes to OO at all. But I do have to say that while iterators in ruby are amazingly powerful that leave me going wow.. that is so cool.. The thought of how they could be abused and

[PHP] is it possible to manipulate vars here..

2006-08-02 Thread Jochen Kaechelin
.. to build a url like http://devil.server.com/vitims_page.php?? // a,b,c,d are coming from a form // and are defined in a dropdown of the form // there are no form fields which can be filled by the user // a maybe Germany, England // b maybe Support, Training // register_globals =

Re: [PHP] date(n/Y) strtotime

2006-08-02 Thread Adam Zey
Mark Steudel wrote: In the strtotime notes, it says that strtotime returns -1 previous to php5, but if I do: If( strtotime( '1/2009') == -1 ) { Echo 'false'; } Else { Echo 'true'; } If( strtotime( '1/2009') === -1 ) { Echo 'false'; } Else { Echo 'true'; } If( strtotime( '1/2009') == '-1' ) {

Re: [PHP] is it possible to manipulate vars here..

2006-08-02 Thread Dave Goodchild
On 02/08/06, Jochen Kaechelin [EMAIL PROTECTED] wrote: .. to build a url like http://devil.server.com/vitims_page.php?? Not sure what you're trying to do, but switch register_globals OFF. Also, if you are trying to concatenate strings inside the function, use ., not +. --

[PHP] override core function

2006-08-02 Thread Khai
Is it possible to override the core built-in function exit() in PHP. If so, how can I call the the built-in exit() from within my function? Thanks Khai -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] override core function

2006-08-02 Thread Robert Cummings
On Wed, 2006-08-02 at 12:26 -0700, Khai wrote: Is it possible to override the core built-in function exit() in PHP. If so, how can I call the the built-in exit() from within my function? No, but the following might help you: http://www.php.net/register_shutdown_function Cheers, Rob. --

[PHP] Re: Documentation of PHP sourcecode

2006-08-02 Thread Colin Guthrie
Paul Zwiers wrote: Dear all, With a growing base of previous PHP work (not to be be mistaken for a framework :) ) I also find myself recoding and reinventing the wheel. Something I really do not want to do. I am looking in some possibilities for automatically documenting my functions and

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
Thanks Adam, I had sent out my second email before I had read yours. I'll give yours a go, thanks again. Mark -Original Message- From: Adam Zey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 11:15 AM To: Mark Steudel Cc: PHP Mailing Lists Subject: Re: [PHP] date(n/Y)

Re: [PHP] date(n/Y) strtotime

2006-08-02 Thread Adam Zey
Actually, I made a mistake in my latest reply. I said The problem with your comparison is that strtotime thinks the date is invalid, but misinterprets it. I actually mean, it thinks it is VALID, but misinterprets it. Regards, Adam. Mark Steudel wrote: Thanks Adam, I had sent out my second

[PHP] SQL injection

2006-08-02 Thread Peter Lauri
Hi all, I saw some strange error messages from a site when I was surfing it, and it was in form of SQL. I did some testing of the security of the SQL injection protection of that site, and it showed it was not that protected against SQL injections. To show this to them, I deleted my own record

Re: [PHP] SQL injection

2006-08-02 Thread Russell Jones
This is a good question and it, by and large, has not been considered. In this particular instance, their programming is not protected by any kind of encryption laws that would prevent decryption (such as developing and deploying the decryption of Adobe Ebooks format). Furthermore, because you

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Jochem Maas
Kilbride, James P. wrote: I'm not going to comment on the rest of the stuff that was said, which is why I snipped it. I'm not a purist when it comes to OO at all. But I do have to say that while iterators in ruby are amazingly powerful that leave me going wow.. that is so cool.. The thought of

[PHP] What good are constants if you can't use them in an array?

2006-08-02 Thread Daevid Vincent
*sigh* Why is PHP so lame... ?php class PHPISLAME { const STOP = 0; const START = 1; const PAUSE = 2; public static $STATES = array( STOP = 'Stopped', START = 'Started', PAUSE = 'Paused'

Re: [PHP] SQL injection

2006-08-02 Thread Jochem Maas
Russell Jones wrote: This is a good question and it, by and large, has not been considered. In this particular instance, their programming is not protected by any kind of encryption laws that would prevent decryption (such as developing and deploying the decryption of Adobe Ebooks format).

Re: [PHP] What good are constants if you can't use them in an array?

2006-08-02 Thread Robert Cummings
On Wed, 2006-08-02 at 15:24 -0700, Daevid Vincent wrote: *sigh* Why is PHP so lame... Why are you trolling on the PHP list? ?php class PHPISLAME { const STOP = 0; const START = 1; const PAUSE = 2; public static $STATES = array( STOP =

Re: [PHP] What good are constants if you can't use them in an array?

2006-08-02 Thread Jochem Maas
Daevid Vincent wrote: *sigh* Why is PHP so lame... you know the story about the bad workman and his tools? please go and read the manual entry regarding how to reference class constants. ?php class PHPISLAME { const STOP = 0; const START = 1; const PAUSE = 2; public static

Re: [PHP] What good are constants if you can't use them in an array?

2006-08-02 Thread Robert Cummings
On Wed, 2006-08-02 at 18:56 -0400, Robert Cummings wrote: On Wed, 2006-08-02 at 15:24 -0700, Daevid Vincent wrote: *sigh* Why is PHP so lame... Why are you trolling on the PHP list? ?php class PHPISLAME { const STOP = 0; const START = 1; const PAUSE = 2;

RE: [PHP] What good are constants if you can't use them in anarray? [solved] I'm a jerk.

2006-08-02 Thread Daevid Vincent
Why is PHP so lame... Why are you trolling on the PHP list? Not trolling. Just frustrated. Apologies. Furthermore, you aren't even using them properly. The documentation clearly shows the following usage: ClassName::constant This is how you have to use it. self::constant

Re: [PHP] Dynamic Images

2006-08-02 Thread Richard Lynch
On Wed, August 2, 2006 7:38 am, Manoj Singh wrote: I am creating a a script in which a dynamic graph is generated through gd library. The format of the picture is jpeg. Now the problem is that the browser is caching the images and after updating also it is displaying the older image.

Re: [PHP] Dynamically assigning var namesi

2006-08-02 Thread Richard Lynch
On Tue, August 1, 2006 12:49 pm, bob pilly wrote: Does anyone know if you can assign a new variable name based on the contents of another variable in PHP? If so whats the syntax to do this? You can and it's called Variable Variables in the documentation... 99% of the time, it's better to use

Re: [PHP] Dynamic Images

2006-08-02 Thread Jochem Maas
Richard Lynch wrote: On Wed, August 2, 2006 7:38 am, Manoj Singh wrote: I am creating a a script in which a dynamic graph is generated through gd library. The format of the picture is jpeg. Now the problem is that the browser is caching the images and after updating also it is displaying

Re: [PHP] What good are constants if you can't use them in anarray? [solved] I'm a jerk.

2006-08-02 Thread Jochem Maas
Daevid Vincent wrote: Why is PHP so lame... Why are you trolling on the PHP list? Not trolling. Just frustrated. Apologies. Furthermore, you aren't even using them properly. The documentation clearly shows the following usage: ClassName::constant This is how you have to use it.

Re: [PHP] override core function

2006-08-02 Thread Ligaya Turmelle
Khai wrote: Is it possible to override the core built-in function exit() in PHP. If so, how can I call the the built-in exit() from within my function? Thanks Khai I think you can override any core function by messing with the internals (though I could be wrong). But then you have to

Re: [PHP] Documentation of PHP sourcecode

2006-08-02 Thread Ligaya Turmelle
Chris Boget wrote: I am looking in some possibilities for automatically documenting my functions and classes. Preferably with some markup in the sourcecode and easy to implement. I am running Linux on my desktop so w* stuff won't do it for me :) Can anyone point me in the right direction?

Re: [PHP] SQL injection

2006-08-02 Thread Ligaya Turmelle
Peter Lauri wrote: Hi all, I saw some strange error messages from a site when I was surfing it, and it was in form of SQL. I did some testing of the security of the SQL injection protection of that site, and it showed it was not that protected against SQL injections. To show this to them, I

[PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Manuel Lemos
Hello, on 08/01/2006 01:35 PM Gabe said the following: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc. Thoughts?

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Robert Cummings
On Thu, 2006-08-03 at 00:29 -0300, Manuel Lemos wrote: Hello, on 08/01/2006 01:35 PM Gabe said the following: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Manuel Lemos
Hello, on 08/03/2006 01:24 AM Robert Cummings said the following: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc.

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Robert Cummings
On Thu, 2006-08-03 at 01:47 -0300, Manuel Lemos wrote: Hello, on 08/03/2006 01:24 AM Robert Cummings said the following: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's

RE: [PHP] SQL injection

2006-08-02 Thread Peter Lauri
Thank you all for your replies; it has been interesting to read. I am just waiting for the webmaster to reply to me with his thoughts. My intentions for this were to help, not to break, so I do indeed hope that they will not take legal action for it. A friend of mine hoped that they would use the

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
You mean we should all be happy that so much choice is available! I agree with Rob! I am a botanist. I have never been trained in Computer Science, as far as industry is concerned, I am not qualified to turn on a PC. Fortunately for me, I am also a geek. My PHP experiences started when