Re: [PHP] PHP 4.1 out?

2001-12-02 Thread ~~~i LeoNid ~~

On Thu, 29 Nov 2001 15:37:09 -0600 impersonator of [EMAIL PROTECTED]
(Mark Charette) planted I saw in php.general:

 -Original Message-
 From: ~~~i LeoNid~~ [mailto:[EMAIL PROTECTED]]

 It could be stated on the site, or (and) tar could be re-moved. As far as
 I am concerned, as soon as something is placed on the web, you have no
 control over reference to it..  And access you can regulate of c0urse:)

Or you could remember that picking up unannounced software from _any_ site
is generally a very bad idea ... you may get a lot more than you bargained
for ...

As if viruses/spyware can not be inserted in announced software, as well..
even in additions to original developers bugs/eggs btw:). Of course you
have more rights to complain with announced ones, and this IS
(theoretically atleast:) important. Not exactly about this case, but I
received (not downloaded by myself:) the other day, an unsolicited e-mail
with a virus, from (and via) my ISP based address, which I am going to
report.

In the described case though, the site for download packages is widely
known. Its not for one time release, but for subsequent versions. Besides,
warning is in most cases included _inside_ the package's license, that
no-body is responsible for damage, use it 4 your own risk, etc, etc..

Anyway, I am not encouraging dounloading to quick, but just am stating
that forbidding refference to something already placed on the WEB - is
absurd. 

Mark C.

L. S. made DS:)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP 4.1 out?

2001-11-29 Thread ~~~i LeoNid ~~

On Wed, 28 Nov 2001 20:57:41 +0100 impersonator of [EMAIL PROTECTED] (Zeev
Suraski) planted I saw in php.general:

There were some last minute issues that required further testing...

It could be stated on the site, or (and) tar could be re-moved. As far as
I am concerned, as soon as something is placed on the web, you have no
control over reference to it..  And access you can regulate of c0urse:)

Zeev

At 20:53 28/11/2001, Julio Nobrega Trabalhando wrote:
   Mind if I ask why? I do have a few ideas, but I feel I am terribly wrong
about them :-)

--

Julio Nobrega

No matter where you go, this.

Zeev Suraski [EMAIL PROTECTED] wrote in message
5.1.0.14.2.20011128204245.01e71090@localhost">news:5.1.0.14.2.20011128204245.01e71090@localhost...
  And for a good reason.  Please don't publish such URLs in the future...
 
  Zeev
 
  At 18:56 28/11/2001, Mike Eheler wrote:
  Try it:
  
  http://www.php.net/distributions/php-4.1.0.tar.gz
  
  No word on the website, though.
  
  Mike

i Leon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Error: Can't redeclare already declared function (PHP 3.0.15)

2001-10-27 Thread ~~~i LeoNid ~~

On Fri, 26 Oct 2001 20:54:00 -0400 impersonator of [EMAIL PROTECTED]
(Gerard Onorato) planted I saw in php.general:

Hi,

Another solution I have used when I have to do conditional includes which
may cause the same page to be included twice

Unfortunately, you can't include FUNCTION() conditionaly (well, you can,
but then you can't use it out of this if():). Why only such dumn
restriction, PHP developers?

At the top of the code to be included (the separate file) put something
like:

if ($theFileAlreadyInclude != 1) {

Right. That what i do too, but you include _code_ (whithout functions:()
in that case..
--
i

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Error: Can't redeclare already declared function (PHP 3.0.15)

2001-10-27 Thread ~~~i LeoNid ~~

On Sat, 27 Oct 2001 13:21:58 +0200 impersonator of [EMAIL PROTECTED]
(Tamas Arpad) planted I saw in php.general:

 Unfortunately, you can't include FUNCTION() conditionaly (well, you
 can, but then you can't use it out of this if():). Why only such
 dumn restriction, PHP developers?
I think it's only true for php3

I use many many class definitions in php4 that are inluded 
conditionally in another classes' functions, and of course it works 
fine.
   Arpi

Hmm. Thats becoming interesting. Are you using 4.06 ? Becouse, i have this
version, and it doesn't give me such a chance. I thought it should, but
when tryed it proved otherwise..  Pss. I double-checked now on a simple example, 
and it worked as you say, it should.. But i re-member well that then i too checked 
several times.. Weird. (i must have missed s/t then or..) 
Anyway, 'll have in mind, that it should work, for the futer. Sorry 4 missleding  
TnX. i.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] = 0 and = 0

2001-10-26 Thread ~~~i LeoNid ~~

On Thu, 25 Oct 2001 02:04:14 -0700 (PDT) impersonator of [EMAIL PROTECTED]
(Rasmus Lerdorf) planted I saw in php.general:

  if(strpos(abcdef,abc)) { ... }

and then be confused that the condition appeared not to be met.  What they 
actually should have done was:

  if(strpos(abcdef,abc)!==false) { ... }

Or better yet, i think:

 if(is_int(strpos(..))){..}

coz this way it should not depend on php version (whereus === and !== do
depend), i think:)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Can I have If...Else inside a For Loop???

2001-10-20 Thread ~~~i LeoNid ~~

On Fri, 19 Oct 2001 21:46:29 -0700 impersonator of [EMAIL PROTECTED] (Brad
Melendy) planted I saw in php.general:

arrh!   I don't think I can say much else.  Thanks so
much for pointing that out David.  ;-)

.Brad


