Re: [PHP] php, ajax and international application

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 07:55 +0200, Alain Roger wrote: Hi, Till now, i'm used to have a php file (for each language) to store all text labels for my international application. i tried with Ajax to improve it but it seems not so flexible at it promised. my purpose was to limit the transfer

[PHP] php framework vs just php?

2008-04-22 Thread paragasu
honestly, i never used any framework to do my coding. i look into few popular framework like cakePHP and codeIgiter. I did learn the tutorial but still decide whether to use it on my next project. the thing is, i already develop few working library. no matter how hard i look into it. i always

Re: [PHP] php framework vs just php?

2008-04-22 Thread Nitsan Bin-Nun
Umm hell yes? I don't use frameworks, its an awsome thing, but I don't like them. But if I'm not using any framework at all, the least I do is writing the application object-oriented'ly. Regards, Nitsan On 22/04/2008, paragasu [EMAIL PROTECTED] wrote: honestly, i never used any framework to do

Re: [PHP] php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 17:25 +0800, paragasu wrote: honestly, i never used any framework to do my coding. i look into few popular framework like cakePHP and codeIgiter. I did learn the tutorial but still decide whether to use it on my next project. the thing is, i already develop few

[PHP] Emerged Sudo Problem with Php

2008-04-22 Thread Heysem KAYA
Hi Everybody, I am a newbee in Linux and php. My fellow team members left me a system and I am trying to maintain it. The system is sending sudo messages from php in order to run shell script. Up to last Monday everything with these calls was ok however the system is failing from last week and

[PHP] Securing your sites against Script Kiddies

2008-04-22 Thread Wolf
For all of you with an upload/access page to your site that is world-viewable I have made available copies of scripts that kiddies have tried to use to take over my own server. As my upload page has yet to be broken nor my site taken over, I wanted to share them with everyone as a way to

Re: [PHP] php framework vs just php?

2008-04-22 Thread paragasu
My clients benefit downstream whenever I add to my framework. A problem solved two years ago is a problem still solved today, and I don't need to copy and paste into their project and thus maintain multiple versions of the same solution. i am quite new in php. i only spent about 3 year

Re: [PHP] Securing your sites against Script Kiddies

2008-04-22 Thread paragasu
http://ambiguous.dnsalias.net/ what a nice collection you have. i also have some of this files on my server. i don't know how the files end up on my web page directory. That time i am using a shared server with 300+ website hosted on the same host. i do not have ssh or telnet access (ftp and

Re: [PHP] php framework vs just php?

2008-04-22 Thread Lester Caine
Robert Cummings wrote: i just wondering whether i am the only one thinking this way. anyone out there still doing php without using framework? There's plenty of people out there who don't believe in frameworks. Nothing wrong with that-- to each their own. Only thing I would ask you is whether

Re: [PHP] php framework vs just php?

2008-04-22 Thread tedd
At 5:25 PM +0800 4/22/08, paragasu wrote: i just wondering whether i am the only one thinking this way. anyone out there still doing php without using framework? I don't use a framework either. However, I do have a collection of routines (many stolen from Rob, David et al on this list) that I

Re: [PHP] php framework vs just php?

2008-04-22 Thread Richard Heyes
i just wondering whether i am the only one thinking this way. anyone out there still doing php without using framework? Absolutely. Personally I use a lot of disparate libraries, a lot of them from PEAR. Doing this I've never found the need or the inclination to use a framework. -- Richard

Re: [PHP] php framework vs just php?

2008-04-22 Thread Paul Scott
On Tue, 2008-04-22 at 13:34 +0100, Richard Heyes wrote: Absolutely. Personally I use a lot of disparate libraries, a lot of them from PEAR. Doing this I've never found the need or the inclination to use a framework. But that is kind of a framework! You get two kinds of framework in PHP

Re: [PHP] php framework vs just php?

2008-04-22 Thread paragasu
You get two kinds of framework in PHP IMHO - the Glue frameworks (like Chisimba, CakePHP etc) and the component frameworks (like PEAR, Zend Framework etc). personally i prefer to call component framework as code library =)

Re: [PHP] php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 14:41 +0200, Paul Scott wrote: On Tue, 2008-04-22 at 13:34 +0100, Richard Heyes wrote: Absolutely. Personally I use a lot of disparate libraries, a lot of them from PEAR. Doing this I've never found the need or the inclination to use a framework. But that is

