Hello,
I have a form input of type 'file' to choose a file
<?php echo $form->input('sourcedir', array('div' => false, 'label' => false,
'class' => 'text', 'type' => 'file')); ?>
Is it possible to select a directory instead of file?. If not how can I get the
full filepath..
i checked the $this->data['User']['sourcedir'].. there is no filepath in that
array only name is there..
how do i get the full filepath?..
Thanks,
Bharani
> Date: Tue, 16 Jun 2009 05:27:31 -0700
> Subject: Re:
> From: [email protected]
> To: [email protected]
>
>
> This? As in $this->recfunction...
>
>
>
> On Jun 16, 1:56 pm, lakers fan <[email protected]> wrote:
> > Hello,
> >
> > I want to write a recursive function in my users controller which will
> > be called from the url.
> >
> > http://localhost/cake/users/recfunction/param1/param2
> >
> > This recfunction will call itself if needed..
> >
> > function recfunction(param1, param2)
> >
> > {
> >
> > if(condition == true)
> >
> > {
> >
> > recfunction(param1, param2); //get error in this line recfunction
> > not defined.
> >
> > }
> >
> > }
> >
> > any ideas?
> >
> > Thanks,
> >
> > Bharani
> >
> > _________________________________________________________________
> > Lauren found her dream laptop. Find the PC that’s right for
> > you.http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
> >
_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---