Re: [PHP] which function can do so ?

2002-08-03 Thread php @ banana

you mean redirect?

header("Location: www.stuff.com");

make sure it goes before any output to screen or html tags or it won't 
work,


>I am exactly a beginner of php. This question may be easy.
>I have a php program which want to achieve the url from browser.
>e.g. webmail.xxx.com
>
>then how the index.php is able to know it is xxx.com ??
>which function in php can do so??
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>


--__-__-__
eat pasta
type fasta


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Justin French

on 04/08/02 3:55 PM, Acer ([EMAIL PROTECTED]) wrote:

> so fine zend is ripping people off, what's the point?  well it has been
> damaging to php is my point.  no one knows what php is and no one will pay
> you to do php.  why blame zend on this?  no matter what rasmus says that 600
> people have access to the cvs, php is zend and zend is php.

I don't believe Zend's charging for commerical extensions to the product has
harmed it in any way.  I also don't believe that Zend is ripping people off.
You have no way of telling if any competitive product does as good a job,
and furthermore, since the *one product you found* is in beta, then the
argument is totally shallow.

Zend is a commercial company, and has the right to charge what *they*
perceive as market value for a product.  You have the choice not to buy it,
and you have the choice not to use PHP at all.

There is no way you can blame Zend products for the fact you can't get a PHP
job.  I really laughed at this.  The primary scripting languages asked for
by job ads in my area are primarily ASP and Java.  So what?  Java is a
well-established language, which has been around for ages.  ASP (and other
microsoft technologies) are backed by the biggest software company in the
world.

PHP has made a massive indentation into the server-side scripting world in
just a few years, and I get emailed about jobs and contracts ALL THE TIME
that want me to use it.


Furthermore, perhaps the reason why you can't get anyone to pay you is (no
insult intended):

- your poor communication skills
- your lack of any real programming experience
- your lack of experience in the right projects / skills
- you're not looking in the right places
- you're only looking at advertised work, not creating a job


None of this is Zend's fault, and switching to ASP, or having Zend give away
the encoder will not fix any of this.  You make me laugh.


I'm getting plenty of work.


Justin French



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] which function can do so ?

2002-08-03 Thread Ryan

I am exactly a beginner of php. This question may be easy.
I have a php program which want to achieve the url from browser.
e.g. webmail.xxx.com

then how the index.php is able to know it is xxx.com ??
which function in php can do so??


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

Acknowledging the problem is the first step in recovery.

-Original Message-
From: Michael Geier [mailto:[EMAIL PROTECTED]]
Sent: August 4, 2002 2:22 AM
To: Acer
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


Acer,

Did you ever consider the fact that ASP, JSP and CF jobs are
advertised more because their developers actually advertise?  When
was the last time you saw a commerical on TV for PHP?  And yet, due
to PHP's extensive development and interoperability, it is one of the
highest installed packages on web servers?

PHB's see the word 'FREE' and think 'bd' (obvious sheep
reference) because that is what the Gates' and Ellison's have taught
them to believe.  Companies like MS and Oracle advertise during the
Super Bowl and purchase news sites to tell you what they think you
should know.

Do they make a superior product because they advertise?  Or just one
that has a prettier ribbon on it?  Blaming the PHP developers
(commercial and otherwise) because you cannot get a job as a PHP
developer is like blaming Schwinn because you can't get a job as a
bike messenger.

.m

Quoting Acer <[EMAIL PROTECTED]>:

> Okay fine whatever.  Let's just continue sticking our heads in the
> sand and
> pretend php developers isn't last on the list of jobs available
> compared to
> asp, jsp and cf developers.
>
> That topic isn't important so back to normal and I'll ask a php
> question.
> What's the difference between = and ==?  I'm too lazy to read the
> manual.
>
>
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 7:42 PM
> To: 'Acer'; 'Rasmus Lerdorf'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
>
> Acer, what the fk are you mumbling about?
>
> (sorry for mine to you introduction)
>
> 600 people at PHP Dev Group (and I am one of them too) create and
> document PHP Programming Language for free, because they like it
> this
> way.
>
> You, get your boss's money, buy a Zend's encoder, make a script
> that,
> perhaps, has an equivalent freely available on sourseforge.net,
> encode
> it and stick a it price to then sell the "cat in a lot" to those
> paranoids who do not trust open source projects like your own boss
> does.
>
> The "paranoids" then make services we all here pay, and on our
> spare
> time - we keep developing the free code for you (always, because we
> like
> it this way).
>
> What are you trying to prove by being devil's lawyer here?
>
> We all know how e-business works, most of us are actually on
> managing
> positions if not job consultants.
>
> So, Acer, from now on - ask a php-general question or answer one.
> Deal?
>
>
> Sincerely,
>
> Maxim Maletsky
>
> PHP Beginner
> www.phpbeginner.com
>
>
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 12:01 AM
> > To: Rasmus Lerdorf
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > Okay so you support zend but hate encoders.  Doesn't zend make
> an
> encoder?
> > To me an encoder is used to sell your product.  It doesn't mean
> people
> > still
> > won't release their code to add to the public knowledge.
> >
> > If you didn't release your code rasmus then those 600 people
> won't
> have
> > made
> > php what it is now so you can't have it both ways.
> >
> >
> > -Original Message-
> > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > Sent: August 3, 2002 2:06 PM
> > To: Acer
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > Because it is a silly thread and I shouldn't be replying at
> all.
> Others
> > in the group either have more sense or have given up on
> answering
> > php-general questions.
> >
> > My view on encoders is that they are unnecessary and rather evil.
>  I
> would
> > never ever purchase a php-based application that did not come
> with the
> php
> > source code.  If you want to restrict your code somehow, do it
> through
> a
> > license.  People who choose to violate that license are the
> same
> people
> > who will hack your encoded scripts anyway.  And this way the
> honest
> > customers will have the benefit of the code to customize, learn
> from,
> > build on top of.  Closed source stuff stifles innovation and I
> personally
> > refuse to work on a PHP encoder for this reason.  Imagine if I
> had
> never
> > released the source for PHP?  We would not be having this
> discussion
> > today.
> >
> > I know plenty of people disagree with this view, but there you
> have
> it.
> >
> > -Rasmus
> >
> > On Sat, 3 Aug 2002, Acer wrote:
> >
> > > I made that statement because this subject has been brought
> up
> several
> > times
> > > and nothing has been said from the php gods.  I mean out of
> this
> whole
> > > thread, your only comment is "That's probably the most
> uninformed
> > statement
> > > I have seen posted to this list in a very long time."
> > >
> > >
> > > -Original Message-
> > > From: Rasmus Le

RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Michael Geier

Acer,

Did you ever consider the fact that ASP, JSP and CF jobs are 
advertised more because their developers actually advertise?  When 
was the last time you saw a commerical on TV for PHP?  And yet, due 
to PHP's extensive development and interoperability, it is one of the 
highest installed packages on web servers?

PHB's see the word 'FREE' and think 'bd' (obvious sheep 
reference) because that is what the Gates' and Ellison's have taught 
them to believe.  Companies like MS and Oracle advertise during the 
Super Bowl and purchase news sites to tell you what they think you 
should know.  

Do they make a superior product because they advertise?  Or just one 
that has a prettier ribbon on it?  Blaming the PHP developers 
(commercial and otherwise) because you cannot get a job as a PHP 
developer is like blaming Schwinn because you can't get a job as a 
bike messenger.

.m

Quoting Acer <[EMAIL PROTECTED]>:

> Okay fine whatever.  Let's just continue sticking our heads in the
> sand and
> pretend php developers isn't last on the list of jobs available
> compared to
> asp, jsp and cf developers.
> 
> That topic isn't important so back to normal and I'll ask a php
> question.
> What's the difference between = and ==?  I'm too lazy to read the
> manual.
> 
> 
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 7:42 PM
> To: 'Acer'; 'Rasmus Lerdorf'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> 
> Acer, what the fk are you mumbling about?
> 
> (sorry for mine to you introduction)
> 
> 600 people at PHP Dev Group (and I am one of them too) create and
> document PHP Programming Language for free, because they like it
> this
> way.
> 
> You, get your boss's money, buy a Zend's encoder, make a script
> that,
> perhaps, has an equivalent freely available on sourseforge.net,
> encode
> it and stick a it price to then sell the "cat in a lot" to those
> paranoids who do not trust open source projects like your own boss
> does.
> 
> The "paranoids" then make services we all here pay, and on our
> spare
> time - we keep developing the free code for you (always, because we
> like
> it this way).
> 
> What are you trying to prove by being devil's lawyer here?
> 
> We all know how e-business works, most of us are actually on
> managing
> positions if not job consultants.
> 
> So, Acer, from now on - ask a php-general question or answer one.
> Deal?
> 
> 
> Sincerely,
> 
> Maxim Maletsky
> 
> PHP Beginner
> www.phpbeginner.com
> 
> 
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 12:01 AM
> > To: Rasmus Lerdorf
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > Okay so you support zend but hate encoders.  Doesn't zend make
> an
> encoder?
> > To me an encoder is used to sell your product.  It doesn't mean
> people
> > still
> > won't release their code to add to the public knowledge.
> >
> > If you didn't release your code rasmus then those 600 people
> won't
> have
> > made
> > php what it is now so you can't have it both ways.
> >
> >
> > -Original Message-
> > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > Sent: August 3, 2002 2:06 PM
> > To: Acer
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > Because it is a silly thread and I shouldn't be replying at
> all.
> Others
> > in the group either have more sense or have given up on
> answering
> > php-general questions.
> >
> > My view on encoders is that they are unnecessary and rather evil.
>  I
> would
> > never ever purchase a php-based application that did not come
> with the
> php
> > source code.  If you want to restrict your code somehow, do it
> through
> a
> > license.  People who choose to violate that license are the
> same
> people
> > who will hack your encoded scripts anyway.  And this way the
> honest
> > customers will have the benefit of the code to customize, learn
> from,
> > build on top of.  Closed source stuff stifles innovation and I
> personally
> > refuse to work on a PHP encoder for this reason.  Imagine if I
> had
> never
> > released the source for PHP?  We would not be having this
> discussion
> > today.
> >
> > I know plenty of people disagree with this view, but there you
> have
> it.
> >
> > -Rasmus
> >
> > On Sat, 3 Aug 2002, Acer wrote:
> >
> > > I made that statement because this subject has been brought
> up
> several
> > times
> > > and nothing has been said from the php gods.  I mean out of
> this
> whole
> > > thread, your only comment is "That's probably the most
> uninformed
> > statement
> > > I have seen posted to this list in a very long time."
> > >
> > >
> > > -Original Message-
> > > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > > Sent: August 3, 2002 1:04 PM
> > > To: Acer
> > > Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Re: Protect PHP coding
> > >
> > >
> >

RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

this all started when rasmus had a problem with the "click" in my original
post and i think i proved that if you are a member of the php development
you better not stray from what the php gods think or else you will get
hanged in public or even banned or ignored.

then i suggested that zend isn't really doing much to "develop" an encoder
or accelerator since one guy has been able to do the same thing and rasmus
is like of course not silly if microsoft sold their products for what they
cost it would be $0.02.

