Re: SWFUpload and CakePHP 1.2

2008-04-21 Thread stefanski

 On Thu, Mar 6, 2008 at 6:11 AM, keerthi [EMAIL PROTECTED] wrote:


 Does nobody know how to use a search engine any more?  C'mon people,
 do some research before asking.  Or at least lie and say that you did.

 I found this in under 5 seconds using Google and the phrase 'swfupload
 cakephp 1.2'

 http://www.pagebakers.nl/2006/12/19/swfupload-part-ii/


Hmmm, the link given above by Chris looks like cake1.1 - all I can
find (I serached for 3 minutes at least!) was about cake 1.2 and the
session problem whith swfupload. If anybody would post the migrated
version of the swfupload component - would be great.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFUpload and CakePHP 1.2

2008-04-21 Thread Sam Sherlock
This is the one that done it for me

http://blogs.bigfish.tv/adam/2008/04/01/cakephp-12-sessions-and-swfupload/

also using the flash 9 version of swfupload helped and the latest swfupload
2.1 (i think)

after using adams tutorial I was uploading multiple image and automatically
creating thumbs (not yet got the thumbs to display on creation via ajax)

hth -S

On 22/04/2008, stefanski [EMAIL PROTECTED] wrote:


  On Thu, Mar 6, 2008 at 6:11 AM, keerthi [EMAIL PROTECTED] wrote:
 

  Does nobody know how to use a search engine any more?  C'mon people,
  do some research before asking.  Or at least lie and say that you did.
 
  I found this in under 5 seconds using Google and the phrase 'swfupload
  cakephp 1.2'
 
  http://www.pagebakers.nl/2006/12/19/swfupload-part-ii/
 


 Hmmm, the link given above by Chris looks like cake1.1 - all I can
 find (I serached for 3 minutes at least!) was about cake 1.2 and the
 session problem whith swfupload. If anybody would post the migrated
 version of the swfupload component - would be great.


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFUpload and CakePHP1.2 session

2008-03-10 Thread Chris Hartjes

On Mon, Mar 10, 2008 at 8:24 AM, gurde [EMAIL PROTECTED] wrote:
  Now the problem is that the CMS can be accessed only by logged in
  users, these details are saved into session. After logging in into the
  CMS and trying to upload the files with flash (SWFUpload), the files
  are not uploaded. Why? Because the browser and the flash don't share
  the same session. What I did is sent the session id and name as params
  with the flash and then in app_controller beforeFilter method I
  checked if was submitted with flash then started the session with the
  submitted id and name.

In APP/config/core.php look for a line with this in it:

Configure::write('Session.checkAgent', true);

Change the true to false and see if that fixes it for you.

Hope that helps.

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFUpload and CakePHP 1.2

2008-03-06 Thread Chris Hartjes

On Thu, Mar 6, 2008 at 6:11 AM, keerthi [EMAIL PROTECTED] wrote:

  Please help me to find out some step-wise guide to implement SWFUpload
  with CakePHP 1.2.

  The bakery tutorial 
 http://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-uploader
  did not work for me.

  I'm struggling with this for few days but still not successful.

  Please mention even if is any alternative for this. Thanks

Does nobody know how to use a search engine any more?  C'mon people,
do some research before asking.  Or at least lie and say that you did.

I found this in under 5 seconds using Google and the phrase 'swfupload
cakephp 1.2'

http://www.pagebakers.nl/2006/12/19/swfupload-part-ii/

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: swfupload cakephp 302 error

2008-01-17 Thread booboobenny

Yeah the upload is working except that i get a 302 error. So the file
is uploaded ok, copied to the right folder and the correct info I need
is stored in my db.



On Jan 14, 6:43 pm, rloaderro [EMAIL PROTECTED] wrote:
 On Jan 14, 3:00 pm, booboobenny [EMAIL PROTECTED] wrote:

 swfuploaddoes not need ajax,  its pure flash. The flash movie does a
  post submission there is no page reload.

 Sorry - I was interpretting your usage of AJAX to mean being able to
 submit the form without using Javascript.SWFUpload/SWiff are not
 technically AJAX because there is no XML - but good luck using them
 without Asynchronous Javascript ;)

  The flash movie is getting back a 302 from apache, in the log i see:

  POST /foo/upload/ HTTP/1.1 302 673 - Adobe Flash Player 9

  Note the actual URL of the page is /foo/edit/56/56

  Its very strange that I can set the header manually on local machine
  but not on mediatemple. They do have a funky way of running php5.

 So if I understand you correctly the form is working - the file is
 being uploaded correctly and appears on the server, etc.. the only
 problem is the server is returning a 302 instead of a 200?

 Or.. it's not actually working?

 BTW - did you see this entry:http://swfupload.org/forum/generaldiscussion/157
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: swfupload cakephp 302 error