Re: [PHP] php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 20:49 +0800, paragasu wrote: You get two kinds of framework in PHP IMHO - the Glue frameworks (like Chisimba, CakePHP etc) and the component frameworks (like PEAR, Zend Framework etc). personally i prefer to call component framework as code library =) Well since

[PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. For example, I have just completed an ERP application which contains 130 database tables, 230 relationships and 1000

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Kinch Zhang
On 4/22/08, Tony Marston [EMAIL PROTECTED] wrote: If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. I agree , you couldn't avoid using a framework unless you're writing a

[PHP] Prevent Parsing some nodes in XML documents

2008-04-22 Thread Sancar Saran
Hello Everyone. I'm trying to use xml structure my pages. My problem was when I was embeding html into xml documents. adding ![CDATA[ html code ]] resolves problem for reading. And if I serialize any php array contains html code int xml problems repeating agin. So ? I'm asking is there any

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Eric Butera
On Tue, Apr 22, 2008 at 9:01 AM, Tony Marston [EMAIL PROTECTED] wrote: If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. For example, I have just completed an ERP

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jason Norwood-Young
On Tue, 2008-04-22 at 21:06 +0800, Kinch Zhang wrote: On 4/22/08, Tony Marston [EMAIL PROTECTED] wrote: If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. I

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread paragasu
If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. For example, I have just completed an ERP application which contains 130 database tables, 230 relationships and 1000

Re: [PHP] Security Concern?

2008-04-22 Thread Philip Thompson
On Apr 21, 2008, at 1:46 PM, Jason Pruim wrote: On Apr 21, 2008, at 11:49 AM, Philip Thompson wrote: On Apr 21, 2008, at 8:03 AM, Jason Pruim wrote: Hi Everyone, Last week you all helped me with the code to pull the database field names directly from the database rather then being

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread tedd
At 9:06 PM +0800 4/22/08, Kinch Zhang wrote: On 4/22/08, Tony Marston [EMAIL PROTECTED] wrote: If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. I agree , you

Re: [PHP] php framework vs just php?

2008-04-22 Thread Daniel Brown
On Tue, Apr 22, 2008 at 5:25 AM, paragasu [EMAIL PROTECTED] wrote: honestly, i never used any framework to do my coding. i look into few popular framework like cakePHP and codeIgiter. I did learn the tutorial but still decide whether to use it on my next project. [snip!] i just

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Robert Cummings
On Tue, 2008-04-22 at 21:25 +0800, paragasu wrote: If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. For example, I have just completed an ERP application which

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jay Blanchard
[snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. ..If you think you can achieve the same level of productivity WITHOUT a framework then you are living in cloud

Re: [PHP] Humour in Hotmail :OT

2008-04-22 Thread Daniel Brown
On Mon, Apr 21, 2008 at 9:02 PM, Bastien Koert [EMAIL PROTECTED] wrote: Guys, I switched to gmail since I was having so many issues getting my emails thru the spam filter thanks to M$ adding ads to the bottom of the message. To make it even better, the unsubcribe confirmation email is also

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
paragasu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. For example, I have just completed an ERP application

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. ..If you think you can achieve the same

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread paragasu
I'm guessing, since you quoted os-commerce and phpBB, you don't know shit code when you see it. Just because it's popular doesn't mean the code is good. Have you ever tried to modify either of these? What a mess. honestly, i don't and not really interested to dig inside thus code. but i guess,

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Sancar Saran
Hello there, Is anyone looking jQuery recently ?. Thas what I call framework... You are really doing tons of things with much less code. And jQuery was javaScript thingy and in php world nothing was comperable. My toughts about php frame work was; All those frameworks claim their way was

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread paragasu
All those frameworks claim their way was perfect for making love good joke sancar. i do not see any connection between framework and making love. if making love what you looking for. Porn might be a good answer for you. And I say, I'm 34 years old, and I got enough knowladge to how to make

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Stut
Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. ..If you think you can

FW: [PHP] Emerged Sudo Problem with Php

2008-04-22 Thread Heysem Kaya
Hi, I am a newbee in Linux and php. My fellow team members left me a system and I am trying to maintain it. The system is sending sudo messages from php in order to run shell script. Up to last Monday everything with these calls was ok however the system is failing from last week and on. The

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jason Pruim
On Apr 22, 2008, at 10:24 AM, Sancar Saran wrote: Hello there, Is anyone looking jQuery recently ?. Thas what I call framework... You are really doing tons of things with much less code. And jQuery was javaScript thingy and in php world nothing was comperable. My toughts about php frame

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread paragasu
Try looking in my signature at http://www.radicore.org wow! i read your personal website and have it on my bookmark list. i salute you =)

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jay Blanchard
[snip] [snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. ..If you think you can achieve the same level of productivity WITHOUT a framework then you are living in

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Bastien Koert
On 4/22/08, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] [snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. ..If you think you can achieve the same level

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Nathan Nobbe
On Tue, Apr 22, 2008 at 9:00 AM, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] [snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when it comes to writing a proper application. ..If you think you can

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Stut [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't stand a chance when

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Daniel Brown
On Tue, Apr 22, 2008 at 11:18 AM, Tony Marston [EMAIL PROTECTED] wrote: [snip!] The real measure of a good framework is the length of time it takes to create a new database table, then write the components to maintain the contents of that table. I can do this in 5 minutes without having to

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jay Blanchard
[snip] The real measure of a good framework is the length of time it takes to create a new database table, then write the components to maintain the contents of that table. I can do this in 5 minutes without having to write a single line of PHP, HTML or SQL. If you can't match this then you're

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Daniel Brown [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, Apr 22, 2008 at 11:18 AM, Tony Marston [EMAIL PROTECTED] wrote: [snip!] The real measure of a good framework is the length of time it takes to create a new database table, then write the components to maintain

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Stut
Tony Marston wrote: Stut [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] If you don't use a framework then obviously you are writing nothing but mickey mouse programs, and wouldn't

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Nathan Nobbe
On Tue, Apr 22, 2008 at 9:30 AM, Jay Blanchard [EMAIL PROTECTED] wrote: This is not the only real measure of a good framework, it is just one of many. I wrote a tool a long time ago that does the table/form/query bit in well under 5 minutes with several permutations. A good framework is

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Wolf
I had never heard this before. Silly me I thought the real measure of a good framework was how much of the monotony of coding was removed, how many problems solved, et cetera. So I guess the BASh script I just whipped up a few seconds ago could be classified as a good

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Warren Vail
My 2 cents. I've found that people who buy into using frameworks think that it will establish order in the code, and improve the chances of a successful implimentation, and it sort of delivers on these two things most of the time. It never occurs to them that it also adds a level of complexity

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread paragasu
I can do this in 5 minutes without having to write a single line of PHP, HTML or SQL. If you can't match this then you're not in the same league. -Tony Marston i can only think of copy paste method if i were required to write a PHP application without a single line of code even a simple hello

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Stut [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: Stut [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] If you don't use a framework then

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Nathan Nobbe
On Tue, Apr 22, 2008 at 9:54 AM, paragasu [EMAIL PROTECTED] wrote: i can only think of copy paste method if i were required to write a PHP application without a single line of code even a simple hello world! application. i am really cannot be in the same league :( . well, i might have to

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Eric Butera
On Tue, Apr 22, 2008 at 11:54 AM, paragasu [EMAIL PROTECTED] wrote: I can do this in 5 minutes without having to write a single line of PHP, HTML or SQL. If you can't match this then you're not in the same league. -Tony Marston i can only think of copy paste method if i were required to

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Wolf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I had never heard this before. Silly me I thought the real measure of a good framework was how much of the monotony of coding was removed, how many problems solved, et cetera. So I guess the BASh script I just

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jay Blanchard
[snip] But can you create a database table, then generate the PHP scripts which generate the HTML and SQL which allow an online user to read, write, update and delete records from this table without writing even a single line of code? Can you do this with immediate access to a role based access

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] But can you create a database table, then generate the PHP scripts which generate the HTML and SQL which allow an online user to read, write, update and delete records from this table without writing even a

Re: [PHP] Opening a new window from Header Location or any other way

2008-04-22 Thread Chris Braiotta
You do need javascript to do this. Look into the window.open() function to open your other window, and then something like self.close() to close the login window. --c On Sun, Apr 20, 2008 at 2:45 PM, Richard Kurth [EMAIL PROTECTED] wrote: I have my login.php file that when I access the login

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread paragasu
imagine a cms, like drupal or joomla. you install the thing w/ the web based installer then go through adding content via the web interface; u can do it :D -nathan i am going to miss the fun doing programming then. As a comparison, framework is like a canned food. available anytime you

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Nathan Nobbe
On Tue, Apr 22, 2008 at 11:02 AM, paragasu [EMAIL PROTECTED] wrote: imagine a cms, like drupal or joomla. you install the thing w/ the web based installer then go through adding content via the web interface; u can do it :D -nathan i am going to miss the fun doing programming

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Wolf
But then, this debate comes up about once a month because people don't know how to RTFA of this list. And I don't know about you, but I've written a BASH script to work with my PHP script to work with an API to deal with relational and flat files and mail interfaces that takes me 1

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jay Blanchard
[snip] Yes, and it doesn't take 5 minutes. Then where can us mere mortals download this wonderful framework so that we can all share in your wizardry? [/snip] It is not a framework, it is a set of functions. But since we are in a semantical discussion about frameworks then this re-usable code

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Shawn McKenzie
Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] But can you create a database table, then generate the PHP scripts which generate the HTML and SQL which allow an online user to read, write, update and delete records from this table without

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] Yes, and it doesn't take 5 minutes. Then where can us mere mortals download this wonderful framework so that we can all share in your wizardry? [/snip] It is not a framework, it is a set of functions. But since

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tom Friedhof
Frameworks not only are great for piecing together an application quickly with user management, content filtering, access control, etc..., there is another HUGE advantage to using a framework. If the framework you are using has a thriving community behind it, the framework will constantly get

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Dan Joseph
On Tue, Apr 22, 2008 at 1:40 PM, Tony Marston [EMAIL PROTECTED] wrote: You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by your peers? I didn't originally want to get in the middle of a fist fight, but I've been reading this all

RE: [PHP] Re: php framework vs just php?

2008-04-22 Thread Jay Blanchard
[snip] You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by your peers? [/snip] It is not available for download but it has been reviewed by peers on several project teams who have used it. It was developed specifically for a company who

Re: [PHP] Check RAW data

2008-04-22 Thread rb
Malicious code can still be embedded in images. The vulnerabilities ISTR are in Windows image handling libraries. I assume they've been fixed now though because it was some time ago. But that doesn't mean to say more won't be found. Could you suggest me a good piece of code to check the PNG

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Shawn McKenzie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] But can you create a database table, then generate the PHP scripts which generate the HTML and SQL which allow an

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Dan Joseph [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, Apr 22, 2008 at 1:40 PM, Tony Marston [EMAIL PROTECTED] wrote: You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by your peers? I didn't originally

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Tony Marston
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by your peers? [/snip] It is not available for download So your claims cannot be substantiated by

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Shawn McKenzie
Tony Marston wrote: Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by your peers? [/snip] It is not available for download So your claims cannot be

[PHP] Should This Newbie Learn From Dreamweaver?

2008-04-22 Thread revDAVE
First of all - I know this is an entirely subjective question, and I know there's no single approach to learning this technology. I'm just looking for a few hints from seasoned professionals basically whether Dreamweaver verbose code (at least it looks like that to me at this beginning point) is

[PHP] Check it out

2008-04-22 Thread Robert Burdo
Check out knigifts.com -- Robert Burdo nuschooldesign.com

Re: [PHP] Should This Newbie Learn From Dreamweaver?

2008-04-22 Thread Ray Hauge
revDAVE wrote: First of all - I know this is an entirely subjective question, and I know there's no single approach to learning this technology. I'm just looking for a few hints from seasoned professionals basically whether Dreamweaver verbose code (at least it looks like that to me at this

Re: [PHP] Should This Newbie Learn From Dreamweaver?

2008-04-22 Thread Jason Pruim
On Apr 22, 2008, at 9:04 PM, revDAVE wrote: First of all - I know this is an entirely subjective question, and I know there's no single approach to learning this technology. I'm just looking for a few hints from seasoned professionals basically whether Dreamweaver verbose code (at least it

Re: [PHP] Should This Newbie Learn From Dreamweaver?

2008-04-22 Thread Larry Garfield
Welcome to PHP! Please have exact change. As a general rule, I distrust generated code in PHP, or in HTML. I virtually never use Dreamweaver (or its evil twin, FronPage), as the code it generates is rarely what I want at the quality level I want. Such code is designed for the