Re: [PHP] Configure PHP

2005-03-15 Thread Dirk Kredler
Hi, in case you installed php4 from the SuSE-CD or -DVD: just install via yast2 (or your favourite rpm install tool) the php4 extension module called "php4-session" (its a rpm-package). The package should come with your SusE-CD or -DVD. In case you didnt installed php4 from SuSE, you must reco

Re: [PHP] Data Enryption

2005-01-12 Thread Dirk Kredler
Am Mittwoch, 12. Januar 2005 11:13 schrieb Shaun: > Hi, > > I have site that allows users to upload private information to our server. > We would like to encrypt the data for security reasons and only allow > certain users to be able to un-encrypt the data and view it. I have looked > at the PHP en

Re: [PHP] PHP Unit Tests - which framework to use?

2005-01-07 Thread Dirk Kredler
Am Freitag, 7. Januar 2005 09:49 schrieb dAniel hAhler: > I'm looking for a PHP Unit Test framework and found so far: > SimpleTest: https://sourceforge.net/projects/simpletest/ > PEAR PHPUnit: > - http://pear.php.net/package/PHPUnit > - http://pear.php.net/package/PHPUnit2 > Sourceforge PHPU

Re: [PHP] Efficency in looping arrays?

2004-11-17 Thread Dirk Kredler
ot;feivel", 'peter' => "lauri"); $values= array_values($arr); for($i= 0, $size= sizeof($values); $i < $size; $i++) { echo $values[$i]; } should work :) > "Dirk Kredler" <[EMAIL PROTECTED]> skrev i meddelandet > news:[EMAIL PROTECTED] > >

Re: [PHP] Efficency in looping arrays?

2004-11-17 Thread Dirk Kredler
hey :) i use for this reason: for($i= 0, $size= sizeof($arr); $i < $size; $i++) { echo $arr[$i]; } Peter Lauri: > Best groupmember, > > For the moment when I loop an array I use something like this: > > reset($arr); > while($a=each($arr)) { > echo $a['value']; > } > > But the each() functi

Re: [PHP] Php 4 and Php 5 on same box

2004-10-28 Thread Dirk Kredler
The solution depends on the Webserver you are using, i think for Apache2.x there should be no big problem at all to use php4 and php5 concurrently - just search the web. For Apache1.3.x you can look here: http://www.schlitt.info/applications/blog/archives/83_How_to_run_PHP4_and_PHP_5_prallel.html

Re: [PHP] Protecting Commercial PHP Scripts

2004-10-26 Thread Dirk Kredler
I found this one very usefull: http://shiflett.org/php-security.pdf You should anyway start at: http://php.net/security/ good luck, Dirk Am Dienstag, 26. Oktober 2004 13:44 schrieb Nick Wilson: > Hello all, > > I was wondering if anyone might have suggestions or useful links on > protecting com

Re: [PHP] PHP5 Tutorials...?

2004-10-25 Thread Dirk Kredler
Here: http://www.zend.com/php5/ Am Sonntag, 24. Oktober 2004 21:01 schrieb Michael Lauzon: > Where can I find detailed PHP5 tutorials, but written for the > beginner...they must be online tutorials as I cannot afford any > computer books at the moment?! > > -- > Michael Lauzon > http://phantasyr

Re: [PHP] variable sized arrays & global vars - another newbie question

2003-07-15 Thread Dirk Kredler
Am Dienstag, 15. Juli 2003 14:39 schrieb bob pilly: > Can i declare an array that doesnt have a fixed size? Basically i want to > assign the results of a query to the array but obviously the query results > can change. Something along the lines of: $myarray= array(); > while($temp=mssql_fetch_arr