2008-01-15 Thread Buckel

I also implemented swfupload and had problems with the session being
lost. Instead of hacking the cake core I went ahead and included a
unique hashed key with the post. After it was posted, the site would
check the key. If it was valid it would let it go through.

For instance, in the swfupload javascript you could do something like
this:

upload_url: /foo/edit/56/56/?=sha1('putYourUniqueSeedHere')?

Then in your edit method:

function edit($param1, $param2, $key)
{
if ($key == sha1('putYourUniqueSeedHere'))
{
//upload file
}
}

I'm sure there are better ways to do this, but I just didn't want to
change the cakephp core.

On Jan 14, 5:56 pm, Adam Royle [EMAIL PROTECTED] wrote:
 I had issues with implementing SwfUpload, and it was due to cake's
 security handling of sessions. This was because the swf was sending a
 different user agent and cake detected this as session hijacking.

 I might assume that this is happening to you and the redirect (302)
 error you're having is due to cake not recognising some session
 variable (because it's using a new session) and then redirecting to a
 login form?

 My solution was to hack the cake core, but I think they have since
 changed the core so you can easily disable this code in your
 beforeFilter().

 This should work - but it's untested so let me know if it does.

 function beforeFilter(){
 Configure::write('Session.checkAgent', false);

 }

 Hope that helps.

 Cheers,
 Adam

 On Jan 15, 7:00 am, booboobenny [EMAIL PROTECTED] wrote:

  swfupload does not need ajax,  its pure flash. The flash movie does a
  post submission there is no page reload.

  The flash movie is getting back a 302 from apache, in the log i see:

  POST /foo/upload/ HTTP/1.1 302 673 - Adobe Flash Player 9

  Note the actual URL of the page is /foo/edit/56/56

  Its very strange that I can set the header manually on local machine
  but not on mediatemple. They do have a funky way of running php5.

  Well if i figure this out Ill post, this would seem to be a common
  occurance with this.

  On Jan 14, 1:21 pm, rloaderro [EMAIL PROTECTED] wrote:

   On Jan 14, 8:47 am, booboobenny [EMAIL PROTECTED] wrote:

I am hoping someone here can help me out with this one.

I am using swfupload and cake, I implemented using the articles on the
bakery as a starting point.

I have a controller /foo and in that controller I have a method
upload. So the upload url is:

/foo/upload

When the form submits I get a 302 error. Does anyone know a way to
submit the form (i would prefer to avoid ajax) to /foo/upload and not
get a 302 error.

   I think the SwfUpload is meant specifically for use with AJAX. The
   problem with AJAX and file uploads is that you normally need to submit
   the form in order to send file data to the server. Since the page
   reloads with a form submit the only previous solution was to submit
   the form to a hidden iframe and parse the server response when the
   iframe loads. Flash is actually a great interface for uploading files
   since it doesn't require a form submit and can even provide feedback
   in so far as upload progress, etc.. I don't think using SwfUpload
   without AJAX would provide any benefits over using a conventional form
   file input - if it even is possible.

   Anyway, I implemented a similar thing using Mootools and
   Swiff.Uploader and I can tell you that using the controller-log
   function is invaluable for debugging. My implementation is a little
   different than the one on the bakery, but if it helps, my controller
   looks like:

  http://pastebin.com/f457cfcf

   And the component looks like:

  http://pastebin.com/f2a167234

   You might notice my implementation is for single files only - however
   I have tested it on a number of server setups - with PHP in safemode,
   root-jailing, etc.. - and it has worked for me so it might be useful
   for you? Good luck!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: swfupload cakephp 302 error

2008-01-14 Thread rloaderro



On Jan 14, 8:47 am, booboobenny [EMAIL PROTECTED] wrote:
 I am hoping someone here can help me out with this one.

 I am using swfupload and cake, I implemented using the articles on the
 bakery as a starting point.

 I have a controller /foo and in that controller I have a method
 upload. So the upload url is:

 /foo/upload

 When the form submits I get a 302 error. Does anyone know a way to
 submit the form (i would prefer to avoid ajax) to /foo/upload and not
 get a 302 error.

I think the SwfUpload is meant specifically for use with AJAX. The
problem with AJAX and file uploads is that you normally need to submit
the form in order to send file data to the server. Since the page
reloads with a form submit the only previous solution was to submit
the form to a hidden iframe and parse the server response when the
iframe loads. Flash is actually a great interface for uploading files
since it doesn't require a form submit and can even provide feedback
in so far as upload progress, etc.. I don't think using SwfUpload
without AJAX would provide any benefits over using a conventional form
file input - if it even is possible.

Anyway, I implemented a similar thing using Mootools and
Swiff.Uploader and I can tell you that using the controller-log
function is invaluable for debugging. My implementation is a little
different than the one on the bakery, but if it helps, my controller
looks like:

http://pastebin.com/f457cfcf

And the component looks like:

http://pastebin.com/f2a167234

You might notice my implementation is for single files only - however
I have tested it on a number of server setups - with PHP in safemode,
root-jailing, etc.. - and it has worked for me so it might be useful
for you? Good luck!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: swfupload cakephp 302 error

2008-01-14 Thread booboobenny

swfupload does not need ajax,  its pure flash. The flash movie does a
post submission there is no page reload.

The flash movie is getting back a 302 from apache, in the log i see:

POST /foo/upload/ HTTP/1.1 302 673 - Adobe Flash Player 9

Note the actual URL of the page is /foo/edit/56/56

Its very strange that I can set the header manually on local machine
but not on mediatemple. They do have a funky way of running php5.

Well if i figure this out Ill post, this would seem to be a common
occurance with this.

On Jan 14, 1:21 pm, rloaderro [EMAIL PROTECTED] wrote:
 On Jan 14, 8:47 am, booboobenny [EMAIL PROTECTED] wrote:

  I am hoping someone here can help me out with this one.

  I am using swfupload and cake, I implemented using the articles on the
  bakery as a starting point.

  I have a controller /foo and in that controller I have a method
  upload. So the upload url is:

  /foo/upload

  When the form submits I get a 302 error. Does anyone know a way to
  submit the form (i would prefer to avoid ajax) to /foo/upload and not
  get a 302 error.

 I think the SwfUpload is meant specifically for use with AJAX. The
 problem with AJAX and file uploads is that you normally need to submit
 the form in order to send file data to the server. Since the page
 reloads with a form submit the only previous solution was to submit
 the form to a hidden iframe and parse the server response when the
 iframe loads. Flash is actually a great interface for uploading files
 since it doesn't require a form submit and can even provide feedback
 in so far as upload progress, etc.. I don't think using SwfUpload
 without AJAX would provide any benefits over using a conventional form
 file input - if it even is possible.

 Anyway, I implemented a similar thing using Mootools and
 Swiff.Uploader and I can tell you that using the controller-log
 function is invaluable for debugging. My implementation is a little
 different than the one on the bakery, but if it helps, my controller
 looks like:

 http://pastebin.com/f457cfcf

 And the component looks like:

 http://pastebin.com/f2a167234

 You might notice my implementation is for single files only - however
 I have tested it on a number of server setups - with PHP in safemode,
 root-jailing, etc.. - and it has worked for me so it might be useful
 for you? Good luck!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: swfupload cakephp 302 error

2008-01-14 Thread rloaderro

On Jan 14, 3:00 pm, booboobenny [EMAIL PROTECTED] wrote:
 swfupload does not need ajax,  its pure flash. The flash movie does a
 post submission there is no page reload.

Sorry - I was interpretting your usage of AJAX to mean being able to
submit the form without using Javascript. SWFUpload/SWiff are not
technically AJAX because there is no XML - but good luck using them
without Asynchronous Javascript ;)

 The flash movie is getting back a 302 from apache, in the log i see:

 POST /foo/upload/ HTTP/1.1 302 673 - Adobe Flash Player 9

 Note the actual URL of the page is /foo/edit/56/56

 Its very strange that I can set the header manually on local machine
 but not on mediatemple. They do have a funky way of running php5.