so fine zend is ripping people off, what's the point?  well it has been
damaging to php is my point.  no one knows what php is and no one will pay
you to do php.  why blame zend on this?  no matter what rasmus says that 600
people have access to the cvs, php is zend and zend is php.

after that is when all the little minions started acting tough so that the
cool kids would like them better.




here's the original post that i made, maybe people should reread it:
---
There is a free php accelerator so I don't know why you would pay for one.
www.php-accelerator.co.uk

The same guy (Nick) has also just made an encoder.  It is in beta testing
right now and there's no windows version yet but that should be coming soon.
I think it's like $0.50 to encode your program which is much more
affordable.
http://www.php-encoder.com

I think the problem with zend is that they have put up the guise that php is
an opensource project but to actually use it in production you had to pay
several thousands every year for the accelerator and the encoder.  It kinda
feels like a bait and switch to me which is why I personally think zend is
bad for php.  Just do a search for jobs for asp, cf or jsp.  There are a ton
of jobs for these languages and you would be lucky to find one for a php
developer.  So zend rakes in the money and does no real marketing with that
money for php is the way I see it.

You'll never hear anything from the core php group since they are a tight
click so it's business as usual.  Now that Nick has released the free
accelerator and an inexpensive ($0.50 per shot) encoder it might change but
I don't know if it's too late.


-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: August 4, 2002 1:26 AM
To: 'Acer'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


It hurts no one. Believe me.

Do what. Download PHP package and put it on sale. We'll let you do that
by our license. Actually, yeah, here I go - YOU CAN DO IT RIGHT NOW.

600 people worked hard on PHP for over several years and thousands of
servers do us the real-life test.

Just sell it.
Will we get hurt? Ufff whata pain 


Maxim Maletsky


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 7:06 AM
> To: César Aracena; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
> the truth hurts sometimes.
>
> this was dropped a long time ago but you people keep bringing it up
and
> giving your 2 cents.  thanks cesar, you can read my mind.
>
>
>
> -Original Message-
> From: César Aracena [mailto:[EMAIL PROTECTED]]
> Sent: August 4, 2002 12:59 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
>
> I am pretty new to PHP, but not to computing since I've been working
> with them for about 15 years and I would like to say something about
> this idiotic spamming subject.
>
> It's your problem if you get short on cash for buying something you
> could have done by yourself which, by the way, is the beauty of open
> source.
>
> Now, to cut the crap here, which OS do you use at work or even worse,
at
> home? Have you ever bought a computer that comes with any version of
MS
> Windows preinstalled? If you think that buying any kind commercial
> product while having the chance to get the same benefits from an open
> source piece is the right way to go, then do it. If not, just
> unsubscribe yourself from Zend's newsletter and don't ever visit their
> home site. By the way, how much did you pay for the last MS Windows
you
> bought? Or do you use copies? Uhmmm... that's not nice.
>
> I have more than 10.000 e-mails stored in my PHP-General folder which
> are all (or most of them) dedicated to help solving PHP issues for us
> newcomers (by the way, thanks to all). Ok, so maybe some of them are
> about other things such MySQL or HTML, but hey... it's not easy for
> everybody to find the right place to ask for help.
>
> So, to keep it short, please stop messing with other people's ideas
> about how the silicon world should work and start making your own
ones.
> You sound like a very smart person. It's really a shame that not a
> single person from this list will ever give you a job but hey... that
> was your own decision.
>
> Good luck in your life you poor, poor soul.
>
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 1:20 AM
> > To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL P

RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Maxim Maletsky

It hurts no one. Believe me.

Do what. Download PHP package and put it on sale. We'll let you do that
by our license. Actually, yeah, here I go - YOU CAN DO IT RIGHT NOW.

600 people worked hard on PHP for over several years and thousands of
servers do us the real-life test.

Just sell it.
Will we get hurt? Ufff whata pain 


