form handling class

This is a discussion on form handling class within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi all, I'm working to a peoject that will be GPL, using a little bit of another GPL'd ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-29-2006
NoWhereMan
 
Posts: n/a
Default form handling class

Hi all,

I'm working to a peoject that will be GPL, using a little bit of another
GPL'd script. Now I'd like to use a class from PEAR to generate forms, but
I don't want to encounter any legal/license-related issue (their under php
license...), so now I'm here asking if anybody can suggest me any good form
handling/validation class.

I don't want to implement another as there are already a lot. I need it to
be GPL'd or at least compatible (and, well, small-sized).

Thank you so much for your help


--
___/\/o\/\/here/\/\an___
He's a Real NoWhereMan
Reply With Quote
  #2 (permalink)  
Old 01-29-2006
Sean
 
Posts: n/a
Default Re: form handling class

There is no legal/license-related issues here.

To note php itself is licensed using a bsd style license, and so is
pear.

If you are thinking about selling whatever project you are creating and
if it's using GPL licensed software then there is a problem.

If you want to actually read the php license then here it is:
http://www.php.net/license/3_01.txt
There is nothing there even remotely close in it to do with preventing
php to be used with gpl licensed software.

Reply With Quote
  #3 (permalink)  
Old 01-29-2006
NoWhereMan
 
Posts: n/a
Default Re: form handling class

on 29 Jan 2006 06:08:13 -0800, Sean wrote:

> There is no legal/license-related issues here.
>
> To note php itself is licensed using a bsd style license, and so is
> pear.
>
> If you are thinking about selling whatever project you are creating and
> if it's using GPL licensed software then there is a problem.
>
> If you want to actually read the php license then here it is:
> http://www.php.net/license/3_01.txt
> There is nothing there even remotely close in it to do with preventing
> php to be used with gpl licensed software.



well they're supposed to be uncompatible
as you can se here http://www.fsf.org/licensing/licenses/index_html
and here http://benramsey.com/archives/what-the-gpl/
and as I am not the first copyright holder (using some code from an
already-gpl'd project) I can't even use directly this "exception"
statement.
the problem is in fact it is an OLD bsd-style license, you can see
expecially here:

" 3. The name "PHP" must not be used to endorse or promote products
derived from this software without prior written permission. For
written permission, please contact group@php.net.

4. Products derived from this software may not be called "PHP", nor
may "PHP" appear in their name, without prior written permission
from group@php.net. You may indicate that your software works in
conjunction with PHP by saying "Foo for PHP" instead of calling
it "PHP Foo" or "phpfoo""

Not that I am so a fan of the GPL but as I'm using code from another GPL'd
project, as I've just said, I'm stuck :(

thank you


--
___/\/o\/\/here/\/\an___
"Vagisil migliora
la tua vita intima"
http://www.vagisil.com/teencenter.shtml
Reply With Quote
  #4 (permalink)  
Old 01-29-2006
Sean
 
Posts: n/a
Default Re: form handling class

Oh, for heavens sake! Read the links you have posted!

I found my answer when I went to the source. I sent an e-mail to the
Free Software Foundation (FSF), the folks behind the GNU GPL. They were
very prompt in their response, answering me in less than an hour's
time. It also seems that the answer is on their Web site under the FAQs
for the GPL. Unfortunately, the site has many FAQs and they are not
easy to sift through, nor did I know which question I was asking. This
is why I did not find the answer to begin with. However, the response
from the FSF pointed me to the correct question and answer: I needed to
make an exception to the GPL in my application.

The exception is a permissive statement from me, the copyright holder,
to anyone else who would modify and redistribute the application. The
exception allows them to include the PHP-licensed PEAR packages in the
distribution, and it follows the usual copyright and license notice in
the application. It's worded like this (for the PHP-licensed PEAR
packages):

In addition, as a special exception, Ben Ramsey gives permission to
link the code of this program with those files in the PEAR library that
are licensed under the PHP License (or with modified versions of those
files that use the same license as those files), and distribute linked
combinations including the two. You must obey the GNU General Public
License in all respects for all of the code used other than those files
in the PEAR library that are licensed under the PHP License. If you
modify this file, you may extend this exception to your version of the
file, but you are not obligated to do so. If you do not wish to do so,
delete this exception statement from your version.

And there you have it: the exception that allows you to distribute the
PEAR packages released under the PHP License with your GPL'ed
application. Contrariwise, if you're using a PEAR package released
under the LGPL or the modified BSD license, then you won't need to
include an exception. Both are compatible with the GPL.

http://benramsey.com/archives/what-the-gpl/

Reply With Quote
  #5 (permalink)  
Old 01-29-2006
NoWhereMan
 
Posts: n/a
Default Re: form handling class

on 29 Jan 2006 07:34:50 -0800, Sean wrote:

> Oh, for heavens sake! Read the links you have posted!


I DID have read it, and FYI I've read this too
http://www.fsf.org/licensing/license...compatibleLibs

Only the copyright holders for the program can legally authorize this
exception. If you wrote the whole program yourself, then assuming your
employer or school does not claim the copyright, you are the copyright
holder--so you can authorize the exception. But if you want to use parts of
other GPL-covered programs by other authors in your code, you cannot
authorize the exception for them. You have to get the approval of the
copyright holders of those programs.

as I said:

> I'm working to a peoject that will be GPL, using a little bit of another
> GPL'd script.


So this is the problem.
Actually I'm waiting for an approval; it won't be given I'm asking here an
alternative.

thank you again

--
___/\/o\/\/here/\/\an___
Reply With Quote
  #6 (permalink)  
Old 01-29-2006
Colin McKinnon
 
Posts: n/a
Default Re: form handling class

NoWhereMan wrote:

>
> I'm working to a peoject that will be GPL, using a little bit of another
> GPL'd script. Now I'd like to use a class from PEAR to generate forms, but
> I don't want to encounter any legal/license-related issue (their under php
> license...), so now I'm here asking if anybody can suggest me any good
> form handling/validation class.
>