So if I understand you correctly the form is working - the file is
being uploaded correctly and appears on the server, etc.. the only
problem is the server is returning a 302 instead of a 200?

Or.. it's not actually working?

BTW - did you see this entry: http://swfupload.org/forum/generaldiscussion/157

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFUpload with CakePHP 1.1.x

2007-07-12 Thread laptop

im trying to use SWFUpload with CakePHP and it works perfectly
locally, but on the remote server im getting 404 errors?? here are the
access logs from the remote server.. as you can see the exact same URL
works the first time, but when called from Shockwave it gets that
404??

124.188.193.175 - - [12/Jul/2007:19:51:25 +1000] GET /uploads/upload
HTTP/1.1 200 5381 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-
US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
124.188.193.175 - - [12/Jul/2007:19:51:25 +1000] GET /uploads/upload
HTTP/1.1 200 5198 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-
US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
124.188.193.175 - - [12/Jul/2007:19:51:25 +1000] GET /js/swfupload/
SWFUpload.js HTTP/1.1 200 8307 http://2.istats.com.au/uploads/
upload Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4)
Gecko/20070515 Firefox/2.0.0.4
124.188.193.175 - - [12/Jul/2007:19:51:26 +1000] GET /js/
swfupload_callbacks.js HTTP/1.1 200 1157 http://2.istats.com.au/
uploads/upload Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
124.188.193.175 - - [12/Jul/2007:19:51:26 +1000] GET /js/swfupload/
SWFUpload.swf HTTP/1.1 200 1954 http://2.istats.com.au/uploads/
upload Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4)
Gecko/20070515 Firefox/2.0.0.4
124.188.193.175 - - [12/Jul/2007:19:51:26 +1000] GET /images/icons/
browse.png HTTP/1.1 200 1193 http://2.istats.com.au/css/istats.css;
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/
20070515 Firefox/2.0.0.4
124.188.193.175 - - [12/Jul/2007:19:54:39 +1000] POST /uploads/upload
HTTP/1.1 404 3678 - Shockwave Flash




