Re: temporary tables in cake.

2009-05-28 Thread Malcolm McLean
Oops, sorry. Forget this - I had a stupid typo in my code (it must be too late, I'm going home). Mal On 28 May, 18:29, MalContented wrote: > Hi, > I am trying to use temporary tables for some data manipulation but > they don't seem to work... > > Consider this simplified code: > > $sql = 'crea

Re: 400 Bad Request when URL contains %

2009-04-15 Thread Malcolm McLean
OK, I managed to avoid this issue by sending the data to the server using 'POST' rather than encoding it into the url and using 'GET'. The data becomes available to the controller through the $_POST[] array. The following url may help if you're using ajax: http://www.openjs.com/articles/ajax_xmlh

Re: 400 Bad Request when URL contains %

2009-04-15 Thread Malcolm McLean
Hi, I'm getting a very similar problem. I think it's something to do with the rewrite engine on the server, not cake. If you use the following urls you get a different response. http://overheard.it/people/%2525 http://cheesecake-photoblog.org/demo/view/%2525 My theory is that the url is decod