Gollem

View: New views
2 Messages — Rating Filter:   Alert me  

Gollem

by Jacques Beaudoin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I would like to put the following codes of backends.php in a function.

$backends['test'] = array(
     'name' => 'test',
     'driver' => 'ftp',
     'preferred' => '',
     'hordeauth' => true,
     'params' => array(
     'hostspec' => '10.220.12.167',
     'port' => 21,
     'pasv' => false,
     'timeout' => 90,
     ),
     'loginparams' => array(),
     'permissions' => '',
     'quota' => false,
     'clipboard' => true,
     'attributes' => array('name', 'download', 'modified', 'size')
);


tried different coding but can't get it to work

Does anybody have a sugestion

Thanks

Jacques



----------------------------------------------------
Ce message a été acheminé par le Webmail de la CSPI.


--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...

Re: Gollem

by Michael M Slusarz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Jacques Beaudoin <jacques-beaudoin@...>:

> Hi,
>
> I would like to put the following codes of backends.php in a function.
>
> $backends['test'] = array(
>     'name' => 'test',
>     'driver' => 'ftp',
>     'preferred' => '',
>     'hordeauth' => true,
>     'params' => array(
>     'hostspec' => '10.220.12.167',
>     'port' => 21,
>     'pasv' => false,
>     'timeout' => 90,
>     ),
>     'loginparams' => array(),
>     'permissions' => '',
>     'quota' => false,
>     'clipboard' => true,
>     'attributes' => array('name', 'download', 'modified', 'size')
> );
>
>
> tried different coding but can't get it to work

I don't understand completely.  What needs to be put into a function,  
how/where are you calling the function, and what does the function  
need to return?

michael

--
___________________________________
Michael Slusarz [slusarz@...]


--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@...
LightInTheBox - Buy quality products at wholesale price!