"test1");
$Cls->addFruit("test2");
$Cls->addFruit("test3");
$Cls->addFruit("test4");
$Cls->addFruit("test5");
$Cls->addFruit("test6");
$Cls->makeAllApples();
$Cls->showAllFruits();
?>
"Andrew Peterson&qu
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 class
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 mkdi
3 matches
Mail list logo