David Pearson [EMAIL PROTECTED] wrote in message
003101c1591a$e00ec290$320110ac@david">news:003101c1591a$e00ec290$320110ac@david...
 Could it be the semi colon at the end of the 'if' line, at '... $nChar =
 45); { ...'  ?  Looks like the if statement ends there, the ' { print
 OK.; } ' is a block on it's own and the 'else' is now out of context.

 -Original Message-
 From: Brad Melendy [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 19, 2001 8:03 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Can I have If...Else inside a For Loop???


 Hi All,
 I'm stumped.  I've got the following code:

 ?php
 if(isSet($domain))
 {
  for ( $counter=0; $counter = strlen($domain); $counter++ )
   {
   $nChar = ord(strtolower(substr($domain, $counter, 1)));
   if (($nChar  47 And $nChar  58) or ($nChar  96 And $nChar  123) or
 $nChar = 45);
I'd also ^^put == here, or you NEVER get to else{ anyway

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] how to use the function strtotime

2001-09-21 Thread ~~~i LeoNid ~~

On Thu, 20 Sep 2001 11:49:02 +0200 impersonator of [EMAIL PROTECTED] (*
RZe:) planted I saw in php.general:

It's not all that difficult, really. It's exactly how it's described

Well. They don't describe (in my copy of documentation, at least:) a
return on error. And it dosn't blew up an error message. I had to find it
by myself. It (in 4.0.6, at least) returns -1 on erroneous data supply.

Make sure, you check for that, if, like, you convert user data, otherwise
it will blow up on its further processing.
--
i leonid http://nux.home.dk3.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] For the RegExps gurus!

2001-09-21 Thread ~~~i LeoNid ~~

On Thu, 20 Sep 2001 10:37:58 +0200 impersonator of [EMAIL PROTECTED] (*
RZe:) planted I saw in php.general:

again. And believe me: IT'S A LOT OF RAIN HERE!

Its raining back, Aleluia:) Like in UK reign inG foggy Albion:)? I
can understand you, I used to live in St. Petersburg.. Or do you mean that
you visited Monaco (Isn't it a Rein`e - a rulling family there?:)  lost a
fortune?:)

'Silly me'; don't think so. The number of abbr's is pretty huge on

Thank you for comforting me:) _That_ was what I had in mind (+coquetry:)
writing (not _thinking_) this, of course:)

And this is where the misunderstanding came up. I thought you were
talking about the construction I was using, while you were - and
correct me if I'm wrong - talking about the characters I allowed.

Well, as far as i am concerned, these two can not be separated for such
issues. This IS functionality of the script, applied to what it needs
done. (Its _not_ like separating a messenger from a message, which
_idealy_, should always be performed, provided the MSG is independent of
messenger -[quite seldom, unfortunately, in our team work times]) 

And concerning those, it might very well be that I don't only allow
characters allowed by specifications and even maybe I don't allow
characters allowed by specifications. I didn't spend much time on
that point. What I did was just creating the RE to parse the URL's.
The allowed characters weren't really of my concern then.

So, the URL's is not the right word here, then:) And th WAY, you did it,
(even irrelevant of character set, as far, as it could be) - I compared
with mine (not yours previous) - and havn't found, what I can improve.
Believe me, if i see s/t usefull for me, i would use it, as long as it is
not copyrighted:)

Let me know...

Just did.
Best regards.
--
i leonid http://nux.home.dk3.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Modularity--Optimizing Includes and Libs

2001-09-20 Thread ~~~i LeoNid ~~

On Wed, 19 Sep 2001 12:30:50 -0700 (PDT) impersonator of
[EMAIL PROTECTED] (Bora Paksoy) planted I saw in php.general:

that PHP parses/compiles pages everytime a new request
comes in. So, does this mean we have to minimize the
amount of code per page (which also means to minimize
number of includes) to improve response time? I mean,

This was my concern too, since this is a script language, and not
precompiled binary calls:((. I usually make it the compromize way: small,
simple (unlikely to be ever changed), although widely used functions, are
repeated inside every main script file; and big, less common, functions -
are _included_, for better maintainability/documentation. Don't know how
much it helps performance-wise though.
--
i Leonid

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] For the RegExps gurus!

2001-09-18 Thread ~~~i LeoNid ~~

On Mon, 17 Sep 2001 13:15:08 +0200 impersonator of [EMAIL PROTECTED] (*
RZe:) planted I saw in php.general:

Ehhh... hai!

Halo! Good to see you back:)

I've been away on vacation, so it's a bit late, but anyway...

Indeed late.. Had a good one?

 You didn't. Actually please expose - tell i tell i:). I am all ears:)

I meant I improved my own versions, not you're version. That's why
you can't find the improvement on you're code. If that's what you
meant...

Hmm, Why R U not employing smilers, why you after 'humor':) Of course, I
meant, that the WAY your code is made is not better, not that you
_litteraly_ improved my code (The later case would be a breakage of
ownership, so you wouldn't admit it, unless you R a Skliarov' type:)

 ? RE ? Sorry, I am not a club insider:)

Not realy any kind of club... just lazy typing; RE stands for
Regular Expression.

Guess wat? I use RegExp abbr. Thats why. Silly me. Now I know that this is
not a developer's kit:) TnX a lot. And, BTW, I agree with your thoughts
about clarity and simplicity (causing performance 'optimality') of
expressions. Not though - that it should be done at the expense of
functionality. In the discussed case, your approach is just an approach to
solution, sorry, whereus mine include practicaly allowed by standard
symbols. May be I am missing something too, but at least do not include,
what is not allowed, i hope. Correct me if I am wrong.
-- 

* RzE:


-- 
-- Renze Munnik
-- DataLink BV
--
Best Regards. 
i Leonid
PS: Have you seen a bike/pilot helmeted guy, speaking of unix advantages,
lately? - in your 'dream'. I did - in mine (submitted to me actually:)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Sorting an array

2001-09-16 Thread ~~~i LeoNid ~~

On Thu, 13 Sep 2001 11:10:03 +0200 impersonator of
[EMAIL PROTECTED] (_lallous) planted I saw in php.general:

here's your script,

..
Kill 'em All
The Wall;

$mem = split(\n, $mem);

Explode() is less expensive then split(), as long as you don't use regexp,
which is the case here, and (from the first glance without improvement
attempts:) you missed reset() of array before the while(list() each())
structure.
..
var_dump($arr2);

This ^one^ is a good choice:)
..
i leonid http://nux.home.dk3.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] For the RegExps gurus!

2001-09-07 Thread ~~~i LeoNid ~~

On Fri, 7 Sep 2001 09:39:37 +0200 impersonator of [EMAIL PROTECTED] (*
RZe:) planted I saw in php.general:

Original message
From: ~~~i LeoNid ~~ [EMAIL PROTECTED]
Date: Thu, Sep 06, 2001 at 05:30:44PM +
Message-ID: 3b97b222.78196206@localhost
Subject: Re: [PHP] For the RegExps gurus!

 You can keep improving:) or you can use piece of my working (except for
 $Harlem, to which i am not going:) code (I give it for free this time:) 
 
 No /me, no ereg, no nothing - gentleMen:)-just /i (did you miss it, btw?:)