Maxim Maletsky


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 7:06 AM
> To: César Aracena; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> the truth hurts sometimes.
> 
> this was dropped a long time ago but you people keep bringing it up
and
> giving your 2 cents.  thanks cesar, you can read my mind.
> 
> 
> 
> -Original Message-
> From: César Aracena [mailto:[EMAIL PROTECTED]]
> Sent: August 4, 2002 12:59 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> 
> I am pretty new to PHP, but not to computing since I've been working
> with them for about 15 years and I would like to say something about
> this idiotic spamming subject.
> 
> It's your problem if you get short on cash for buying something you
> could have done by yourself which, by the way, is the beauty of open
> source.
> 
> Now, to cut the crap here, which OS do you use at work or even worse,
at
> home? Have you ever bought a computer that comes with any version of
MS
> Windows preinstalled? If you think that buying any kind commercial
> product while having the chance to get the same benefits from an open
> source piece is the right way to go, then do it. If not, just
> unsubscribe yourself from Zend's newsletter and don't ever visit their
> home site. By the way, how much did you pay for the last MS Windows
you
> bought? Or do you use copies? Uhmmm... that's not nice.
> 
> I have more than 10.000 e-mails stored in my PHP-General folder which
> are all (or most of them) dedicated to help solving PHP issues for us
> newcomers (by the way, thanks to all). Ok, so maybe some of them are
> about other things such MySQL or HTML, but hey... it's not easy for
> everybody to find the right place to ask for help.
> 
> So, to keep it short, please stop messing with other people's ideas
> about how the silicon world should work and start making your own
ones.
> You sound like a very smart person. It's really a shame that not a
> single person from this list will ever give you a job but hey... that
> was your own decision.
> 
> Good luck in your life you poor, poor soul.
> 
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 1:20 AM
> > To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> > [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > i did drop it and then a whole bunch of you late comers piled in
again
> so
> > why don't you give it up.
> >
> > BTW did i mention the core php group are a click?  i'm sure all of
> them
> > are
> > busily emailing each other saying "oh what a jerk, we are doing a
> great
> > job,
> > don't listen to that guy, you guys are the best!  keep up the good
> work!"
> >
> >
> >
> > -Original Message-
> > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> > Sent: August 4, 2002 12:22 AM
> > To: 'Acer'; 'Justin French'; [EMAIL PROTECTED];
[EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > Acer, I can, we all can, but this is OFF-TOPIC.
> >
> > You are insisting on your ideas on this mailing list. We DO disagree
> > with you, yet, we PREFER to drop this thread off THIS list.
> >
> > Please start looking for a right place and right people and tell
them
> > what you think about Zend, PHP, ASP and JSP.
> >
> > This mailing list discusses general php problems. Zend's pricing is
> not
> > our problem.
> >
> >
> > Sincerely,
> >
> > Maxim Maletsky
> >
> > PHP Beginner
> > www.phpbeginner.com
> >
> >
> > > -Original Message-
> > > From: Acer [mailto:[EMAIL PROTECTED]]
> > > Sent: Sunday, August 04, 2002 5:57 AM
> > > To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> > > [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Re: Protect PHP coding
> > >
> > > if you can't debate the issues then get out.
> > >
> > >
> > > -Original Message-
> > > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> > > Sent: August 4, 2002 12:00 AM
> > > To: 'Acer'; 'Justin French'; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Re: Protect PHP coding
> > >
> > >
> > > Acer,
> > >
> > > Give it up. We are tired of you.
> > >
> > >
> > > Sincerely,
> > >
> > > Maxim Maletsky
> > >
> > > PHP Beginner
> > > www.phpbeginner.com
> > >
> > >
> > > > -Original Message-
> > > > From: Acer [mailto:[EMAIL PROTECTED]]
> > > > Sent: Sunday, August 04, 2002 5:40 AM
> > > > To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > > Subject: RE: [PHP] Re: Protect PHP coding
> > > >
> > > > okay you say zend gave me php and rasmus says 600 people gave me
> > php.
> > >

RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

the truth hurts sometimes.

this was dropped a long time ago but you people keep bringing it up and
giving your 2 cents.  thanks cesar, you can read my mind.



-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]]
Sent: August 4, 2002 12:59 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


I am pretty new to PHP, but not to computing since I've been working
with them for about 15 years and I would like to say something about
this idiotic spamming subject.

It's your problem if you get short on cash for buying something you
could have done by yourself which, by the way, is the beauty of open
source.

Now, to cut the crap here, which OS do you use at work or even worse, at
home? Have you ever bought a computer that comes with any version of MS
Windows preinstalled? If you think that buying any kind commercial
product while having the chance to get the same benefits from an open
source piece is the right way to go, then do it. If not, just
unsubscribe yourself from Zend's newsletter and don't ever visit their
home site. By the way, how much did you pay for the last MS Windows you
bought? Or do you use copies? Uhmmm... that's not nice.

I have more than 10.000 e-mails stored in my PHP-General folder which
are all (or most of them) dedicated to help solving PHP issues for us
newcomers (by the way, thanks to all). Ok, so maybe some of them are
about other things such MySQL or HTML, but hey... it's not easy for
everybody to find the right place to ask for help.

So, to keep it short, please stop messing with other people's ideas
about how the silicon world should work and start making your own ones.
You sound like a very smart person. It's really a shame that not a
single person from this list will ever give you a job but hey... that
was your own decision.

Good luck in your life you poor, poor soul.

> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 1:20 AM
> To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
> i did drop it and then a whole bunch of you late comers piled in again
so
> why don't you give it up.
>
> BTW did i mention the core php group are a click?  i'm sure all of
them
> are
> busily emailing each other saying "oh what a jerk, we are doing a
great
> job,
> don't listen to that guy, you guys are the best!  keep up the good
work!"
>
>
>
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: August 4, 2002 12:22 AM
> To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
>
> Acer, I can, we all can, but this is OFF-TOPIC.
>
> You are insisting on your ideas on this mailing list. We DO disagree
> with you, yet, we PREFER to drop this thread off THIS list.
>
> Please start looking for a right place and right people and tell them
> what you think about Zend, PHP, ASP and JSP.
>
> This mailing list discusses general php problems. Zend's pricing is
not
> our problem.
>
>
> Sincerely,
>
> Maxim Maletsky
>
> PHP Beginner
> www.phpbeginner.com
>
>
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 5:57 AM
> > To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> > [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > if you can't debate the issues then get out.
> >
> >
> > -Original Message-
> > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> > Sent: August 4, 2002 12:00 AM
> > To: 'Acer'; 'Justin French'; [EMAIL PROTECTED];
[EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > Acer,
> >
> > Give it up. We are tired of you.
> >
> >
> > Sincerely,
> >
> > Maxim Maletsky
> >
> > PHP Beginner
> > www.phpbeginner.com
> >
> >
> > > -Original Message-
> > > From: Acer [mailto:[EMAIL PROTECTED]]
> > > Sent: Sunday, August 04, 2002 5:40 AM
> > > To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Re: Protect PHP coding
> > >
> > > okay you say zend gave me php and rasmus says 600 people gave me
> php.
> > you
> > > guys need to get your story right.
> > >
> > >
> > > -Original Message-
> > > From: Justin French [mailto:[EMAIL PROTECTED]]
> > > Sent: August 3, 2002 9:44 PM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: Re: [PHP] Re: Protect PHP coding
> > >
> > >
> > > on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:
> > >
> > > >> The people for Zend have to eat to live.
> > > >
> > > > And don't we all? That is the main problem. If we need to pay
USD
> > $3,000
> > > > to be able to compile our PHP programs, doesn't that make not
> viable
> > for
> > > > most of us to sell our PHP programs as closed source?
> > >
> > > How much money do you make a week writing PHP scripts?  Just
> remember,
> > > Zend
> > > gave you PHP, for free, to use in almost any commercial way you

Re: [PHP] Vote to ban Acer

2002-08-03 Thread Jason Stechschulte

On Sun, Aug 04, 2002 at 05:52:09AM +0100, Andrew Brampton wrote:
> so just before I set outlook to block his mails would the mods of this
> be able to remove him and stop him flaming our gods..

Just set a filter to delete his mail.  Banning him is not a good idea.
The best thing you can do is just ignore trolls like him.

-- 
Jason Stechschulte
[EMAIL PROTECTED]
http://www.ypisco.com
--
Campus sidewalks never exist as the straightest line between two points.
-- M. M. Johnston

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread César Aracena

I am pretty new to PHP, but not to computing since I've been working
with them for about 15 years and I would like to say something about
this idiotic spamming subject.

It's your problem if you get short on cash for buying something you
could have done by yourself which, by the way, is the beauty of open
source.

Now, to cut the crap here, which OS do you use at work or even worse, at
home? Have you ever bought a computer that comes with any version of MS
Windows preinstalled? If you think that buying any kind commercial
product while having the chance to get the same benefits from an open
source piece is the right way to go, then do it. If not, just
unsubscribe yourself from Zend's newsletter and don't ever visit their
home site. By the way, how much did you pay for the last MS Windows you
bought? Or do you use copies? Uhmmm... that's not nice.

I have more than 10.000 e-mails stored in my PHP-General folder which
are all (or most of them) dedicated to help solving PHP issues for us
newcomers (by the way, thanks to all). Ok, so maybe some of them are
about other things such MySQL or HTML, but hey... it's not easy for
everybody to find the right place to ask for help.

So, to keep it short, please stop messing with other people's ideas
about how the silicon world should work and start making your own ones.
You sound like a very smart person. It's really a shame that not a
single person from this list will ever give you a job but hey... that
was your own decision.

Good luck in your life you poor, poor soul.

> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 1:20 AM
> To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> i did drop it and then a whole bunch of you late comers piled in again
so
> why don't you give it up.
> 
> BTW did i mention the core php group are a click?  i'm sure all of
them
> are
> busily emailing each other saying "oh what a jerk, we are doing a
great
> job,
> don't listen to that guy, you guys are the best!  keep up the good
work!"
> 
> 
> 
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: August 4, 2002 12:22 AM
> To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> 
> Acer, I can, we all can, but this is OFF-TOPIC.
> 
> You are insisting on your ideas on this mailing list. We DO disagree
> with you, yet, we PREFER to drop this thread off THIS list.
> 
> Please start looking for a right place and right people and tell them
> what you think about Zend, PHP, ASP and JSP.
> 
> This mailing list discusses general php problems. Zend's pricing is
not
> our problem.
> 
> 
> Sincerely,
> 
> Maxim Maletsky
> 
> PHP Beginner
> www.phpbeginner.com
> 
> 
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 5:57 AM
> > To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> > [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > if you can't debate the issues then get out.
> >
> >
> > -Original Message-
> > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> > Sent: August 4, 2002 12:00 AM
> > To: 'Acer'; 'Justin French'; [EMAIL PROTECTED];
[EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > Acer,
> >
> > Give it up. We are tired of you.
> >
> >
> > Sincerely,
> >
> > Maxim Maletsky
> >
> > PHP Beginner
> > www.phpbeginner.com
> >
> >
> > > -Original Message-
> > > From: Acer [mailto:[EMAIL PROTECTED]]
> > > Sent: Sunday, August 04, 2002 5:40 AM
> > > To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Re: Protect PHP coding
> > >
> > > okay you say zend gave me php and rasmus says 600 people gave me
> php.
> > you
> > > guys need to get your story right.
> > >
> > >
> > > -Original Message-
> > > From: Justin French [mailto:[EMAIL PROTECTED]]
> > > Sent: August 3, 2002 9:44 PM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: Re: [PHP] Re: Protect PHP coding
> > >
> > >
> > > on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:
> > >
> > > >> The people for Zend have to eat to live.
> > > >
> > > > And don't we all? That is the main problem. If we need to pay
USD
> > $3,000
> > > > to be able to compile our PHP programs, doesn't that make not
> viable
> > for
> > > > most of us to sell our PHP programs as closed source?
> > >
> > > How much money do you make a week writing PHP scripts?  Just
> remember,
> > > Zend
> > > gave you PHP, for free, to use in almost any commercial way you
> wish.
> > >
> > > My clients cant afford Zend, but when the right client comes
along,
> > it'll
> > > be
> > > my recommendation without hesitation.
> > >
> > >
> > > Justin French
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsu

[PHP] Vote to ban Acer

2002-08-03 Thread Andrew Brampton

Ok,
I'm not a professional PHP developer, I'm just a plain student that loves PHP, I don't 
have the money to spend on Encoders and high end IDEs or whatever is out there, I just 
love the fact that I have a near unlimited supply of software out there which free to 
use, comes with source, and allows me to do what I want with it.

I also love the fact that there are such forums that allow me to ask questions, in 
more recent times be able to answer other peoples questions, I don't have to pay 
50p/minute on a silly tech support line, I just email and I get a response a few hours 
later.

But I am very disappointed by the fact that a flame war is going on in this list. 
Respect the people that have made PHP, the people that have allowed many people to 
become PHP Developers and Professionals and earn a living. And hell if you don't want 
to earn a living then make silly little PHP sites as well that's cool, because Ramus 
(and the others that have helped) have gave me many hours of enjoyment in learning PHP 
and playing with all the cool things it can do. If I ever meet Ramus or any other core 
php programmers I would be sure to go up to them and tell them how amazing they are 
and even buy them a pint...

So Acer please stop abusing these people, who cares if Zend charge lots of money there 
are open source alternatives, if they are not as good as you want then it looks like 
Zend have the monopoly and there is nothing you can do about it. Oh yes there is you 
could write your own under the GPL!

I'm pretty sure there are no rules against b1tching on the lists or even flaming 
others, but I think many people are just shocked at Acer's views on the community and 
frankly I don't want to hear them anymore... so just before I set outlook to block his 
mails would the mods of this be able to remove him and stop him flaming our gods..

Thanks
Andrew



RE: [PHP] Re: May i?

2002-08-03 Thread César Aracena

Hi. I used to wonder that myself too. Now (after lots of auto_increment
fields I've done) I know that a sequential order is just pretty but
useless 'cause MySQL won't give you a maximum fields allowed.

The solution is pretty easy. Just make an SQL query like this:

SQL> ALTER TABLE table_name AUTO_INCREMENT = 1;

And that's it... it will restore the counting back to where it was left.

HTH, C.

> -Original Message-
> From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 10:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: May i?
> 
> well... yes, then maybe i made a mistake there was data
related to
> the id . then i delete that row and the data that was related
to
> the
> comments are gone away, because the row id has changedso i would
have
> to
> put then manually again
> 
> Flavio Bastos Amiel
> 
> 
> "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message
> 000c01c23b50$050fcfe0$1113fe17@dominanta">news:000c01c23b50$050fcfe0$1113fe17@dominanta...
> >
> > Why do you need it anyway?
> >
> > auto_increment is a mySQL functionality to (listen this carefully)
KEEP
> > UNICITY WITHIN A TABLE. This is what they are needed for. I agree -
it
> > would look prettier having them even sequential, but that is behind
the
> > real point and it is not a "problem".
> >
> > You should make your application independent from "id" value - "id"
> > should only serve you as a key to relate the data within
> > application/database.
> >
> >
> > Sincerely,
> >
> > Maxim Maletsky
> >
> > PHP Beginner
> > www.phpbeginner.com
> >
> >
> > > -Original Message-
> > > From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, September 04, 2002 2:28 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [PHP] Re: May i?
> > >
> > > let's see if i can do it...
> > >
> > > i got a news site. everything was going OKsometimes i made
few
> > > testing and then i delete the content from the db... the problem
is
> > next:
> > >
> > > the item "id" is an auto_increment element .. so the id's wasn't
going
> > > allrightbecause they where not true... sometimes they make
jumps
> > like
> > > id
> > > #25 and the id #30 (because of the testing i've  done and then
delete)
> > >
> > > i tried to delete that cell (id) and then i recreate it. thinking
the
> > id
> > > was
> > > going to count it all over and make the item id TRUE.but it
wasn't
> > > like
> > > that, the "new" id was counting since the last id then if the last
id
> > was
> > > 100, the new id was counting from 100 to 200  do i explain
> > myself?...
> > > does anyone have an answer to this problem (PLEASE Dont tell me i
have
> > to
> > > do
> > > i manually!! )
> > >
> > > thanks,
> > > Flavio Bastos Amiel
> > >
> > >
> > >
> > >
> > >
> > > "George Nicolae" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > ask.
> > > >
> > > > --
> > > >
> > > >
> > > > Best regards,
> > > > George Nicolae
> > > > IT Manager
> > > > ___
> > > > PaginiWeb.com  - Professional Web Design
> > > > www.PaginiWeb.com
> > > >
> > > >
> > > > "::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in
> > message
> > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > > May i ask for help about a subejct on MySQL here?
> > > > >
> > > > > thanks,
> > > > > Flavio Bastos Amiel
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

i did drop it and then a whole bunch of you late comers piled in again so
why don't you give it up.

BTW did i mention the core php group are a click?  i'm sure all of them are
busily emailing each other saying "oh what a jerk, we are doing a great job,
don't listen to that guy, you guys are the best!  keep up the good work!"



-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: August 4, 2002 12:22 AM
To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


Acer, I can, we all can, but this is OFF-TOPIC.

You are insisting on your ideas on this mailing list. We DO disagree
with you, yet, we PREFER to drop this thread off THIS list.

Please start looking for a right place and right people and tell them
what you think about Zend, PHP, ASP and JSP.

This mailing list discusses general php problems. Zend's pricing is not
our problem.


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 5:57 AM
> To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
> if you can't debate the issues then get out.
>
>
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: August 4, 2002 12:00 AM
> To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
>
> Acer,
>
> Give it up. We are tired of you.
>
>
> Sincerely,
>
> Maxim Maletsky
>
> PHP Beginner
> www.phpbeginner.com
>
>
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 5:40 AM
> > To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > okay you say zend gave me php and rasmus says 600 people gave me
php.
> you
> > guys need to get your story right.
> >
> >
> > -Original Message-
> > From: Justin French [mailto:[EMAIL PROTECTED]]
> > Sent: August 3, 2002 9:44 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: [PHP] Re: Protect PHP coding
> >
> >
> > on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:
> >
> > >> The people for Zend have to eat to live.
> > >
> > > And don't we all? That is the main problem. If we need to pay USD
> $3,000
> > > to be able to compile our PHP programs, doesn't that make not
viable
> for
> > > most of us to sell our PHP programs as closed source?
> >
> > How much money do you make a week writing PHP scripts?  Just
remember,
> > Zend
> > gave you PHP, for free, to use in almost any commercial way you
wish.
> >
> > My clients cant afford Zend, but when the right client comes along,
> it'll
> > be
> > my recommendation without hesitation.
> >
> >
> > Justin French
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Maxim Maletsky

Acer, I can, we all can, but this is OFF-TOPIC.

You are insisting on your ideas on this mailing list. We DO disagree
with you, yet, we PREFER to drop this thread off THIS list.

Please start looking for a right place and right people and tell them
what you think about Zend, PHP, ASP and JSP.

This mailing list discusses general php problems. Zend's pricing is not
our problem.


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 5:57 AM
> To: [EMAIL PROTECTED]; 'Justin French'; [EMAIL PROTECTED]; php-
> [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> if you can't debate the issues then get out.
> 
> 
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: August 4, 2002 12:00 AM
> To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> 
> Acer,
> 
> Give it up. We are tired of you.
> 
> 
> Sincerely,
> 
> Maxim Maletsky
> 
> PHP Beginner
> www.phpbeginner.com
> 
> 
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 5:40 AM
> > To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > okay you say zend gave me php and rasmus says 600 people gave me
php.
> you
> > guys need to get your story right.
> >
> >
> > -Original Message-
> > From: Justin French [mailto:[EMAIL PROTECTED]]
> > Sent: August 3, 2002 9:44 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: [PHP] Re: Protect PHP coding
> >
> >
> > on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:
> >
> > >> The people for Zend have to eat to live.
> > >
> > > And don't we all? That is the main problem. If we need to pay USD
> $3,000
> > > to be able to compile our PHP programs, doesn't that make not
viable
> for
> > > most of us to sell our PHP programs as closed source?
> >
> > How much money do you make a week writing PHP scripts?  Just
remember,
> > Zend
> > gave you PHP, for free, to use in almost any commercial way you
wish.
> >
> > My clients cant afford Zend, but when the right client comes along,
> it'll
> > be
> > my recommendation without hesitation.
> >
> >
> > Justin French
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

if you can't debate the issues then get out.


-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: August 4, 2002 12:00 AM
To: 'Acer'; 'Justin French'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


Acer,

Give it up. We are tired of you.


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 5:40 AM
> To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
> okay you say zend gave me php and rasmus says 600 people gave me php.
you
> guys need to get your story right.
>
>
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 9:44 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: Protect PHP coding
>
>
> on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:
>
> >> The people for Zend have to eat to live.
> >
> > And don't we all? That is the main problem. If we need to pay USD
$3,000
> > to be able to compile our PHP programs, doesn't that make not viable
for
> > most of us to sell our PHP programs as closed source?
>
> How much money do you make a week writing PHP scripts?  Just remember,
> Zend
> gave you PHP, for free, to use in almost any commercial way you wish.
>
> My clients cant afford Zend, but when the right client comes along,
it'll
> be
> my recommendation without hesitation.
>
>
> Justin French
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

i actually pointed this out awhile ago that there will be a competing
product for the encoder and accelerator so i didn't see a point in zend
continuing to destroy php's chances.

i am trying to discuss this normally but i guess you forgot that someone
told me to bug off or the other guy that told me to f***k off.

i guess you could define popular in different ways but how many people
actually know what php is and what are the odds are getting someone to pay
you to do php.  those are my measures.




-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 11:18 PM
To: Acer
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Protect PHP coding


1. You complain about Zend charging for a product when someone else has
created an equivalent open source product.
2. You support ColdFusion and ASP when someone else has created an
equivalent open source product.

The point is that you need better logic in your arguments before you
will receive thoughtful answers. Your "questions" seem more like
adolescent attacks, and your arguments have no merit. Thus, the
responses you have received are similar to responses you will receive
anywhere when your purpose appears to only be to pick a fight. If you
ask intelligent questions or make intelligent arguments, people will
assume you are an intelligent person and deserving of a thoughtful answer.

As for PHP in the marketplace, I would argue that it is the most popular
Web scripting language in the world with ColdFusion and JSP being close
contenders and ASP being successful only because of the Microsoft
believers (who are switching to PHP and others more because of the poor
quality of IIS than the poor quality and non-portability of ASP). I make
a very nice living programming in PHP, and most of the job offers I
receive are for PHP, even though I have extensive experience in
ColdFusion and other Web scripting languages (even ASP).

But, you know what? No one cares. The people who contribute to PHP do so
because they enjoy it. People like Rasmus enjoy it so much that they put
up with adolescent crap on this list from time to time and even provide
undeserving responses to useless drivel. You're not going to alter
anyone's idea of PHP with baseless attacks. It's the same approach as
politicians who try to attack their opponents; you just end up looking
like a fool, and no one believes you anyway.

People who like it will use it. People who don't won't.

Now can we end the spam?

Chris

Acer wrote:

>Okay fine whatever.  Let's just continue sticking our heads in the sand and
>pretend php developers isn't last on the list of jobs available compared to
>asp, jsp and cf developers.
>
>That topic isn't important so back to normal and I'll ask a php question.
>What's the difference between = and ==?  I'm too lazy to read the manual.
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Maxim Maletsky

Acer,

Give it up. We are tired of you.


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 5:40 AM
> To: Justin French; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> okay you say zend gave me php and rasmus says 600 people gave me php.
you
> guys need to get your story right.
> 
> 
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 9:44 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: Protect PHP coding
> 
> 
> on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:
> 
> >> The people for Zend have to eat to live.
> >
> > And don't we all? That is the main problem. If we need to pay USD
$3,000
> > to be able to compile our PHP programs, doesn't that make not viable
for
> > most of us to sell our PHP programs as closed source?
> 
> How much money do you make a week writing PHP scripts?  Just remember,
> Zend
> gave you PHP, for free, to use in almost any commercial way you wish.
> 
> My clients cant afford Zend, but when the right client comes along,
it'll
> be
> my recommendation without hesitation.
> 
> 
> Justin French
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

you guys are the ones in denial and can't stand that someone is disagreeing
with you.

-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 10:03 PM
To: Acer; Danny Shepherd
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Protect PHP coding


on 04/08/02 8:01 AM, Acer ([EMAIL PROTECTED]) wrote:

> Sorry for bothering you, I didn't think I would hit a nerve.

Didn't think you'd hit a nerve?

You're complaining profusely about the price charged for a commercial
product, and bagging the crap out of the developers, contributors and people
who made PHP what it is.

Commercial products are a case of supply and demand.

Zend are offering a certain suite of products for a certain price.  If you
wish to obtain that product, you pay that price.  If you don't feel the
product is worth the asking price, search for an alternative.

If you can find an alternative product which suits your needs (like a
free/cheaper encoder, a different language like JSP or ASP, or whatever),
then by all means go and buy that one instead, and leave this list in peace.


I found a suit the other day which was a perfect fit, and looked great.
problem was it was $1000.  So rather than complaining to the sales
assistant, I looked around and found a similar suit for about half the
price, and settled on that, even though there are some quality differences.


Justin French




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

obviously if it's in beta then it's not as mature as zend's encoder.  but if
you think over time, it will get better and match zend so where does that
leave php?  zend would have a competing product that costs less so who would
pay the several thousands of dollars for zend?  zend will fold up shop and
bye bye zend.





-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 9:50 PM
To: Acer; Rasmus Lerdorf
Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Protect PHP coding


on 04/08/02 3:30 AM, Acer ([EMAIL PROTECTED]) wrote:

> Don't get me wrong rasmus, I don't have any problems with you.  It's just
> fishy when some guy in the UK was able to put together a php accelerator
for
> free and a php encoder for $0.50 a pop while zend is charging several
> thousands.  You have to wonder how much work zend is actually putting into
> their products to justify the price.  Plus, these guys are the ones
building
> php so something is not right.

Zend is a commercial company, and has a right to charge for a product.  My
guess is that the developers of the Zend engine (PHP) would also make the
best developers of any other product (like an accelerator or encoder) that
is associated with PHP.

If someone is charging so little for the product (it is Beta, so I wouldn't
use it anyway), then there is a good *chance* that it's a far less superior
product.

Let me ask you Acer, how much money do you make a week from developing PHP
web applications with the free PHP scripting language?  The $2000 doesn't
seem like much in comparison, does it.


Justin French




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

okay you say zend gave me php and rasmus says 600 people gave me php.  you
guys need to get your story right.


-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 9:44 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Protect PHP coding


on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:

>> The people for Zend have to eat to live.
>
> And don't we all? That is the main problem. If we need to pay USD $3,000
> to be able to compile our PHP programs, doesn't that make not viable for
> most of us to sell our PHP programs as closed source?

How much money do you make a week writing PHP scripts?  Just remember, Zend
gave you PHP, for free, to use in almost any commercial way you wish.

My clients cant afford Zend, but when the right client comes along, it'll be
my recommendation without hesitation.


Justin French



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Chris Shiflett

1. You complain about Zend charging for a product when someone else has 
created an equivalent open source product.
2. You support ColdFusion and ASP when someone else has created an 
equivalent open source product.

The point is that you need better logic in your arguments before you 
will receive thoughtful answers. Your "questions" seem more like 
adolescent attacks, and your arguments have no merit. Thus, the 
responses you have received are similar to responses you will receive 
anywhere when your purpose appears to only be to pick a fight. If you 
ask intelligent questions or make intelligent arguments, people will 
assume you are an intelligent person and deserving of a thoughtful answer.

As for PHP in the marketplace, I would argue that it is the most popular 
Web scripting language in the world with ColdFusion and JSP being close 
contenders and ASP being successful only because of the Microsoft 
believers (who are switching to PHP and others more because of the poor 
quality of IIS than the poor quality and non-portability of ASP). I make 
a very nice living programming in PHP, and most of the job offers I 
receive are for PHP, even though I have extensive experience in 
ColdFusion and other Web scripting languages (even ASP).

But, you know what? No one cares. The people who contribute to PHP do so 
because they enjoy it. People like Rasmus enjoy it so much that they put 
up with adolescent crap on this list from time to time and even provide 
undeserving responses to useless drivel. You're not going to alter 
anyone's idea of PHP with baseless attacks. It's the same approach as 
politicians who try to attack their opponents; you just end up looking 
like a fool, and no one believes you anyway.

People who like it will use it. People who don't won't.

Now can we end the spam?

Chris

Acer wrote:

>Okay fine whatever.  Let's just continue sticking our heads in the sand and
>pretend php developers isn't last on the list of jobs available compared to
>asp, jsp and cf developers.
>
>That topic isn't important so back to normal and I'll ask a php question.
>What's the difference between = and ==?  I'm too lazy to read the manual.
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] parse_str () problems. using on the command line args ( argv[1]) - problem with php-4.2.2 ??

2002-08-03 Thread Neil

Hello All

I am trying to use parse_str in my script , passing a variable.

I have old code, working with php 4.1.2 working with the following script :

[root@zion kickstart]# cat make-kickstart.php


#!/usr/local/bin/php -q


for some reason tho , under 4.2.2 it is not parsing the argument/s

[root@zion kickstart]# ./make-kickstart.php name=lxmode
NAME:

Does any one know if anything changed in 4.2.2 , I swear it works under
4.1.2 or older.

Thanks for any advice or info in advance !!

Cheers

Neil



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Justin French

on 04/08/02 8:01 AM, Acer ([EMAIL PROTECTED]) wrote:

> Sorry for bothering you, I didn't think I would hit a nerve.

Didn't think you'd hit a nerve?

You're complaining profusely about the price charged for a commercial
product, and bagging the crap out of the developers, contributors and people
who made PHP what it is.

Commercial products are a case of supply and demand.

Zend are offering a certain suite of products for a certain price.  If you
wish to obtain that product, you pay that price.  If you don't feel the
product is worth the asking price, search for an alternative.

If you can find an alternative product which suits your needs (like a
free/cheaper encoder, a different language like JSP or ASP, or whatever),
then by all means go and buy that one instead, and leave this list in peace.


I found a suit the other day which was a perfect fit, and looked great.
problem was it was $1000.  So rather than complaining to the sales
assistant, I looked around and found a similar suit for about half the
price, and settled on that, even though there are some quality differences.


Justin French


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Session problem with https

2002-08-03 Thread Andre Dubuc

I've followed the threads on sessions, and discovered, to my horror, that I 
was passing the session id through cookies. Attempting to repair this 
'problem' has been fun (with 200+ files).

Somehow, the session variables are not passing through once they encounter an 
https page. I'm using the following for passing the session id:




These work for ordinary http, but for https, it gives array(). Each page 
starts with .

I have set globals=off, session.use_trans_sid=1 (so I shouldn't need to use 
 above, but I don't know what to use instead??), and 
session.use_cookies=0 in my php.ini.

In only one https page, when it loads gives me PHPSESSIONID 
anen3n1nn..., but still does not let me access the variables that should 
be within that session. I'm totally at a loss what is happening here. Can 
anyone shed some light on how to retrieve the session variables for an https 
page?

Any help or where to look (beyond the php.net pages where I learned about 
sessions), would be greatly appreciated.

Tia, 
Andre

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Maxim Maletsky


'==' is not an associative operator.

Read on:
http://www.php.net/manual/en/language.operators.php


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com



> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 3:38 AM
> To: Maxim Maletsky; 'Rasmus Lerdorf'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> Okay fine whatever.  Let's just continue sticking our heads in the
sand
> and
> pretend php developers isn't last on the list of jobs available
compared
> to
> asp, jsp and cf developers.
> 
> That topic isn't important so back to normal and I'll ask a php
question.
> What's the difference between = and ==?  I'm too lazy to read the
manual.
> 
> 
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 7:42 PM
> To: 'Acer'; 'Rasmus Lerdorf'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> 
> Acer, what the fk are you mumbling about?
> 
> (sorry for mine to you introduction)
> 
> 600 people at PHP Dev Group (and I am one of them too) create and
> document PHP Programming Language for free, because they like it this
> way.
> 
> You, get your boss's money, buy a Zend's encoder, make a script that,
> perhaps, has an equivalent freely available on sourseforge.net, encode
> it and stick a it price to then sell the "cat in a lot" to those
> paranoids who do not trust open source projects like your own boss
does.
> 
> The "paranoids" then make services we all here pay, and on our spare
> time - we keep developing the free code for you (always, because we
like
> it this way).
> 
> What are you trying to prove by being devil's lawyer here?
> 
> We all know how e-business works, most of us are actually on managing
> positions if not job consultants.
> 
> So, Acer, from now on - ask a php-general question or answer one.
Deal?
> 
> 
> Sincerely,
> 
> Maxim Maletsky
> 
> PHP Beginner
> www.phpbeginner.com
> 
> 
> > -Original Message-
> > From: Acer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, August 04, 2002 12:01 AM
> > To: Rasmus Lerdorf
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> > Okay so you support zend but hate encoders.  Doesn't zend make an
> encoder?
> > To me an encoder is used to sell your product.  It doesn't mean
people
> > still
> > won't release their code to add to the public knowledge.
> >
> > If you didn't release your code rasmus then those 600 people won't
> have
> > made
> > php what it is now so you can't have it both ways.
> >
> >
> > -Original Message-
> > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > Sent: August 3, 2002 2:06 PM
> > To: Acer
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > Because it is a silly thread and I shouldn't be replying at all.
> Others
> > in the group either have more sense or have given up on answering
> > php-general questions.
> >
> > My view on encoders is that they are unnecessary and rather evil.  I
> would
> > never ever purchase a php-based application that did not come with
the
> php
> > source code.  If you want to restrict your code somehow, do it
through
> a
> > license.  People who choose to violate that license are the same
> people
> > who will hack your encoded scripts anyway.  And this way the honest
> > customers will have the benefit of the code to customize, learn
from,
> > build on top of.  Closed source stuff stifles innovation and I
> personally
> > refuse to work on a PHP encoder for this reason.  Imagine if I had
> never
> > released the source for PHP?  We would not be having this discussion
> > today.
> >
> > I know plenty of people disagree with this view, but there you have
> it.
> >
> > -Rasmus
> >
> > On Sat, 3 Aug 2002, Acer wrote:
> >
> > > I made that statement because this subject has been brought up
> several
> > times
> > > and nothing has been said from the php gods.  I mean out of this
> whole
> > > thread, your only comment is "That's probably the most uninformed
> > statement
> > > I have seen posted to this list in a very long time."
> > >
> > >
> > > -Original Message-
> > > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > > Sent: August 3, 2002 1:04 PM
> > > To: Acer
> > > Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Re: Protect PHP coding
> > >
> > >
> > > > You'll never hear anything from the core php group since they
are
> a
> > tight
> > > > click so it's business as usual.
> > >
> > > That's probably the most uninformed statement I have seen posted
to
> this
> > > list in a very long time.
> > >
> > > -Rasmus
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> > >
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> --
> PHP General Mailing List (http://www

Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Justin French

on 04/08/02 3:30 AM, Acer ([EMAIL PROTECTED]) wrote:

> Don't get me wrong rasmus, I don't have any problems with you.  It's just
> fishy when some guy in the UK was able to put together a php accelerator for
> free and a php encoder for $0.50 a pop while zend is charging several
> thousands.  You have to wonder how much work zend is actually putting into
> their products to justify the price.  Plus, these guys are the ones building
> php so something is not right.

Zend is a commercial company, and has a right to charge for a product.  My
guess is that the developers of the Zend engine (PHP) would also make the
best developers of any other product (like an accelerator or encoder) that
is associated with PHP.

If someone is charging so little for the product (it is Beta, so I wouldn't
use it anyway), then there is a good *chance* that it's a far less superior
product.

Let me ask you Acer, how much money do you make a week from developing PHP
web applications with the free PHP scripting language?  The $2000 doesn't
seem like much in comparison, does it.


Justin French


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

Okay fine whatever.  Let's just continue sticking our heads in the sand and
pretend php developers isn't last on the list of jobs available compared to
asp, jsp and cf developers.

That topic isn't important so back to normal and I'll ask a php question.
What's the difference between = and ==?  I'm too lazy to read the manual.


-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 7:42 PM
To: 'Acer'; 'Rasmus Lerdorf'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


Acer, what the fk are you mumbling about?

(sorry for mine to you introduction)

600 people at PHP Dev Group (and I am one of them too) create and
document PHP Programming Language for free, because they like it this
way.

You, get your boss's money, buy a Zend's encoder, make a script that,
perhaps, has an equivalent freely available on sourseforge.net, encode
it and stick a it price to then sell the "cat in a lot" to those
paranoids who do not trust open source projects like your own boss does.

The "paranoids" then make services we all here pay, and on our spare
time - we keep developing the free code for you (always, because we like
it this way).

What are you trying to prove by being devil's lawyer here?

We all know how e-business works, most of us are actually on managing
positions if not job consultants.

So, Acer, from now on - ask a php-general question or answer one. Deal?


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 12:01 AM
> To: Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
> Okay so you support zend but hate encoders.  Doesn't zend make an
encoder?
> To me an encoder is used to sell your product.  It doesn't mean people
> still
> won't release their code to add to the public knowledge.
>
> If you didn't release your code rasmus then those 600 people won't
have
> made
> php what it is now so you can't have it both ways.
>
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 2:06 PM
> To: Acer
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
>
> Because it is a silly thread and I shouldn't be replying at all.
Others
> in the group either have more sense or have given up on answering
> php-general questions.
>
> My view on encoders is that they are unnecessary and rather evil.  I
would
> never ever purchase a php-based application that did not come with the
php
> source code.  If you want to restrict your code somehow, do it through
a
> license.  People who choose to violate that license are the same
people
> who will hack your encoded scripts anyway.  And this way the honest
> customers will have the benefit of the code to customize, learn from,
> build on top of.  Closed source stuff stifles innovation and I
personally
> refuse to work on a PHP encoder for this reason.  Imagine if I had
never
> released the source for PHP?  We would not be having this discussion
> today.
>
> I know plenty of people disagree with this view, but there you have
it.
>
> -Rasmus
>
> On Sat, 3 Aug 2002, Acer wrote:
>
> > I made that statement because this subject has been brought up
several
> times
> > and nothing has been said from the php gods.  I mean out of this
whole
> > thread, your only comment is "That's probably the most uninformed
> statement
> > I have seen posted to this list in a very long time."
> >
> >
> > -Original Message-
> > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > Sent: August 3, 2002 1:04 PM
> > To: Acer
> > Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > > You'll never hear anything from the core php group since they are
a
> tight
> > > click so it's business as usual.
> >
> > That's probably the most uninformed statement I have seen posted to
this
> > list in a very long time.
> >
> > -Rasmus
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Justin French

on 03/08/02 11:57 PM, Manuel Lemos ([EMAIL PROTECTED]) wrote:

>> The people for Zend have to eat to live.
> 
> And don't we all? That is the main problem. If we need to pay USD $3,000
> to be able to compile our PHP programs, doesn't that make not viable for
> most of us to sell our PHP programs as closed source?

How much money do you make a week writing PHP scripts?  Just remember, Zend
gave you PHP, for free, to use in almost any commercial way you wish.

My clients cant afford Zend, but when the right client comes along, it'll be
my recommendation without hesitation.


Justin French



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: May i?

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>

well... yes, then maybe i made a mistake there was data related to
the id . then i delete that row and the data that was related to the
comments are gone away, because the row id has changedso i would have to
put then manually again

Flavio Bastos Amiel


"Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message
000c01c23b50$050fcfe0$1113fe17@dominanta">news:000c01c23b50$050fcfe0$1113fe17@dominanta...
>
> Why do you need it anyway?
>
> auto_increment is a mySQL functionality to (listen this carefully) KEEP
> UNICITY WITHIN A TABLE. This is what they are needed for. I agree - it
> would look prettier having them even sequential, but that is behind the
> real point and it is not a "problem".
>
> You should make your application independent from "id" value - "id"
> should only serve you as a key to relate the data within
> application/database.
>
>
> Sincerely,
>
> Maxim Maletsky
>
> PHP Beginner
> www.phpbeginner.com
>
>
> > -Original Message-
> > From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 04, 2002 2:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Re: May i?
> >
> > let's see if i can do it...
> >
> > i got a news site. everything was going OKsometimes i made few
> > testing and then i delete the content from the db... the problem is
> next:
> >
> > the item "id" is an auto_increment element .. so the id's wasn't going
> > allrightbecause they where not true... sometimes they make jumps
> like
> > id
> > #25 and the id #30 (because of the testing i've  done and then delete)
> >
> > i tried to delete that cell (id) and then i recreate it. thinking the
> id
> > was
> > going to count it all over and make the item id TRUE.but it wasn't
> > like
> > that, the "new" id was counting since the last id then if the last id
> was
> > 100, the new id was counting from 100 to 200  do i explain
> myself?...
> > does anyone have an answer to this problem (PLEASE Dont tell me i have
> to
> > do
> > i manually!! )
> >
> > thanks,
> > Flavio Bastos Amiel
> >
> >
> >
> >
> >
> > "George Nicolae" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > ask.
> > >
> > > --
> > >
> > >
> > > Best regards,
> > > George Nicolae
> > > IT Manager
> > > ___
> > > PaginiWeb.com  - Professional Web Design
> > > www.PaginiWeb.com
> > >
> > >
> > > "::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in
> message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > May i ask for help about a subejct on MySQL here?
> > > >
> > > > thanks,
> > > > Flavio Bastos Amiel
> > > >
> > > >
> > >
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: May i?

2002-08-03 Thread Jason Stechschulte

On Tue, Sep 03, 2002 at 08:27:37PM -0400, ::: Flavio Bastos Amiel::> wrote:
> i tried to delete that cell (id) and then i recreate it. thinking the id was
> going to count it all over and make the item id TRUE.but it wasn't like
> that, the "new" id was counting since the last id then if the last id was
> 100, the new id was counting from 100 to 200  do i explain myself?...
> does anyone have an answer to this problem (PLEASE Dont tell me i have to do
> i manually!! )

You can use a version of mysql prior to 3.23, which is the version that
this behavior was introduced.  Many people, myself included, believe the
ability to use numbers that were used previously is a bug, so in 3.23,
once a number is used in an auto incrementing column it cannot be used
again.  At least mysql won't auto generate it again.

-- 
Jason Stechschulte
[EMAIL PROTECTED]
http://www.ypisco.com
--
To teach is to learn.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: May i?

2002-08-03 Thread Maxim Maletsky


Why do you need it anyway?

auto_increment is a mySQL functionality to (listen this carefully) KEEP
UNICITY WITHIN A TABLE. This is what they are needed for. I agree - it
would look prettier having them even sequential, but that is behind the
real point and it is not a "problem".

You should make your application independent from "id" value - "id"
should only serve you as a key to relate the data within
application/database.


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 2:28 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: May i?
> 
> let's see if i can do it...
> 
> i got a news site. everything was going OKsometimes i made few
> testing and then i delete the content from the db... the problem is
next:
> 
> the item "id" is an auto_increment element .. so the id's wasn't going
> allrightbecause they where not true... sometimes they make jumps
like
> id
> #25 and the id #30 (because of the testing i've  done and then delete)
> 
> i tried to delete that cell (id) and then i recreate it. thinking the
id
> was
> going to count it all over and make the item id TRUE.but it wasn't
> like
> that, the "new" id was counting since the last id then if the last id
was
> 100, the new id was counting from 100 to 200  do i explain
myself?...
> does anyone have an answer to this problem (PLEASE Dont tell me i have
to
> do
> i manually!! )
> 
> thanks,
> Flavio Bastos Amiel
> 
> 
> 
> 
> 
> "George Nicolae" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > ask.
> >
> > --
> >
> >
> > Best regards,
> > George Nicolae
> > IT Manager
> > ___
> > PaginiWeb.com  - Professional Web Design
> > www.PaginiWeb.com
> >
> >
> > "::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in
message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > May i ask for help about a subejct on MySQL here?
> > >
> > > thanks,
> > > Flavio Bastos Amiel
> > >
> > >
> >
> >
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Decode email

2002-08-03 Thread Maxim Maletsky


Try looking for it on www.phpclasses.org - it is pretty rich for such
content. 


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: info @ saudiabm [mailto:[EMAIL PROTECTED]] On Behalf Of support-
> [EMAIL PROTECTED]
> Sent: Sunday, August 04, 2002 2:06 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Decode email
> 
> Hi
> 
> Anyone know a good email decoder (function or class) that can split
the
> any email to subject, from, to , body and attachments ?
> 
> 
> Thank You
> 
>___
> http://www.SaudiABM.com
>  ___
> About Islam :
> http://home2.swipnet.se/~w-20479/Audio.htm
> http://sultan.org
>   ___
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: May i?

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>

let's see if i can do it...

i got a news site. everything was going OKsometimes i made few
testing and then i delete the content from the db... the problem is next:

the item "id" is an auto_increment element .. so the id's wasn't going
allrightbecause they where not true... sometimes they make jumps like id
#25 and the id #30 (because of the testing i've  done and then delete)

i tried to delete that cell (id) and then i recreate it. thinking the id was
going to count it all over and make the item id TRUE.but it wasn't like
that, the "new" id was counting since the last id then if the last id was
100, the new id was counting from 100 to 200  do i explain myself?...
does anyone have an answer to this problem (PLEASE Dont tell me i have to do
i manually!! )

thanks,
Flavio Bastos Amiel





"George Nicolae" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> ask.
>
> --
>
>
> Best regards,
> George Nicolae
> IT Manager
> ___
> PaginiWeb.com  - Professional Web Design
> www.PaginiWeb.com
>
>
> "::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > May i ask for help about a subejct on MySQL here?
> >
> > thanks,
> > Flavio Bastos Amiel
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Php manual

2002-08-03 Thread support-bot

Where can I download the php manual with the user notes (in html format)


Thank You

   ___
http://www.SaudiABM.com
 ___
About Islam :
http://home2.swipnet.se/~w-20479/Audio.htm
http://sultan.org
  ___


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Decode email

2002-08-03 Thread support-bot

Hi

Anyone know a good email decoder (function or class) that can split the
any email to subject, from, to , body and attachments ?


Thank You

   ___
http://www.SaudiABM.com
 ___
About Islam :
http://home2.swipnet.se/~w-20479/Audio.htm
http://sultan.org
  ___


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: May i?

2002-08-03 Thread George Nicolae

ask.

--


Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com  - Professional Web Design
www.PaginiWeb.com


"::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> May i ask for help about a subejct on MySQL here?
>
> thanks,
> Flavio Bastos Amiel
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Safe Mode seems to turn on and off randomly

2002-08-03 Thread Andrew Brampton

Hi,
I was discussing with a friend at a webhost I use and they have been experience a 
wierd problem recently with their php safe mode, I went to help and after spending a 
while in the bug database I couldn't find anything to explain it.

Basically every time you view a phpinfo page it will randomly change the local setting 
for safe mode from on or off, where the global setting is allways on... We also found 
out that if you run a php script 1000 times echoing the state of safemode it is 
constant for out the execution of the script, but it might change the next time we 
re-fresh the page.

The servers which are affected are using Plesk which is a control panel thing which 
basically bundles freeBSD, apache, php, mysql together with a PHP front end for users 
and admins...The current version of the software is as follows:

PHP 4.1.0
Apache 1.3.22
FreeBSD 4.1-RELEASE 
(The builds would be newer but this is what the lastest Plesk provides)

I was wondering if anyone could have a explaination for this bug, if you want to see 
it for yourself check out my http://www.lusernet.34sp.com/phpInfo.php page. Since I'm 
not a admin of this webhost, and I'm only really doing this because I'm curious as 
well I can't give any more server specific details then what is publicly available on 
the phpInfo page since I don't know them :)

Anyway thanks for any reply
Andrew



Re: [PHP] Include problems

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>

Thanks Maxim, it is good to know! :)

Flavio Bastos Amiel
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message
000401c23b48$55266960$1113fe17@dominanta">news:000401c23b48$55266960$1113fe17@dominanta...
> Include and require are identical, except for their failure behavior -
> require() halts permanently ending execution of the script.
>
>
> Sincerely,
>
> Maxim Maletsky
>
> PHP Beginner
> www.phpbeginner.com
>
>
> > -Original Message-
> > From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 04, 2002 12:53 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Include problems
> >
> > does the "require" has something to be with "include" ?
> > Cause instead of using "include" im always usin "require"
> >
> >
> > Thanks,
> > Flavio Bastos Amiel
> >
> >
> > "Scott" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Does this mean i have to do this to each site???
> > >
> > >
> > >
> > >
> > >
> > > "Daniel Kushner" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > include 'inc/test.inc' will work fine if you add your root
> directory
> > to
> > > your
> > > > include_path (in the c:\winnt\php.ini file).
> > > >
> > > >
> > > > Daniel Kushner
> > > > [EMAIL PROTECTED]
> > > >
> > > > Need hosting? http://www.TheHostingCompany.us/
> > > >
> > > > > -Original Message-
> > > > > From: Scott [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Saturday, August 03, 2002 3:11 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: [PHP] Include problems
> > > > >
> > > > >
> > > > > I have PHP4 on both a windows IIS server and a windows apache
> server.
> > > The
> > > > > include function only works in the same directory of the file I
> wish
> > to
> > > > > access.
> > > > >
> > > > > ex.  www.include.com/default.php
> > > > > all files in same directory (i guess the root)?
> > > > >  > > > > include 'test.inc'
> > > > > ?>
> > > > >
> > > > > everything works fine.  Here's where I have the problem.
> > > > >
> > > > > Now I want to store all my includes in one directory
> > > www.include.com/inc
> > > > >
> > > > >  > > > > include 'inc/test.inc'
> > > > > ?>
> > > > > that doesn't work>>>
> > > > > Warning: Failed opening 'test.inc' for inclusion
> (include_path='')
> > > > >
> > > > > Can anyone help me with this???
> > > > >
> > > > > Thanks
> > > > > scott
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > PHP General Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Include problems

2002-08-03 Thread Maxim Maletsky

Include and require are identical, except for their failure behavior -
require() halts permanently ending execution of the script.


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: ::: Flavio Bastos Amiel::> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 12:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Include problems
> 
> does the "require" has something to be with "include" ?
> Cause instead of using "include" im always usin "require"
> 
> 
> Thanks,
> Flavio Bastos Amiel
> 
> 
> "Scott" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Does this mean i have to do this to each site???
> >
> >
> >
> >
> >
> > "Daniel Kushner" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > include 'inc/test.inc' will work fine if you add your root
directory
> to
> > your
> > > include_path (in the c:\winnt\php.ini file).
> > >
> > >
> > > Daniel Kushner
> > > [EMAIL PROTECTED]
> > >
> > > Need hosting? http://www.TheHostingCompany.us/
> > >
> > > > -Original Message-
> > > > From: Scott [mailto:[EMAIL PROTECTED]]
> > > > Sent: Saturday, August 03, 2002 3:11 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [PHP] Include problems
> > > >
> > > >
> > > > I have PHP4 on both a windows IIS server and a windows apache
server.
> > The
> > > > include function only works in the same directory of the file I
wish
> to
> > > > access.
> > > >
> > > > ex.  www.include.com/default.php
> > > > all files in same directory (i guess the root)?
> > > >  > > > include 'test.inc'
> > > > ?>
> > > >
> > > > everything works fine.  Here's where I have the problem.
> > > >
> > > > Now I want to store all my includes in one directory
> > www.include.com/inc
> > > >
> > > >  > > > include 'inc/test.inc'
> > > > ?>
> > > > that doesn't work>>>
> > > > Warning: Failed opening 'test.inc' for inclusion
(include_path='')
> > > >
> > > > Can anyone help me with this???
> > > >
> > > > Thanks
> > > > scott
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> > >
> >
> >
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Maxim Maletsky

Acer, what the fk are you mumbling about?

(sorry for mine to you introduction)

600 people at PHP Dev Group (and I am one of them too) create and
document PHP Programming Language for free, because they like it this
way.

You, get your boss's money, buy a Zend's encoder, make a script that,
perhaps, has an equivalent freely available on sourseforge.net, encode
it and stick a it price to then sell the "cat in a lot" to those
paranoids who do not trust open source projects like your own boss does.

The "paranoids" then make services we all here pay, and on our spare
time - we keep developing the free code for you (always, because we like
it this way).

What are you trying to prove by being devil's lawyer here?

We all know how e-business works, most of us are actually on managing
positions if not job consultants.

So, Acer, from now on - ask a php-general question or answer one. Deal?


Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com


> -Original Message-
> From: Acer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 04, 2002 12:01 AM
> To: Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> Okay so you support zend but hate encoders.  Doesn't zend make an
encoder?
> To me an encoder is used to sell your product.  It doesn't mean people
> still
> won't release their code to add to the public knowledge.
> 
> If you didn't release your code rasmus then those 600 people won't
have
> made
> php what it is now so you can't have it both ways.
> 
> 
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 2:06 PM
> To: Acer
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
> 
> 
> Because it is a silly thread and I shouldn't be replying at all.
Others
> in the group either have more sense or have given up on answering
> php-general questions.
> 
> My view on encoders is that they are unnecessary and rather evil.  I
would
> never ever purchase a php-based application that did not come with the
php
> source code.  If you want to restrict your code somehow, do it through
a
> license.  People who choose to violate that license are the same
people
> who will hack your encoded scripts anyway.  And this way the honest
> customers will have the benefit of the code to customize, learn from,
> build on top of.  Closed source stuff stifles innovation and I
personally
> refuse to work on a PHP encoder for this reason.  Imagine if I had
never
> released the source for PHP?  We would not be having this discussion
> today.
> 
> I know plenty of people disagree with this view, but there you have
it.
> 
> -Rasmus
> 
> On Sat, 3 Aug 2002, Acer wrote:
> 
> > I made that statement because this subject has been brought up
several
> times
> > and nothing has been said from the php gods.  I mean out of this
whole
> > thread, your only comment is "That's probably the most uninformed
> statement
> > I have seen posted to this list in a very long time."
> >
> >
> > -Original Message-
> > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > Sent: August 3, 2002 1:04 PM
> > To: Acer
> > Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Protect PHP coding
> >
> >
> > > You'll never hear anything from the core php group since they are
a
> tight
> > > click so it's business as usual.
> >
> > That's probably the most uninformed statement I have seen posted to
this
> > list in a very long time.
> >
> > -Rasmus
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Maxim Maletsky

> Call me a cynic but to maintain your status as php god you have to
> contribute to the list so you can sign a book deal.

Cynic? Rather paranoid

> Scott wrote:
> > For what it's worth, I just left a 50,000 employee company that
would
> not
> > let me use PHP in production until I showed them the Zend suite of
> > products.  When I asked for the money to buy their IDE and it
arrived I
> > was allowed to move my PHP code to production.
> 
> So zend charges a huge amount of money so that your boss can feel good
> about
> making the right decision. 

It happens everywhere, and not only for PHP but for all Open Source.
Very often this behavior is seem when desiding the Linux platforms over
MS. And, that is what pulls decision makers choosing ASP and JSP - they
are products, not projects.

> That's great but how's that working?  Is php
> becoming a contender?  Like I said before do a search for php
developers,
> you won't find any demand for it.  Jsp is newer then php and they have
a
> lot
> more jobs available so something isn't working.
> 

Things ARE working, there is just a lot of conservatism within
e-business.



Sincerely,

Maxim Maletsky

PHP Beginner
www.phpbeginner.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] May i?

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>

May i ask for help about a subejct on MySQL here?

thanks,
Flavio Bastos Amiel



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Include problems

2002-08-03 Thread ::: Flavio Bastos Amiel::::::>

does the "require" has something to be with "include" ?
Cause instead of using "include" im always usin "require"


Thanks,
Flavio Bastos Amiel


"Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does this mean i have to do this to each site???
>
>
>
>
>
> "Daniel Kushner" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > include 'inc/test.inc' will work fine if you add your root directory to
> your
> > include_path (in the c:\winnt\php.ini file).
> >
> >
> > Daniel Kushner
> > [EMAIL PROTECTED]
> >
> > Need hosting? http://www.TheHostingCompany.us/
> >
> > > -Original Message-
> > > From: Scott [mailto:[EMAIL PROTECTED]]
> > > Sent: Saturday, August 03, 2002 3:11 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [PHP] Include problems
> > >
> > >
> > > I have PHP4 on both a windows IIS server and a windows apache server.
> The
> > > include function only works in the same directory of the file I wish
to
> > > access.
> > >
> > > ex.  www.include.com/default.php
> > > all files in same directory (i guess the root)?
> > >  > > include 'test.inc'
> > > ?>
> > >
> > > everything works fine.  Here's where I have the problem.
> > >
> > > Now I want to store all my includes in one directory
> www.include.com/inc
> > >
> > >  > > include 'inc/test.inc'
> > > ?>
> > > that doesn't work>>>
> > > Warning: Failed opening 'test.inc' for inclusion (include_path='')
> > >
> > > Can anyone help me with this???
> > >
> > > Thanks
> > > scott
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] register_argc_argv

2002-08-03 Thread Monty

What does this parameter do in PHP.ini, and what would happen if I turned it
off? From reading the PHP site, it appears this is only useful if you use
PHP from the command line, is that right?

Thanks.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] __functionName?

2002-08-03 Thread Jim Dam

I know that a function name preceded by 2 underscores (__) has 'magical'
properties when declared in a class.  My question is, is it safe to declare
a function with 2 underscores before its name outside of a class?  For
example, if this is my whole script.



Is my function safe from having any wierd effects from the double
underscore?

Jim Dam
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

Sorry for bothering you, I didn't think I would hit a nerve.

-Original Message-
From: Danny Shepherd [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 5:59 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Protect PHP coding


So, go write JSP for someone then and stop bugging us.

- Original Message -
From: "Acer" <[EMAIL PROTECTED]>
To: "Scott" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 03, 2002 10:48 PM
Subject: RE: [PHP] Re: Protect PHP coding


> Scott wrote:
> > You're kidding, right?  When was the last time you saw one the creator
of
> > ASP on a mailing list personally answering code questions?
>
> Call me a cynic but to maintain your status as php god you have to
> contribute to the list so you can sign a book deal.
>
> Scott wrote:
> > For what it's worth, I just left a 50,000 employee company that would
not
> > let me use PHP in production until I showed them the Zend suite of
> > products.  When I asked for the money to buy their IDE and it arrived I
> > was allowed to move my PHP code to production.
>
> So zend charges a huge amount of money so that your boss can feel good
about
> making the right decision.  That's great but how's that working?  Is php
> becoming a contender?  Like I said before do a search for php developers,
> you won't find any demand for it.  Jsp is newer then php and they have a
lot
> more jobs available so something isn't working.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

Okay so you support zend but hate encoders.  Doesn't zend make an encoder?
To me an encoder is used to sell your product.  It doesn't mean people still
won't release their code to add to the public knowledge.

If you didn't release your code rasmus then those 600 people won't have made
php what it is now so you can't have it both ways.


-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 2:06 PM
To: Acer
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


Because it is a silly thread and I shouldn't be replying at all.  Others
in the group either have more sense or have given up on answering
php-general questions.

My view on encoders is that they are unnecessary and rather evil.  I would
never ever purchase a php-based application that did not come with the php
source code.  If you want to restrict your code somehow, do it through a
license.  People who choose to violate that license are the same people
who will hack your encoded scripts anyway.  And this way the honest
customers will have the benefit of the code to customize, learn from,
build on top of.  Closed source stuff stifles innovation and I personally
refuse to work on a PHP encoder for this reason.  Imagine if I had never
released the source for PHP?  We would not be having this discussion
today.

I know plenty of people disagree with this view, but there you have it.

-Rasmus

On Sat, 3 Aug 2002, Acer wrote:

> I made that statement because this subject has been brought up several
times
> and nothing has been said from the php gods.  I mean out of this whole
> thread, your only comment is "That's probably the most uninformed
statement
> I have seen posted to this list in a very long time."
>
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 1:04 PM
> To: Acer
> Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
>
> > You'll never hear anything from the core php group since they are a
tight
> > click so it's business as usual.
>
> That's probably the most uninformed statement I have seen posted to this
> list in a very long time.
>
> -Rasmus
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

Okay great let me change my opinion to php is being built by 600 people who
do a lot of infighting.  I feel much better.


-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2002 1:50 PM
To: Acer
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Protect PHP coding


There are nearly 600 people with cvs commit access to cvs.php.net.  Saying
that Zend are the ones building PHP is a gross injustice to the majority
of the people working on PHP.  I have absolutely no relationship with Zend
and I have built big chunks of PHP as have countless others with nothing
to gain from Zend commercializing anything.

Commercial interest in the PHP market is simple fact that comes from PHP's
overwhelming success.  It is a sign of the project's maturity and there is
absolutely nothing wrong with it.  And if I had to choose between
commercial interests also contributing to PHP itself vs. not contributing,
I would much prefer them to contribute things.  There are plenty of
companies selling into the PHP space without contributing anything back to
PHP.  So, faulting Zend for having both commercial products and also
contributing to PHP itself makes very little sense to me.

Finally, you are arguing about commercial software pricing not matching
the effort that goes into making it?  C'mon, if all commercial software
was priced simply to recoup development costs, then Windows should cost
about 2 cents and Oracle about a dime.

The bottom line is that there is no conspiracy here.  The PHP Group is far
from a tightknit group that agrees on everything.  In fact we disagree on
just about everything you can imagine and we are certainly not a group of
people who sit around with nothing to do except help Zend make money.  You
will find if you poke around a little bit, several members, including
myself, have helped projects that make free alternatives to various
commercial products from Zend and other companies.

-Rasmus

On Sat, 3 Aug 2002, Acer wrote:

> Don't get me wrong rasmus, I don't have any problems with you.  It's just
> fishy when some guy in the UK was able to put together a php accelerator
for
> free and a php encoder for $0.50 a pop while zend is charging several
> thousands.  You have to wonder how much work zend is actually putting into
> their products to justify the price.  Plus, these guys are the ones
building
> php so something is not right.
>
>
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: August 3, 2002 1:04 PM
> To: Acer
> Cc: Dennis Moore; Andrey Hristov; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Protect PHP coding
>
>
> > You'll never hear anything from the core php group since they are a
tight
> > click so it's business as usual.
>
> That's probably the most uninformed statement I have seen posted to this
> list in a very long time.
>
> -Rasmus
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Danny Shepherd

So, go write JSP for someone then and stop bugging us.

- Original Message -
From: "Acer" <[EMAIL PROTECTED]>
To: "Scott" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 03, 2002 10:48 PM
Subject: RE: [PHP] Re: Protect PHP coding


> Scott wrote:
> > You're kidding, right?  When was the last time you saw one the creator
of
> > ASP on a mailing list personally answering code questions?
>
> Call me a cynic but to maintain your status as php god you have to
> contribute to the list so you can sign a book deal.
>
> Scott wrote:
> > For what it's worth, I just left a 50,000 employee company that would
not
> > let me use PHP in production until I showed them the Zend suite of
> > products.  When I asked for the money to buy their IDE and it arrived I
> > was allowed to move my PHP code to production.
>
> So zend charges a huge amount of money so that your boss can feel good
about
> making the right decision.  That's great but how's that working?  Is php
> becoming a contender?  Like I said before do a search for php developers,
> you won't find any demand for it.  Jsp is newer then php and they have a
lot
> more jobs available so something isn't working.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Acer

Scott wrote:
> You're kidding, right?  When was the last time you saw one the creator of
> ASP on a mailing list personally answering code questions?

Call me a cynic but to maintain your status as php god you have to
contribute to the list so you can sign a book deal.

Scott wrote:
> For what it's worth, I just left a 50,000 employee company that would not
> let me use PHP in production until I showed them the Zend suite of
> products.  When I asked for the money to buy their IDE and it arrived I
> was allowed to move my PHP code to production.

So zend charges a huge amount of money so that your boss can feel good about
making the right decision.  That's great but how's that working?  Is php
becoming a contender?  Like I said before do a search for php developers,
you won't find any demand for it.  Jsp is newer then php and they have a lot
more jobs available so something isn't working.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Need Help with register_globals OFF

2002-08-03 Thread Monty

Well, I just "upgraded" a number of PHP scripts to function with
register_globals turned off, and now better understand what's required to
work with variables more securely.

I wanted to share that the extract() command turned out to be a big help.
Using it meant I didn't have to put $_POST[' '] around every variable passed
by a form. Instead, I put one or both of these lines of code at the
beginning of scripts that use forms or receive vars passed via the URL:

extract($_POST);
extract($_GET);

extract() creates local variables using the 'key' and 'value' from the
$_POST or $_GET arrays. I even discovered it works with multidimensional
arrays that may be passed by forms. In that case, if I have an array named
"formvar" that collects all data from the form (i.e., $formvar['name'],
$formvar['address'], etc.), then I use extract this way:

extract($_POST['formvar']);

This will create local variables named $name and $address that contain the
values passed from the form. Here's where you can find more about this
function: http://www.php.net/manual/en/function.extract.php

One thing to remember is that if you put extract() in a custom function
(which I did initially), it won't really work because the variables are
created only within the scope of the function, so, as soon as it returns to
the script, the vars it created are released.

Monty



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Regular Expressions (PCRE library)

2002-08-03 Thread Jürgen

No im not saying that, im merely saying that in my given example even if i
turn the Hello into Ello it does not replace it, besides :


^  = assert start of subject (or line, in multiline mode)   *


I took this directly from the PHP manual, so i assumed that the default mode
would be the first one, however, i tried the following and it looks like it
was the latter after all

$test = "ello, end this is now the End.";

$test = preg_replace('# *^e#i', 'A',  $test);

Will result into :  Allo, end this is now the End.

So, i guess you were right after all :)

Thanks for sticking with me though!

Best regards from Vienna,
Jürgen


> So you're saying this:
>
>   echo preg_replace("/^[eE]/", "A",  "Eek!");
>
> Does not result in "Aek!" ?
>
> --
> Jason Wong



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: User Authentication Problem

2002-08-03 Thread Monty

You might get some help if you post only the code relevant to the problem
with a clear explanation of the exact problem. Otherwise, I doubt anyone
will bother looking through all that code you posted links to.



> From: [EMAIL PROTECTED] (Tony Harrison)
> Newsgroups: php.general
> Date: Sat, 3 Aug 2002 20:31:54 +0100
> To: [EMAIL PROTECTED]
> Subject: User Authentication Problem
> 
> Hi, I need to authenticate users on an included page on my website, but the
> problem is, I cant get it to work.
> view it included at http://members.lycos.co.uk/ajohnh/ (Source at
> http://members.lycos.co.uk/ajohnh/source/index.txt)
> the actual file:
> http://members.lycos.co.uk/ajohnh/templates/twoShea/head.php (source at
> http://members.lycos.co.uk/ajohnh/source/head.txt)
> the location of the script that sets the cookie (I hard-coded the user and
> password combo for user ramonezrule into it):
> http://members.lycos.co.uk/ajohnh/templates/twoShea/setcookie.php (source
> at: http://members.lycos.co.uk/ajohnh/source/setcookie.txt)
> 
> 
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Include problems

2002-08-03 Thread Scott

Does this mean i have to do this to each site???





"Daniel Kushner" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> include 'inc/test.inc' will work fine if you add your root directory to
your
> include_path (in the c:\winnt\php.ini file).
>
>
> Daniel Kushner
> [EMAIL PROTECTED]
>
> Need hosting? http://www.TheHostingCompany.us/
>
> > -Original Message-
> > From: Scott [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, August 03, 2002 3:11 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Include problems
> >
> >
> > I have PHP4 on both a windows IIS server and a windows apache server.
The
> > include function only works in the same directory of the file I wish to
> > access.
> >
> > ex.  www.include.com/default.php
> > all files in same directory (i guess the root)?
> >  > include 'test.inc'
> > ?>
> >
> > everything works fine.  Here's where I have the problem.
> >
> > Now I want to store all my includes in one directory
www.include.com/inc
> >
> >  > include 'inc/test.inc'
> > ?>
> > that doesn't work>>>
> > Warning: Failed opening 'test.inc' for inclusion (include_path='')
> >
> > Can anyone help me with this???
> >
> > Thanks
> > scott
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Jason Wong

On Sunday 04 August 2002 04:38, Bob Lockie wrote:
> >My view on encoders is that they are unnecessary and rather evil.  I would
> >never ever purchase a php-based application that did not come with the php
> >source code.  If you want to restrict your code somehow, do it through a
> >license.  People who choose to violate that license are the same people
> >who will hack your encoded scripts anyway.  And this way the honest
> >customers will have the benefit of the code to customize, learn from,
> >build on top of.  Closed source stuff stifles innovation and I personally
> >refuse to work on a PHP encoder for this reason.  Imagine if I had never
> >released the source for PHP?  We would not be having this discussion
> >today.
>
> Very well said.
> I applaud all the devlopers who work on open source software.

Isn't it a touch ironic (or hypocritical) when people want a open source 
product to produce a closed source product? It's almost as bad as MS 
'embracing' an open source product into their closed source rubbish.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
God requireth not a uniformity of religion.
- Roger Williams
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: starting Apache

2002-08-03 Thread Bob Lockie


Version 2 of Apache does not support PHP yet.
Go back to version 1 and ask the list if you still have problems.

>I also received an error regarding libphp4.so when I tried to compile php
>4.2.2 with apache 2.0.39 on Mandrake 8.1.  Have not resolved it, even after
>asking several days ago on this site.  Nobody responded.  Have double
>checked my ./configure and everything looks good, it is when I execute the
>"make" command that it bombs out.  Has somebody done this successfully?
>Yes, I've set the configure to enable modules.
>
>Kirk
>
>
>"Nick Niehoff" wrote
>> I finally got php 4.2.2 installed with Apache 2.0.39
>> on RedHat 7.2.  However when I restart the httpd
>> service, I get the following error:
>>
>> Starting httpd: Syntax error on line 230 of
>> /www/conf/httpd.conf:
>> Cannot load /www/modules/libphp4.so into server:
>> /www/modules/libphp4.so: undefined symbol:
>> ts_resource_ex
>>
>> Can Anyone Help?
>> Nick
>
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: starting Apache

2002-08-03 Thread Jason Wong

On Sunday 04 August 2002 04:02, Kirk Babb wrote:
> I also received an error regarding libphp4.so when I tried to compile php
> 4.2.2 with apache 2.0.39 on Mandrake 8.1.  Have not resolved it, even after
> asking several days ago on this site.  Nobody responded.  Have double
> checked my ./configure and everything looks good, it is when I execute the
> "make" command that it bombs out.  Has somebody done this successfully?
> Yes, I've set the configure to enable modules.

Well the php-install list is probably the best place to ask for help with 
installation problems.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Another such victory over the Romans, and we are undone.
-- Pyrrhus
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Bob Lockie


>My view on encoders is that they are unnecessary and rather evil.  I would
>never ever purchase a php-based application that did not come with the php
>source code.  If you want to restrict your code somehow, do it through a
>license.  People who choose to violate that license are the same people
>who will hack your encoded scripts anyway.  And this way the honest
>customers will have the benefit of the code to customize, learn from,
>build on top of.  Closed source stuff stifles innovation and I personally
>refuse to work on a PHP encoder for this reason.  Imagine if I had never
>released the source for PHP?  We would not be having this discussion
>today.

Very well said.
I applaud all the devlopers who work on open source software.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Regular Expressions (PCRE library)

2002-08-03 Thread Jason Wong

On Sunday 04 August 2002 03:47, Jürgen wrote:
> Well, i know it should work, but it does not work.
> Even if i Change the first letter into e or E it does not work.
>
> This is so frustrating, this is prolly the most easiest regular expression
> i could start with and yet i fail and nobody seems to know why it aint
> working neither
>
> > This should work. However if you're using $test as defined above it does
>
> not
>
> > start with 'e' or 'E' so what output did you expect??

So you're saying this:

  echo preg_replace("/^[eE]/", "A",  "Eek!");

Does not result in "Aek!" ?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
The problem with graduate students, in general, is that they have
to sleep every few days.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: starting Apache

2002-08-03 Thread Kirk Babb

I also received an error regarding libphp4.so when I tried to compile php
4.2.2 with apache 2.0.39 on Mandrake 8.1.  Have not resolved it, even after
asking several days ago on this site.  Nobody responded.  Have double
checked my ./configure and everything looks good, it is when I execute the
"make" command that it bombs out.  Has somebody done this successfully?
Yes, I've set the configure to enable modules.

Kirk


"Nick Niehoff" wrote
> I finally got php 4.2.2 installed with Apache 2.0.39
> on RedHat 7.2.  However when I restart the httpd
> service, I get the following error:
>
> Starting httpd: Syntax error on line 230 of
> /www/conf/httpd.conf:
> Cannot load /www/modules/libphp4.so into server:
> /www/modules/libphp4.so: undefined symbol:
> ts_resource_ex
>
> Can Anyone Help?
> Nick




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] RegEx (back referencing)

2002-08-03 Thread Danny Shepherd

Ok, a very slightly modified version of your first attempt should work then

$fcontent = eregi_replace("<(/?)(scr[^>]*)>", "«font
color=maroon»\\0«/font»", $fcontent);

Note the \\0 instead of \\1

HTH

Danny.

- Original Message -
From: "Phil Ewington" <[EMAIL PROTECTED]>
To: "Danny Shepherd" <[EMAIL PROTECTED]>
Sent: Saturday, August 03, 2002 8:54 PM
Subject: RE: [PHP] RegEx (back referencing)


> Danny,
>
> OK, the input string is the contents of a file, the idea is to output
color
> coded and indented code in HTML. So searching for  and replace
with
>