On Jul 10, 2:10 pm, Vladimir [EMAIL PROTECTED] wrote:
 $lang = $this-Session-read('Config.language');
 $this-Session-del('Config');
 // keep selected language for i18n in session
 $this-Session-write('Config.language', $lang);

 On Jul 8, 3:52 am, NicoE [EMAIL PROTECTED] wrote:

  Hello everybody.
  I am using SWFUpload with CakePHP (based on the article written by
  James Revillini) and I have some problems regarding session issues.
  After uploading a file, the current session gets deleted. I have
  already read some articles about this problem and found that CakePHP
  handles sessions differently.

  Any ideas?

  Regards!

  Nicolas.-


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFUpload with CakePHP 1.1.x

2007-07-09 Thread Vladimir

$lang = $this-Session-read('Config.language');
$this-Session-del('Config');
// keep selected language for i18n in session
$this-Session-write('Config.language', $lang);

On Jul 8, 3:52 am, NicoE [EMAIL PROTECTED] wrote:
 Hello everybody.
 I am using SWFUpload with CakePHP (based on the article written by
 James Revillini) and I have some problems regarding session issues.
 After uploading a file, the current session gets deleted. I have
 already read some articles about this problem and found that CakePHP
 handles sessions differently.

 Any ideas?

 Regards!

 Nicolas.-


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFUpload with CakePHP 1.1.x

2007-07-08 Thread Ski

Hi,

  I am about to cross this bridge now.

  I know that Flash does not use the same session as the browser, so
you have to append the session id to the post url - I expect SWFUpload
lets you specify the URL to upload files to - you need to append the
session id to this, then there are some other posts that tell you how
to hack the Cake core.

http://groups.google.com/group/cake-php/browse_thread/thread/5cedbe5a1718e9ce/3924743d44746f42?lnk=gstq=swfuploadrnum=1

  This is a big issue with Flash 8, not sure that it has been resolved
for 9, but from what I have been reading recently, it ps a lot of
people off.

  Glen

On Jul 8, 1:52 am, NicoE [EMAIL PROTECTED] wrote:
 Hello everybody.
 I am using SWFUpload with CakePHP (based on the article written by
 James Revillini) and I have some problems regarding session issues.
 After uploading a file, the current session gets deleted. I have
 already read some articles about this problem and found that CakePHP
 handles sessions differently.

 Any ideas?

 Regards!

 Nicolas.-


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFUpload with CakePHP 1.1.x

2007-07-08 Thread NicoE