/Original message

Reply

If you look at the stuff you sent you'll understand why I improved
it.

You didn't. Actually please expose - tell i tell i:). I am all ears:)

Btw... why the h*ll do you explode() the string you're matching,
while there's the /m modifier? You're making it to difficult for
yourself (and others). No need for the messy solution you created...

Well. So much fuss of so little issue. I admit, It was just a quick
addition for the posting without much thinking (may be just to add $Harlem
variable:). You can do without exploding - and no need for other code
alterations there, I believe. No need in /m either (Correct me, if I am
wrong:), coz I am not checking on beginning or end of string. What other
mess you have noticed:)

Just use RE's that are as simple as possible. It has the best
performance and it reads a lot easier.

? RE ? Sorry, I am not a club insider:)

Please,
/Reply

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: How to pass variables to php functions from url's?

2001-09-07 Thread ~~~i LeoNid ~~

On Fri, 7 Sep 2001 13:28:16 +0200 impersonator of
[EMAIL PROTECTED] (\ Tais M. Hansen) planted I saw in
php.general:

Hi Martin,

Take a look at the Apache mod_rewrite docs.

http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html


I added this to my httpd.conf:

Or if you don't have access to httpd.conf and/or not mod_rewrite
installed, check to see if you can use .htaccess in your respective
directory with adding there handler (your script) for all these files to
be processed by. See Apache docs, if/how it is possible to pass params.

I didn't use it myself, as my servers don't allow it, but read/lerned s/t.


---snip---
RewriteEngine   on
RewriteCond %{HTTP_HOST}^nu\.osd\.dk$
RewriteRule ^.*$http://www.osd.dk/main.php?m=nu
[R=301,L]
---snip---

If a user types the URL nu.osd.dk it will call
http://www.osd.dk/main.php?m=nu.


--
Tais M. Hansen



Martin Lindhe [EMAIL PROTECTED] wrote in message
831D8A28AF18D5119EAA00E018C5B81C23BA08@MAIL1">news:831D8A28AF18D5119EAA00E018C5B81C23BA08@MAIL1...
 I need to solve the following problem, but I can't figure out how:
 Let's assume we have a server called www.test.com
 When a user access http://www.test.com/path/username,
 I want a php script to execute, as if the url entered was
 http://www.test.com/path.php?value=username.
 I'm running PHP 4.0.6 on Apache 1.3.20.
 Thanks!
 /Martin Lindhe


i Leonid.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] For the RegExps gurus!

2001-09-06 Thread ~~~i LeoNid ~~

On Wed, 5 Sep 2001 12:15:34 +0200 impersonator of [EMAIL PROTECTED] (*
RZe:) planted I saw in php.general:

This should do the job:

...
You can keep improving:) or you can use piece of my working (except for
$Harlem, to which i am not going:) code (I give it for free this time:) 

No /me, no ereg, no nothing - gentleMen:)-just /i (did you miss it, btw?:)


note1: your url shouldn't be broken in the middle by \n 
note2: you might see strange characters in patterns - its allowed by
standart - cyrilic. If you are sure to not need anything but latinic, take
others out.

$pref = ([a-z0-9~#%\=\?/\._-]+?:([a-z0-9~#%\=\?/\._-]+?@)?)?;
$port = (:[\d]+)?;
$domain =
([_0-9a-zÿâåðòûóèîïøùýúüþ¸àñäôã÷éêëìíáæöõç][_0-9a-zÿâåðòûóèîïøùýúüþ¸àñäôã÷éêëìíáæöõç-]+?[\.])+[a-z]{2,3};
$subpat = $domain . $port .
([/\\][a-zÿâåðòûóèîïøùýúüþ¸àñäôã÷éêëìíáæöõç0-9~#%@\:\.=\?_-]*)*;
$patterns = array
(`(?=[;\x20^{}+-=|\\%^\^\$#!~:.,\(\)\'\[])((f|ht)tps?|news):// .
$pref . $subpat .`i,
   `(?=[;\x20^\(\)\'\[])www[\.] . $subpat . `i,
   `(?=[;\x20^\(\)\'\[])[_\.0-9a-z-]+@ . $domain . `i);
$links = array (a href='\\0'\\0/a,
   a href='http://\\0'\\0/a,
   a href='mailto:\\0'\\0/a);

$Harlem=explode(\n,$mem);
foreach($Harlem as $line){
  $line = htmlspecialchars ( $line);
  $line = preg_replace ($patterns, $links, $line);
}
-- 
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- 
--
i leonid http://nux.home.dk3.com/
no phone here, but for other personals - donation info. - visit i site^:)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: The secrecy of PHP code

2001-08-14 Thread ~~~i LeoNid ~~

On Tue, 14 Aug 2001 12:06:01 +0200 impersonator of [EMAIL PROTECTED] (Soeren
Nielsen) planted I saw in php.general:

Ben-Nes Michael [EMAIL PROTECTED] wrote in message
022201c12498$79178ce0$[EMAIL PROTECTED]">news:022201c12498$79178ce0$[EMAIL PROTECTED]...
 The problem still stays if you open php to system commands like `echo
 /etc/passwd` or using system() 

A problem is also that other web-programers can read your source code
through PHP.
An example from my page is this:
My homepage is here: /hotel/my domain/WWW

I can make a php-script that opens /hotels/some other domain/WWW ,
list the files, view them, steal code from others etc etc.

Hope what I wrote gave some sort of meaning :-)

Well. Skliar's example do confirm once again, that programmers _can_ do
illegal things, like breaking copyrihgt, stealing the code etc. But is is
responsibilities of the servers administrators to configure the system in
such a way - even if it has multiply users (which is the case for most) -
so to not allow such (and alike) sample opening occur outside of
web-server structure. And only owner/user of the site has a passworded FTP
and other access to his data outside of web-server. 

Of course passwords could be compromised, but this is an another matter.
All in all - I strongly believe - that server stuff is carriing full
responsibility for the above matter. And only the should have root access.

PS: There are servers, to my surprise, (i rent one:() that set write group
attribute for files on download by default, and then refuse executing them
on this basis, so you have to re-set attribute manually. But this alone
still doesn't allow others to read .php as source (these files can only be
overwritten) 

/Søren


Just my legal 2c i leonid.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] The secrecy of PHP code

2001-08-13 Thread ~~~i LeoNid ~~

On Mon, 13 Aug 2001 09:43:56 -0500 impersonator of [EMAIL PROTECTED]
(Tyler Longren) planted I saw in php.general:

The only real way to see the php code is if you don't have the webserver
set to parse the code...then it will just be displayed on the page (or
downloaded).  If you're really paranoid, you can get a tool to encrypt
your php code.  There's some free ones, but 

Puting aside paranoid part, do you mean decrypting script by another
script, everytime it needs running? What free ones you are talking
about, beside not-free zend compiler? There are en(de)crypting functions
in php itself, i believe.
--
ReGards, i leonid

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] a good PHP editor