Mine is http://pfp-studio.sourceforge.net

> I don't want to implement another as there are already a lot. I need it to
> be GPL'd or at least compatible


MPL?

> (and, well, small-sized).
>


Ahh. You might have me there ;)

C.
Reply With Quote
  #7 (permalink)  
Old 01-29-2006
NoWhereMan
 
Posts: n/a
Default Re: form handling class

on Sun, 29 Jan 2006 19:49:20 GMT, Colin McKinnon wrote:

> NoWhereMan wrote:
>
>>
>> I'm working to a peoject that will be GPL, using a little bit of another
>> GPL'd script. Now I'd like to use a class from PEAR to generate forms, but
>> I don't want to encounter any legal/license-related issue (their under php
>> license...), so now I'm here asking if anybody can suggest me any good
>> form handling/validation class.
>>

>
> Mine is http://pfp-studio.sourceforge.net
>


thank you. I'll sure have a look.


--
___/\/o\/\/here/\/\an___
"Vagisil migliora
la tua vita intima"
http://www.vagisil.com/teencenter.shtml
Reply With Quote
  #8 (permalink)  
Old 01-29-2006
NoWhereMan
 
Posts: n/a
Default Re: form handling class

on Sun, 29 Jan 2006 14:13:21 +0100, NoWhereMan wrote:

> I don't want to implement another as there are already a lot. I need it to
> be GPL'd or at least compatible (and, well, small-sized).


well, should I add it? Standard xhtml compliant and (maybe) supporting
accessibility


--
___/\/o\/\/here/\/\an___
"Vagisil migliora
la tua vita intima"
http://www.vagisil.com/teencenter.shtml
Reply With Quote
  #9 (permalink)  
Old 01-29-2006
Manuel Lemos
 
Posts: n/a
Default Re: form handling class

Hello,

on 01/29/2006 11:13 AM NoWhereMan said the following:
> I'm working to a peoject that will be GPL, using a little bit of another
> GPL'd script. Now I'd like to use a class from PEAR to generate forms, but
> I don't want to encounter any legal/license-related issue (their under php
> license...), so now I'm here asking if anybody can suggest me any good form
> handling/validation class.
>
> I don't want to implement another as there are already a lot. I need it to
> be GPL'd or at least compatible (and, well, small-sized).


You may want to try this very popular forms generation and validation
class. The license is BSD, which is GPL compatible:

http://www.phpclasses.org/formsgeneration


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Reply With Quote
  #10 (permalink)  
Old 01-30-2006
NoWhereMan
 
Posts: n/a
Default Re: form handling class

on Sun, 29 Jan 2006 21:16:36 -0200, Manuel Lemos wrote:

> Hello,
>
> on 01/29/2006 11:13 AM NoWhereMan said the following:


> You may want to try this very popular forms generation and validation
> class. The license is BSD, which is GPL compatible:
>
> http://www.phpclasses.org/formsgeneration


I'm so glad that YOU answered me :) (didn't even know you could be here :))
I found your class, but when I saw "BSD" I stopped, because we couldn't
tell whether it was the original BSD with the copyright notice or the new
one which is as you said compatible. On Freshmeat you'll see it has the
"(original)" notice, so I suggest you to update it. These licensing problem
are really serious... :)
PS: I suggest you to distribute along with the package a copy of the
correct license, too.

thank you!


--
___/\/o\/\/here/\/\an___
"Vagisil migliora
la tua vita intima"
http://www.vagisil.com/teencenter.shtml
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0