Hi wirsi,
i used this in the messages_controller.php:
$document= array('1', '/2007/01/01/filename.pdf', 'example');
foreach ($document as $i => $value) {
$document[$i] = str_replace("/", "_SLASH_", $value);
}
$serialized= serialize($document);
$this->requestAction('documents/test/'.$serialized);
And this in the documents_controller.php:
function test($document)
{
$document= unserialize($document);
foreach ($document as $i => $value) {
$document[$i] = str_replace("_SLASH_","/", $value);
}
Thanks
Klaus Schwarzkopf
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---