2001-07-21 Thread ~~~i LeoNid ~~

On Sat, 21 Jul 2001 06:35:06 +0900 impersonator of
[EMAIL PROTECTED] (Maxim Maletsky) planted I saw in
php.general:

Then why would you post this to the list instead of emailing me directly?

Then what? I don't see clause here:) I repeat for BEGINNERS: Plse,
don't top-post. I 'dn't respond to this one at all, was it not cc:-ed to
a pub group as well, as it feels too filthy to me, sorry. 

We all like to express ourselves, including you Lyonya, then do so to only

First of all are you talking of Lyona Bank here ^^?:) I have no
connection to nice French, my Russian-speaking friend:)

whom should read this - me (you have with me, right?)

I don't have _anything_ with you personaly, that i know of. (With your
kind - may be:). The response is of some public interest though.

I, honestly, apologize for starting this thread, but DO BLAME most of the
others who still keep it alive after few days as it's hot.
It is totally irrelevant for PHP programmers.

You over_apollo_gizing, my fr. Nice habit:) Is it actually a pub lic
announcement to shurUp, seniORE?:) And it _is_ relevant to programming
(including PHP) as it is about stealing software products.

P.S: the reason this goes CC'ed to the list is in fact to stop it.

This statement is not even funny:)

Yoroshiku onegaishimasu,

I admire you POLIglotIC (speaking many languages) talents. Though, it
would be nice, if you had included tran S fr. Japanese, for some of us -
ignorant in .jp:)

Maxim Maletsky

--
i Leonid

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] a good PHP editor

2001-07-20 Thread ~~~i LeoNid ~~

On Thu, 19 Jul 2001 05:51:29 +0900 impersonator of Maxim Maletsky
[EMAIL PROTECTED] planted I saw in mail.common:

yeah I do, not for doing it, but for giving this stupid topic to the list.
we should moderate ourselves, I think.

And we'd better begin with NOT top-posting for better consumption:). And
to bring or not to bring the topic up is up to you, as well as to later
apologize (to 'sin' and confess is much more appreciated habit in some
cultures, then to NOT do either; if you _consider_ it a 'sin' [which i
personally don't, concerning speach only]/or wrong done:)

as for whether to use crackers or not 

imagine the following:

would you say the exactly same words as you wrote down here to me if a
co-worker of yours would come by your desk telling you something about his
favorite way of obtaining, testing and eventually cracking the software?

you'd probably limit yourself by saying: well, I usually buy the software I
need and I know all these places to get it broke, but if you crack still...
just make sure our boss doesn't know ...

Well, if it would be put so point blank, as you did in this thread, i'd
respond the same way - i did. Otherwise, i could discuss and try to
convince and express my (the only right:) views more tactfully.

Overall you (Galilea:) psychologic test has no real value, as everything
is bugged in civilised societies, and your boss will know anyway (even
if you only _think_ about it:), and you may tell me, the co-worker: 

1. if you are stupid enough to not realize it,
2. for the freindship testing purpouse, wich is very disgusting,
3. as a provoker and in order to have a right to blame someone on
treason if mesures are taken by those bug utilisers.

You see all 3 points are bd for your:) But the worst, to my mind - is
not the #3, but #2 :)

guessed?

No, as you can see:)

we all kinda talk in here but that means nothing. (unless we're fixing the
codes for others - what mainly this list was created for)

Bag your pardon? All aND any communication is based on some code,
(linguistic, cultural/educational, professional, etc). And it is
(communication) misused specifically to break the code. Fresh example:

If php.general on USENET, on wich i followed the thread, is the same as
mailing list; it didn't deliver (there may be maintanance excuses, as
always:) this your post and  some other; and if i didn't receive cc: from
Alexandr. S. and you by e-mail (and AS response to your post came much
earlier, then your post itself:) i wouldn't know about it. I also haven't
found appropriate articles on WEB php.net archive, and even after
subscription to the li(A)st, didn't find a way to find/retrieve it yet, (2
days are enough, i think - even for unpatients - like myself:) 

So what the specific code fixture is this .general for?:) And speaches
s/t make use:)

most of us, we still crack, and search, and crack...
most of us...

Well, it is good, that you at least said most and not all, as many
public 'is real' speakers like to declare:) I 4 1 wouldn't speak for any,
but myself:) So i am not (always:) US.

-maxim maletsky




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 4:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] a good PHP editor


On Thu, 19 Jul 2001 04:52:14 +0900 impersonator of [EMAIL PROTECTED]
(Maxim Maletsky) planted I saw in php.general:

I do buy software when I respect it's quality, but just to try I usually
crack it first to see how it works.

Well. The word for this is stealing, and should be dealt as such..
Besides, shareware/demos allow you to try it anyway; and how could you
crack something else?:) besides obtaining it illegaly - and that's double
robbery.

There are lot of free (and good) software around. The things are just in
to be informed. And information - is often in different kind of Unions
possesion.. but (i think:) it should be mostly (although sometimes it is a
product too)
freely and easily publicly available. (speaking of general information in
general:)

Once again, I apologize to the list.

U do?:)

-maxim maletsky

i Leonid (not a Union member:) http://nux.home.dk3.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] a good PHP editor

2001-07-20 Thread ~~~i LeoNid ~~

On Thu, 19 Jul 2001 05:51:29 +0900 impersonator of Maxim Maletsky
[EMAIL PROTECTED] planted I saw in mail.common:

yeah I do, not for doing it, but for giving this stupid topic to the list.
we should moderate ourselves, I think.

