RE: [PHP] bug in echo function?

2002-01-18 Thread Billy Harvey
On Fri, 2002-01-18 at 13:54, Darren Gamble wrote: > Good day, > > The reason that the first statement doesn't work as intended is due to the > order that the operands are processed. > > The operands in the line: > > "" . ($i*8)+$j . "" > > are being processed like this: > > ("" . ($i*8))+($j

[PHP] bug in echo function?

2002-01-18 Thread Billy Harvey
I ran across a curious bug in the echo function this morning. My PHP is Debian binary 4.1.1-1. The first example below does not work (it should draw a checkerboard-like table): - Chess "; for ($j=0 ; $j<8 ; $j++) { echo "" . ($i*8)+$j . ""; } echo "\n"; } ?> - Howev

[PHP] Re: PHP Security - "view source code"

2002-01-16 Thread Billy Harvey
> > (1) avoid using .inc files; use .php files like for normal script > > No, it is safer to block access to .inc files with an httpd.conf rule. The way I approach this, besides blocking execution, is to put any sensitive files in a directory above the Document Root for the virtual domain. PHP

Re: [PHP] Re: setcookie()

2002-01-06 Thread Billy Harvey
On Sun, 2002-01-06 at 16:01, Tyler Longren wrote: > I have checked the manual. A few times actually. > > I have setcookie("usename", "$username"); > Will that cookie never expire? Or will it expire at the end of the browsing > session? I couldn't find any details on that in the manual. > > Ty

Re: [PHP] crack lib

2001-12-27 Thread Billy Harvey
On Thu, 2001-12-27 at 19:12, Dennis Gearon wrote: > If the crack lib functions are for cracking passwords or other non > commerce/offensive/hacker efforts, I strongly object to their inclusion in the > functions of PHP. The PHP/Apache community does not need to give the > gates/microsoft/.net comm

Re: [PHP] Re: Mommy, is it true that...?

2001-12-20 Thread Billy Harvey
> Freshmeat.net is a very popular database of linux software and includes a > wide variety of PHP scripts. My point was that if you downloaded an > insecure script from such a popular site then you are asking for trouble > because chances are thousands of would-be hackers have ALSO downloaded

Re: [PHP] Logo proposal - first thought

2001-12-14 Thread Billy Harvey
> "Dan McCullough" <[EMAIL PROTECTED]> wrote >> http://www.heathermccullough.com/php_logo.gif Julio Nobrega Trabalhando wrote: > I don't know, usually when something common can be found on a design > there's a little mod added. Perhaps the addition of a small red stinger would that extra visu

RE: [PHP] Logo proposal

2001-12-12 Thread Billy Harvey
> Yeah, but don't Orcas eat penguins? > > Chris Orcas eat *everything*! Billy -- 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] Logo proposal

2001-12-12 Thread Billy Harvey
On Wed, 2001-12-12 at 08:11, Armin Hartinger wrote: > Personally, I think it should be something f-based ... the f will then > be replaced with the "ph" ... e.g. Phish etc... > > Also I think it should be something maritime ... > Penguin, Dolphin > > After all, Linux, PHP & MySQL is the killer-c

[PHP] Re: please don't flame : it's an editor-question

2001-12-06 Thread Billy Harvey
>>> then i just have to type '$fo' and the editor shows me all valiables >>> that start with '$fo' >>> Sebastian >> On linux - I, too would like to know, mabe emacs?. >> Roko > http://www.itworks.demon.co.uk/phpeditors.htm > attila strauss At http://sourceforge.net/projects/php-mode/ is a php-

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-17 Thread Billy Harvey
> 1. I am not making a JavaScript version at all I don't see where I ever say > this. ??? > > 2. If I copy the html outputted to the browser and past it into an html file > it loads good. When I say I suspect this to be something wrong with PHP I > mean that Netscape doesn't play good

Re: [PHP] Uptime script?

2001-05-16 Thread Billy Harvey
> also sprach Ron Pitts (on Wed, 16 May 2001 10:18:06PM -0400): > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > This does not work. This list is like the mafia: Once in, never out. > > That sucks. The list managers are morons. > > will you chill please? of course it works. you are at f

Re: [PHP] statistical functions

2001-05-13 Thread Billy Harvey
> On Sun, May 13, 2001 at 08:55:20PM +0300, Adi Ionescu wrote: > > Can someone please help me find the normal distribution function! > > I dont know of statistical functions within PHP. But I have asked on the > developers list to make a interface to R. That is a language much more > better

Re: [PHP] OT question..

2001-05-08 Thread Billy Harvey
> So let stop this thread, I have a very good lawyer. You can speak with him > at the LinuxDays at Stuttgart, Germany. > > -Egon <[EMAIL PROTECTED]> Just who the hell are you threatening to sue and what for Egon - everyone who reads the PHP list and doesn't feel offended by what you do? Is

RE: [PHP] Netscape problems with PHP

2001-03-06 Thread Billy Harvey
$PHP_SELF is set by the web server - not the browser. Problems in Netscape are almost always caused by incomplete syntax in the HTML code you've output. Netscape is more strict about this than IE. Billy > Robert, can you (or anyone else) describe further the problem with Netscape > and $PHP_

Re: [PHP] deleting cart items on session expire

2001-02-15 Thread Billy Harvey
> Just as an aside, there's no reason I can think of that you can't run both > the Apache module and standalone binary on the same system side by side - > I've been doing this for about 2 years without trouble. > > jason However, there's no necessity to have the cgi version if you already have th