I tried hacking the Cake core but then I found that it´s not
necessary. I solved it adding the line $this-Session-del('Config').
I found the info @ http://www.pagebakers.nl/2006/12/19/swfupload-part-ii
Thanks anyway.

On 8 jul, 16:49, Ski [EMAIL PROTECTED] wrote:
 Hi,

   I am about to cross this bridge now.

   I know that Flash does not use the same session as the browser, so
 you have to append the session id to the post url - I expect SWFUpload
 lets you specify the URL to upload files to - you need to append the
 session id to this, then there are some other posts that tell you how
 to hack the Cake core.

 http://groups.google.com/group/cake-php/browse_thread/thread/5cedbe5a...

   This is a big issue with Flash 8, not sure that it has been resolved
 for 9, but from what I have been reading recently, it ps a lot of
 people off.

   Glen

 On Jul 8, 1:52 am, NicoE [EMAIL PROTECTED] wrote:



  Hello everybody.
  I am using SWFUpload with CakePHP (based on the article written by
  James Revillini) and I have some problems regarding session issues.
  After uploading a file, the current session gets deleted. I have
  already read some articles about this problem and found that CakePHP
  handles sessions differently.

  Any ideas?

  Regards!

  Nicolas.-- Ocultar texto de la cita -

 - Mostrar texto de la cita -


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFupload for cake1.2

2007-06-11 Thread [EMAIL PROTECTED]



On May 30, 4:29 pm, msajpm [EMAIL PROTECTED] wrote:
  Hopefully someone finds it useful.
  --
  Siegfried

 Thanks Siegfried.
 Just begining to use cakePHP and I was having a long time trying to
 modify it by myself to use with 1.2.

 I have two a questions.

 I`m able touploadfiles using normal file tags but notswfway. Could
 you use theswfway?

I can't get the swf way to work either. I also can't upload larger
than 2MB.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFupload for cake1.2

2007-06-11 Thread Jonathan Langevin
2mb limitation is usually due to php.ini settings, you'll have to edit your
php.ini file and restart the httpd daemon

On 6/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:




 On May 30, 4:29 pm, msajpm [EMAIL PROTECTED] wrote:
   Hopefully someone finds it useful.
   --
   Siegfried
 
  Thanks Siegfried.
  Just begining to use cakePHP and I was having a long time trying to
  modify it by myself to use with 1.2.
 
  I have two a questions.
 
  I`m able touploadfiles using normal file tags but notswfway. Could
  you use theswfway?

 I can't get the swf way to work either. I also can't upload larger
 than 2MB.


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFupload for cake1.2

2007-05-30 Thread msajpm


 Hopefully someone finds it useful.
 --
 Siegfried

Thanks Siegfried.
Just begining to use cakePHP and I was having a long time trying to
modify it by myself to use with 1.2.

I have two a questions.

I`m able to upload files using normal file tags but not swf way. Could
you use the swf way?

I have php.ini with a max_upload_file of 2M. When a try to upload
files between 2MB and aprox. 8MB I get the error saying that the files
exceded the maximus size but with files bigger thab 8MB I don't even
have a data array in the controller and nither error messages. Does it
happen to you too?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFupload

2007-04-24 Thread MicroAngelo

What was the problem? (in case anyone else comes across this)

On Apr 23, 8:34 am, Enchy [EMAIL PROTECTED] wrote:
 Got it work thanks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFupload

2007-04-23 Thread Enchy



Got it work thanks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: SWFupload

2007-04-22 Thread gerbenzomp

I suppose you followed the instructions in
http://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-uploader
?

Make sure you've created an upload folder in the files folder in
webroot: that is where the files get uploaded. So check there to see
if it works. Also, play around with the settings in init.js, because
the names of one or more files are a little different in the download,
than in the example. Adjust those names to fit those filenames. That's
how I got it to work.

For debugging info, and other related info, please see 
http://swfupload.mammon.se/,
they have quite good documentation on such things.

On 22 apr, 11:16, Enchy [EMAIL PROTECTED] wrote:
 Hi

 I need some help with SWFupload for cakephp.
 Installed it herehttp://capeseo.com/admin/
 The bottom form is a normal straightforward uploader.
 When you upload something with that it works and you can see results.
 The top one is the fancy flash uploader but it pretends to be working
 but when I View results there is nothing.  I really don't know what
 todo or look for.  Also don't know how I can debug this thing.

 Please help.

 Louis


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---