And we'd better begin with NOT top-posting for better consumption:). And
to bring or not to bring the topic up is up to you, as well as to later
apologize (to 'sin' and confess is much more appreciated habit in some
cultures, then to NOT do either; if you _consider_ it a 'sin' [which i
personally don't, concerning speach only]/or wrong done:)

as for whether to use crackers or not 

imagine the following:

would you say the exactly same words as you wrote down here to me if a
co-worker of yours would come by your desk telling you something about his
favorite way of obtaining, testing and eventually cracking the software?

you'd probably limit yourself by saying: well, I usually buy the software I
need and I know all these places to get it broke, but if you crack still...
just make sure our boss doesn't know ...

Well, if it would be put so point blank, as you did in this thread, i'd
respond the same way - i did. Otherwise, i could discuss and try to
convince and express my (the only right:) views more tactfully.

Overall you (Galilea:) psychologic test has no real value, as everything
is bugged in civilised societies, and your boss will know anyway (even
if you only _think_ about it:), and you may tell me, the co-worker: 

1. if you are stupid enough to not realize it,
2. for the freindship testing purpouse, wich is very disgusting,
3. as a provoker and in order to have a right to blame someone on
treason if mesures are taken by those bug utilisers.

You see all 3 points are bd for your:) But the worst, to my mind - is
not the #3, but #2 :)

guessed?

No, as you can see:)

we all kinda talk in here but that means nothing. (unless we're fixing the
codes for others - what mainly this list was created for)

Bag your pardon? All aND any communication is based on some code,
(linguistic, cultural/educational, professional, etc). And it is
(communication) misused specifically to break the code. Fresh example:

If php.general on USENET, on wich i followed the thread, is the same as
mailing list; it didn't deliver (there may be maintanance excuses, as
always:) this your post and  some other; and if i didn't receive cc: from
Alexandr. S. and you by e-mail (and AS response to your post came much
earlier, then your post itself:) i wouldn't know about it. I also haven't
found appropriate articles on WEB php.net archive, and even after
subscription to the li(A)st, didn't find a way to find/retrieve it yet, (2
days are enough, i think - even for unpatients - like myself:) 

So what the specific code fixture is this .general for?:) And speaches
s/t make use:)

most of us, we still crack, and search, and crack...
most of us...

Well, it is good, that you at least said most and not all, as many
public 'is real' speakers like to declare:) I 4 1 wouldn't speak for any,
but myself:) So i am not (always:) US.

-maxim maletsky




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 4:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] a good PHP editor


On Thu, 19 Jul 2001 04:52:14 +0900 impersonator of [EMAIL PROTECTED]
(Maxim Maletsky) planted I saw in php.general:

I do buy software when I respect it's quality, but just to try I usually
crack it first to see how it works.

Well. The word for this is stealing, and should be dealt as such..
Besides, shareware/demos allow you to try it anyway; and how could you
crack something else?:) besides obtaining it illegaly - and that's double
robbery.

There are lot of free (and good) software around. The things are just in
to be informed. And information - is often in different kind of Unions
possesion.. but (i think:) it should be mostly (although sometimes it is a
product too)
freely and easily publicly available. (speaking of general information in
general:)

Once again, I apologize to the list.

U do?:)

-maxim maletsky

i Leonid (not a Union member:) http://nux.home.dk3.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] a good PHP editor

2001-07-19 Thread ~~~i LeoNid ~~

On Thu, 19 Jul 2001 00:21:47 -0700 impersonator of [EMAIL PROTECTED]
(Evan Nemerson) planted I saw in php.general:

You wouldn't happen to be ...abridging the freedom of speech..., would 
you???

No, not everyone knows about astalavista.box.sk. However, most of us do. Why? 
Because people told us about it. I don't know about you, but I don't spend my 
free time punching in random URI's.

The word for this is NOT stealing. You are encouraged to download the 
software by the manufacturer. All you are doing is modifying it. What? It's 
against the EULA??? Ah, but that is why people use software like the 
customizer...

I guess, since you kind of quoting me, you are trying to speak to i as
well, without compromizing yourself with direct reference:). So, are you
climing that by restricting free download officially (when it is not
stated as demo/shareware/free), some manufacturers actually hidenly invite
the opposite:) Well, some - may be - if they aRe cover for CIA or MOSSAD
sayanim:), or in some very back-door-ed/minded plces like IsReal:):

Don't steal [international {sic}:] pancake from our pan:)

If you put _right_ punctuation mark after Don't - you MAY actually treat
it as intvitation for steal:) But in any case the word hewre IS stealing
. What is this CastoMizer software, btw?

You don't need to be afraid of the police walking into your house and 
scanning your computer- if you are wise, as apparently not all of us are.

Cum on:) It is all DUN remotely. And is - prerogative of FBI and thier
counterparts in non US plces. (Are you a provoker fr. one of such nice
bodies, by chance?:) And crimes do not justify fight with them by unjust
means, breaking human rights. And Virtually evryThing can be faked,
evidences included.

I believe that quality software should be rewarded, and in this day and age 
monetary gain is the main motivation for most people, and therefore the most 
common reward. However, I believe that the people that ambushed Mr. Maletsky 
are far worse people than he, for they assaulted him for speaking up.

In no way this is true. FutherMore, i _don't_ believe that
self-confessions / pleas could be a main argument in process (contrary to
AM*an Just'ice system principles). Objective evidences - although - yes.
But only obtained by LEGAL means (wich do not includes appriory
considering most subjects - guilty until proven innocent, and using it as
a justification for buging/mind reading/etc:)

In this concrete topic, i think that Mr. Maletski didn't have only himself
in mind, and am confronting not him personally, but his statements.

Mr. Maletsky: Do not apologize to anyone for having the courage to speak up. 
Those who would smite all intellectual opposition shall only grow weak over 
time, while dragging the rest of humanity down with them. In order for us to 
grow as a species, we must work together.

With criminals?:) (don't have Mr MM in mind:) I won't.

I thought that was what open source was all about- working together to better 
humanity, not just ourselves. I still believe it is, but I believe that those 
who ambushed Mr. Maletsky are disgraces to this cause. You should be using 
ASP.

Open source is good when it is agreed upon by author/creator:) By
circumstances, i use mostly free software, myself: although am not
particularly interested in Source and hoping it 'll work as designed in
bin. Hovewer the using of free software doesn't place you under the moral
obligation to produce _only_ free (open source or not) software in
exchange; as this use is not a communal things, but descreet agreements
between you and evrey programm author, and not with a society at Large.

