Re: [PHP] Re: Help with OOPHP (SOLVED)

2007-11-01 Thread Andrew Peterson
-addFruit(test6); $Cls-makeAllApples(); $Cls-showAllFruits(); ? Andrew Peterson [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I'm hoping you guys can help me out. I'm not sure if you can do this, but i'm trying to create a class that is build of another class. I also want

[PHP] Help with OOPHP

2007-10-31 Thread Andrew Peterson
I'm hoping you guys can help me out. I'm not sure if you can do this, but i'm trying to create a class that is build of another class. I also want to be able to do functions on the class1 from within class2. example: class fruitBasket{ private $fuit = array(); //this is a

[PHP] Security Question

2007-10-17 Thread Andrew Peterson
Does anyone know a good way to protect a directory that a php script NEEDS to write too? What I'm doing now: 1. create a directory manually myDir 2. chmod 777 myDir 3. password protect the directory with htaccess Is this the best way, or is there something better? Also, is there a way to mkdir