Re: [PHP] Security of PHP code

2001-07-04 Thread Tiger Quimpo
hello all, i just recently looked at this thread, so i don't know what's been discussed before today. i thought i'd point everyone at: http://lwn.net/2001/0704/a/study-in-scarlet.php3 however. just came out yesterday. very relevant. tiger -- Gerald Timothy Quimpo [EMAIL PR

Re: [PHP] Is there a better way to do this

2001-05-16 Thread Tiger Quimpo
On Thu, 17 May 2001, Christopher Heschong wrote: > on 5/16/01 5:10 PM, Richard Kurth at [EMAIL PROTECTED] wrote: > > [snip] > > if(file_exists("userdata")) { > > end; > > } elseif(file_exists("userdata1")) { > > copy('userdata1','userdata') ; > > system("rm userdata1"); > > end; > > } else { > >

[PHP] PHP Code Obfuscator?

2001-02-16 Thread Tiger Quimpo
On Fri, 16 Feb 2001, Joe Sheble aka Wizaerd wrote: > Is there anything that evaluates PHP code and checks for optimization? Not > like the Zend Optimizer, but one that checks for things such as variables > that were defined but never used, repeated variables, unnecessary > statements or constr

Re: [PHP] version'ng problem with php4 and apache 1.3.17 ...

2001-02-09 Thread Tiger Quimpo
On Fri, 09 Feb 2001, The Hermit Hacker wrote: >I've gotten into a habit of upgrading my apache > with a simple 'make install-program', but, of course, php needs 'make > install-include' to happen as well ... thanks for pointing that out. i've not had showstoppers with make install-program yet.

Re: [PHP] week of example code

2001-01-09 Thread Tiger Quimpo
On Tue, 09 Jan 2001, jeremy brand wrote: > why not this? > > $year = date('Y'); > $month = date('m'); > $day = (int)date('d'); > > if ($day >= 1 && $day < 8) > $week = 1; > else if ($day >= 8 && $day < 15) > $week = 2; > else if ($day >= 15 && $day < 22) > $week = 3; > else if ($day >= 22