Regarding ASP, I started with PHP only because IT (and not an ASP) was
supported on the server, where my original site was. And then I liked it
for ability to having work DUN. The only (related to the topic) thing: I
would prefer, that PHP engine should be shipped by _default_ with standard
compiler (like ZEND or whatever) included, so that developing/distributing
compiled scripts would be easier.

-Evan Nemerson
  [EMAIL PROTECTED]

Why do people with closed minds
always open their mouths?

Just SharUp:) So who is against the FREE SPEACH?:), judge of closed
minds:)
--
LeoN to  e-mail: cut  auto_no. if present. 
(.±.)  ` to think - is to speak quietly,  to speak - is to think aloud`
 \~/ 
My posted articles archive: http://leo.portland.co.uk/doc00.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] a good PHP editor

2001-07-18 Thread ~~~i LeoNid ~~

On Thu, 19 Jul 2001 04:52:14 +0900 impersonator of [EMAIL PROTECTED]
(Maxim Maletsky) planted I saw in php.general:

I do buy software when I respect it's quality, but just to try I usually
crack it first to see how it works.

Well. The word for this is stealing, and should be dealt as such..
Besides, shareware/demos allow you to try it anyway; and how could you
crack something else?:) besides obtaining it illegaly - and that's double
robbery.

There are lot of free (and good) software around. The things are just in
to be informed. And information - is often in different kind of Unions
possesion.. but (i think:) it should be mostly (although sometimes it is a product too)
freely and easily publicly available. (speaking of general information in general:)

Once again, I apologize to the list.

U do?:)

-maxim maletsky

i Leonid (not a Union member:) http://nux.home.dk3.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: building a search engine ??

2001-07-12 Thread ~~~i LeoNid ~~

On Thu, 12 Jul 2001 14:26:33 +0200 impersonator of [EMAIL PROTECTED] (Void)
planted I saw in php.general:

I am thinking of building a search engine with the grep command for our
site.
i have my information in a mysql db,
but i am putting it back into text files.
reoson being is that maybe the mysql db goes down under hevy load,
and then our site would look like a tree with out branches.
So i put all the info in the text files.

now for the search engine i have a form that posts of the pattern.
on the page receiving this pattern as say $searchpattern
i do the command
grep --binary-files=without-match -lri $searchpattern $path

is this too resource intensive ?

How does this idea sound ?

Well you probably don't need too independent an engine. Only for *nix like
systems (require external - to php - program). I think it'll take more
resources for handling their connections, then avarage PHP only based
search. But you are not planing having static indexes instead, do you?
Will it be quick then?

My PHP search, for example takes ~2M RAM for everything and it does not
dependent on index files sizes (that it needs, but single index file size
could soon be able to be limited, with their combined size still -
intact). The script is not declared an open source (yet at least:).
--
LeoN to  e-mail: cut  auto_no. if present. 
(.±.)  ` to think - is to speak quietly,  to speak - is to think aloud`
My posted articles archive: http://nux.home.dk3.com/doc00.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Pricing Advice Needed

2001-06-29 Thread ~~~i LeoNid ~~

On 28 Jun 2001 02:08:20 -0700 impersonator of [EMAIL PROTECTED]
(elias) planted I saw in php.general:

It all depends on your experience and knowledge.
You know that if you're too experienced you can save lots of research and
learning time.
therefore you have to estimate how much does your hour cost and how much are
you able to do.
you can start by $20/hour...

You stared your post almost as i   think, but then degraded to
Unionistic's/Communistic (to my mind:) views. I think - only the end
product costs something (not a labor by itself) - therefore cost would
better be estimated for the whole needed to be done project (based on
market price). And you decide - whether you fit required deadlines, and
whither your performance is enough to support yourself on every concrete
project. At least this seem to be right for freelances.. I know, trade
unions will flame me for that:) But then again what are they have being
doing all the time (and not always _genital_:)

Alva Chew [EMAIL PROTECTED] wrote in message
9hejcu$3n6$[EMAIL PROTECTED]">news:9hejcu$3n6$[EMAIL PROTECTED]...
 Hi everyone,

 Just don't really know where to post this, so here goes:

 I am working as a freelance programmer. Problem is I don't really have a
 clue how the pricing mechanism in the industry works. I have heard
 calculations based on man hours and lines of code, so perhaps anyone one
can
 tell me on the average, how much should I be charging per man hour, or per
 line of code?

 Sincere thanks and regards,
 Alva Chew, Singapore



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



Leonid (not a member:)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: [PHP-DEV] Fork() in php?

2001-05-24 Thread ~~~i LeoNid ~~

On 20 May 2001 16:16:47 -0700 impersonator of [EMAIL PROTECTED] (Manuel
Lemos) planted I saw in php.general:

Weren't you the one that was saying that you opposed to the existence of a
PHP compiler?  Despite your opposition, Zeev and Andi brought it up to the
joy of many PHP users.

Hi. Is it (compiler) suppose to be supported on the server _in addition_
to normal php engine? anyway, for the user's (lonely wolf's:) prospective
- where is it - and how much?

Regards,
Manuel Lemos

Web Programming Components using PHP Classes.
Look at: 
--
i LeoNid

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: [PHP-DEV] Fork() in php? (äâà óäàðà - 8 äûðîê?)

2001-05-24 Thread ~~~i LeoNid ~~

On 21 May 2001 10:06:41 -0700 impersonator of [EMAIL PROTECTED] (Zeev Suraski)
planted I saw in php.general:

At 08:24 21/5/2001, Rasmus Lerdorf wrote:
You are assuming they even read this mailing list.

*ping* (in Tokyo, so it took me a while to catch up on my Email)

Zeev

Sorry for _an_ intrusion her. I just unsuccsefully pinged zend (on an
address supplied on the page) of wich the author is co-founder
co-developer, as i undustand:) So i publish my quest her. Hopefully it
will be seen by some, besides maintainers:) Is there hope to get answer
too? I hope.

I was checking on PHP en-coder (unfortunately, it only goes from 4.03:(so
i didn't go *further*, but wanted to test Zend Optimizer too. But

stoped at license item 8.2, and asked for an explanation, on witch i
received *demon* response (below) - sorry it got compacted, as i forgot to
close my copy/paste buffer compacter (and i am to lazy to copy it again:) 

Hope, you decipher:)

Sincerely, LeonId

AM i `disclosing´ by this?:)
d(a)emonadvice-
Hi. This is the qmail-send program at mail.zend.com. I'm afraid I wasn't
able to deliver your message to the following addresses. This is a
permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]:
--- Below this line is a copy of the message. Return-Path:
[EMAIL PROTECTED] Received: (qmail 6544 invoked by alias); 24 May 2001
14:37:03 - Delivered-To: [EMAIL PROTECTED] Received: (qmail
6541 invoked from network); 24 May 2001 14:37:02 - Received: from
unknown (HELO mckexch02.mckusa01) (38.201.8.162) by mail.zend.com with
SMTP; 24 May 2001 14:37:02 - Received: from cheerleo
(ip162-6.urbis.net.il [192.118.6.162]) by mckexch02.mckusa01 with SMTP
(Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id JHSZ36Z9;
Thu, 24 May 2001 09:57:17 -0400 Message-ID:
000101c0e456$21997780$a20676c0@cheerleo From: LeoNid [EMAIL PROTECTED]
To: [EMAIL PROTECTED] Subject: ÌÉÃÅÎÓ point 8.2 (on zend optimizer) Date:
Thu, 24 May 2001 17:33:30 +0400 X-Priority: 3 X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By
Microsoft MimeOLE V4.72.3612.1700 ShaLom, What is the meaning of an item
8.2 of your license for ZendOptimizer. What kind of confidential infor.,
you supply for suppose to be freely downloadable software? Ain't - points
- mentioning _no_ reverse engineering suffice? Inspite that I am
considering download for myself only, I won't even think of it with such
(funny unclear and absurd, unless proved otherwise:) restriction. Thank
you for an explanation. ShaLom i Leonid. ---that's what _i_ saw in a
license (if my MSG is delivered without alteration either:)- 8.2.
Non-Disclosure. Licensee shall not permit anyone other than its own most
trusted employees with a need to know to access or use the Licensor
Proprietary Information. Licensee shall not disclose the Licensor
Proprietary Information to any third party or use the Licensor Proprietary
Information other than as authorized hereunder. Furthermore, Licensee: (a)
recognizes that the unauthorized use or disclosure of Licensor Proprietary
Information will give rise to irreparable injury to Licensor or its
licensors for which monetary damages may be an inadequate remedy; and (b)
agrees that Licensor or its licensors may seek and obtain injunctive
relief against the breach or threatened breach of Licensee's obligations
under this Agreement, in addition to any other legal and equitable
remedies which may be available to Licensor.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Site search engine suggestion.

2001-05-23 Thread ~~~i LeoNid ~~

On 20 May 2001 09:54:53 -0700 impersonator of [EMAIL PROTECTED] (Manuel
Lemos) planted I saw in php.general:

Hello elias,

On 12-May-01 04:04:26, you wrote:

Hello guys,

I need that badly! I need a suggestion, advise, solution or whatever that
might help!

I need a Site Search script for a page that mostly have .PHP files some are
dynamic and some are not.
Basically i was using WebGlimpse but whenever I search using it, It shows
the source code of the PHP files!
So for example if i search echo , WebGlimpse displays the .PHP file source
code!

Actually, as I saw in a process of testing my by link indexer, some of
your pages have com`ments tags ?-- -- being dinamicaly created.
Thats interfere with your commenting of whole block of script. I doubt,
any (well, lets talk a opinions:) search engine is smart enough to process
such source, without being a script interpreters themself. (I don't use
_by the book_ definition of comments, as it it is practicaly not followed
by most, but your case wouldn't fit any definition) Well, since browsers
switch to script interpreter mode its begining, it'll not mix up here..

Any suggestion for a better site search program?

What I would suggest is to break your comments at the statements, creating
comments, so that these statements are non-commented, and, for search
engines, allowing that (like mine:) - exclude the mentioned statements
words from indexing.

Regards, Leonid.

PS. BTW, I run through to create you full index (with a source:( Because
there were no exclusion, it(indexer) diged a lot of unnesesary work, for
relatively small indexes. (Have to enFast my algoritm:). In case you
change your mind reg. search, I 'll keep the produced files for some days.
(And it[I] does use mySql, nor intend to [for a time being] atleast:)
Security? Are there full`y trusted maintainers?:)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Site search engine suggestion.

2001-05-23 Thread ~~~i LeoNid ~~

On 20 May 2001 10:17:29 -0700 impersonator of [EMAIL PROTECTED] (Alok K.
Dhir) planted I saw in php.general:

The best open source search engines I've seen/used are:

   ASPSeek http://www.aspseek.org
   Mnogoseach  http://mnogosearch.org/
   ht://dighttp://www.htdig.org

I've found that I prefer ASPseek to both mnogo and htdig...

Interesting tool, according to their description, especialy, in regard to
indexing abilities and ideas. (Although, I couldn't find description in
detiles, unlike Mnogo, which explains stuff). And some stuff there
(searching part) is  inferior to mine - although, of course - mine is not
nearly as universal, and will no became such in the nearest futer, nor
will it support databases. But for local-site-oriented indexes - the
simplicity with out too much extras could be a plus. (And outside indexing
is being developed also) It can produce data for searches right now as
well (by_links and as a test). If someone is interested the url is:
http://leo.portland.co.uk/outsource.shtml  LeoNid.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Reversing htmlspecialchars()

2001-05-20 Thread ~~~i LeoNid ~~

On 19 May 2001 15:27:31 -0700 impersonator of [EMAIL PROTECTED]
(=?iso-8859-1?Q?Rudi_Benkovi=E8?=) planted I saw in php.general:

   function un_htmlentities($str) {
   $trans = get_html_translation_table (HTML_ENTITIES);
   $trans = array_flip ($trans);

or for earlier php versions, that do not support array_flip()

$trans=get_html_translation_table(HTML_ENTITIES);
reset($trans); 
while(list($key,$value)=each($trans)){
  $transs[$value]=$key;
}
$trans = $transs;

   $str = strtr ($str, $trans);
   
   return ($str);
   }

 -Original Message-
 From: Jeroen Geusebroek [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, May 19, 2001 11:46 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Reversing htmlspecialchars()
 
 
 Hi There,
 
 How can i reverse the htmlspecialchars() functions?
 I can't seem to find a function for that.
 
 Thanks,
 
 Jeroen Geusebroek
 
 -- 
 PHP General 

^^^
--
LeoN to  e-mail: cut  auto_no. if present. 
(.±.)  ` to think - is to speak quietly,  to speak - is to think aloud`
 \~/ 
My posted articles archive: http://leo.portland.co.uk/doc00.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Site search engine suggestion.

2001-05-12 Thread ~~~i LeoNid ~~

On 12 May 2001 00:04:26 -0700 impersonator of [EMAIL PROTECTED]
(elias) planted I saw in php.general:

Hello guys,I need that badly! 

Hello. 

If you wouldn't mind disclosing your site address, and the server will
allow it, I may try my php-indexer-by-links. And we will see if it'll
work. No garantee, of course, (and i didn't index .php for myself) and no
deadline promised, (4 now atleast) but if works, it could be to our mutual
benefit (testing 4 me; and index+ searcher script .php 2 you). And you
won't loose anything beside innocence (who needs it for this case:) of you
hidden site-address. 

See, how searcher works at http://leo.portland.co.uk/srch/srch.php

Leon id.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Apache+PHP(as apache module)+SSL under Windows

2001-04-29 Thread ~~~i LeoNid ~~

On 29 Apr 2001 05:54:17 -0700 impersonator of [EMAIL PROTECTED] (Daniel
BI) planted I saw in php.general:

Hi there!

Anybody knows if possible to have
PHP as an Apache module under Windows, with
SSL enabled, too?

Is there an 'openSSL' lib for Windows?

thanx,
Daniel BI

see, if you can find something here.  ___| | |
|  _ \| |
 / __| | | | |_) | |
| (__| |_| |  _ | |___ 
 \___|\___/|_| \_\_|

ways try the Curl web site for the latest news:

http://curl.haxx.se

  The official download mirror sites are:

Sweden-- ftp://ftp.sunet.se/pub/www/utilities/curl/
Germany   -- ftp://ftp.fu-berlin.de/pub/unix/network/curl/
Leonid

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] ereg_replace: Replacing only first occurrence

2001-04-23 Thread ~~~i LeoNid ~~

On 23 Apr 2001 13:04:36 -0700 impersonator of
[EMAIL PROTECTED] (Erica Douglass) planted I saw in
php.general:

I want to only replace the first occurrence of a string in a file using
ereg_replace. Should I use a loop to do this? Any suggestions? Please email
me at [EMAIL PROTECTED] with suggestions.

Thanks,
Erica

I think, begining from some php 4, preg_replace allows to do this,
Otherwise, you could use preg_match to find first match then strpos() to
find it position, and, finaly substr() with concatenation to your
replacement. This loong way was the first, that came to my mind for cases,
where regexp realy needed. (If they are not needed, str_replace() would
work faster/simlier, you know o'cos:). 

Note: for some strings I experience hangup, especially  w/ereg_replace,
but also, for long ones, w/preg0. Regards. Leonid.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Site Searchable function

2001-04-21 Thread ~~~i LeoNid ~~

On 20 Apr 2001 10:00:32 -0700 impersonator of [EMAIL PROTECTED]
("Matthew Luchak") planted I saw in php.general:


check php.ini file for "allow fopen" I think.
=20
Matthew Luchak=20
Webmaster
Kaydara Inc.=20
[EMAIL PROTECTED]

Thanks,

I don't know if you are right here, or not. (I personaly, don't think it
is PHP configuration related, but rather something to do with me already
running php script on this server, which wants to open extra on the same
location.. and server settings.. and me not experienced enough with this
specific http:// fopen use:)

Anyway, I have no control over configuration files there. (I heard, they don't allow 
external sockets connections. But this one is for the same, supposedly, domain, 
although with http://)
Any other suggestions or ways to go around?

 Warning:  fopen("http://my.domain/file_name.htm","r") - A socket must
be
already connected. in ...etc on line 304=20

where it worked ok with 'filesystem open' (On my home window localhost,
it
worked though).  Suggestions, how to go around this problem?

Leon id.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] reading microsoft word, excel, pdf document text

2001-03-27 Thread ~~~i LeoNid ~~

On 25 Mar 2001 20:25:47 -0800 impersonator of
[EMAIL PROTECTED] (David Robley) planted I saw in
php.general:

On Mon, 26 Mar 2001 13:20, Erick Papadakis wrote:
 hi david,

 thanks for the note. ok, here is what i want to do. i
 want my users to upload WORD, XLS, PPT and PDF files.
 when they upload, i store these files in the temp
 directory, grab the text from them, and then put it
 into my database for later searching. i dont care
 about the formatting, i only care about the text
 because i need the keywords later for searching.

 can i run some sort of a parser on the server side
 like the wvware.com's word parser and just call it
 through php? i have not been able to figure out how to
 do this using php.

 i would really appreciate any ideas and suggestions!

 thanks/erick

OK - do you have the relevant parsers? There are specific (Unix) tools 
available for PDF (pdftotext or acrobat reader) and Word; I mentioned 
some of that in an earlier mail. For Excel you could probably use (Unix 
again) just the Unix command strings to get the text - same might work 
for Powerpoint but if some dipstick has created a graphics-only 
presentation you won't get much that's useful.

As I mentioned previously, you'll probably want to run the parser[s] from 
PHP using one of the Program execution functions; exec, system or the 
backtick operator should do what you want. How you capture the output 
will of course depend on how the output is delivered - see the docs for 
the particular parser.

None of the above is probably relevant if your server is Windows.

Excuse me for entering, but I just successfully run pdftotext (the latest
binary) from php exec() on my personal Windows95. The only inconvinience
is that the capture of output, looks like, is not designed for this tool.
Have to put up with output in the file:-(

Regards,
--
LeoN to  e-mail: cut  "auto_no." if present. 
(.±.)  ` to think - is to speak quietly,  to speak - is to think aloud`
 \~/ 
My posted articles archive: http://leo.portland.co.uk/doc00.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]