Feris Thia wrote:
- activating persistent models in your AppController (especially when
you have lots of models with many associations)
Is that possible using php running as cgi ?
If you're running PHP as a CGI, I'm not sure why you are concerned about
performance.
--
Chris Lamb
[0] http://bazaar-vcs.org/
[1] http://packages.ubuntu.com/cakephp
--
Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
have a simple script here that locates
the nearest Cake app, finds an unused port and starts a webserver pointed
at it. Also, my concept of updating my sites involve running make
release only. No faffing with FTP for me, please - I left that behind in
1998.
/Lamby
--
Chris Lamb, Leamington Spa, UK
] http://cakeforge.org/snippet/download.php?type=snippetid=80
--
Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
keymaster wrote:
One has to first do a proper search for the solution.
One does not simply search into Mordor.
--
Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
haven't had this problem. The MVC architecture is reasonably sane once
you have got your head around it. Curiously, citing the popularity of
Rails and using some of that buzz helps.
Regards,
--
Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20
signature.asc
Description: PGP
-topic, remember?
Kindly,
--
Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20
[0] http://www.crummy.com/software/BeautifulSoup/
[1] http://wwwsearch.sourceforge.net/mechanize/
signature.asc
Description: PGP signature
Fiaz Khan wrote:
I cant seem to create the site without a database, i.e. just using
views and controllers and no models. Is this possible?
Yes.
class FooController extends AppController {
var $uses = array();
.
.
etc
Regards,
--
Chris Lamb, Cambridgeshire, UK
directory -- run from app/. Would have fixed your problem straight away.
Regards,
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
can help you out there.
Regards,
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
and
see how it does it, then try and apply that inside Zend/Eclipse.
Regards,
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
Cakers,
Rnickel posted this on IRC. The Cake community did a great job with the
previous poll, lets's see them in action again!
http://www.jcxsoftware.com/
Regards,
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
vendors could be
included globally in Cake, please submit an enhancement ticket - it'll
reach the people that matter a lot easier.
Kind regards,
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
in
parallel.
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
MJ Ray [EMAIL PROTECTED] wrote:
mod_rewrite is a big gun aiming nearyour feet, while mod_vhost_alias
makes your feet dance. Expect to have to make a few attempts before
missing your feet.
Made me smile :-)
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
://blog.lighttpd.net/articles/2006/07/02/x-sendfile
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
rocky [EMAIL PROTECTED] wrote:
Can any of you give me some hint please?
Check your AllowOverride in /etc/apache2/mods-enabled/userdir.conf ?
Is PHP installed correctly?
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
, folks. :)
(On a related note, may I propose the admins creating a cake-php-announce
list? I sometimes miss project announcements between other mails)
Enjoy,
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
--~--~-~--~~~---~--~~
You
to.
--
Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
messages from
cake-php@googlegroups.com to a separate folder.
Yes, do that :-)
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
? I'm not sure
this is a problem.
If it helps, Cake defaults to using PHP's way of handling sessions -- to
see which you are using, see CAKE_SESSION_SAVE in
$(APP)/config/config.php. Of course, if you have this set to php, then
please poke your PHP configuration to fix this.
Kind regards,
--
Chris
Felix Geisendörfer [EMAIL PROTECTED] wrote:
I'm looking for someone to give me a hug and tell me everything will
be ok.
I'll go ahead and do this: *hug*
*hug* everything will be okay.
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description
account?
[EMAIL PROTECTED]:~$ mysqladmin password mypassword
Kind regards,
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
lamacq [EMAIL PROTECTED] wrote:
Any ideas?
Can you paste your controller? Specifically, the class variables.
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
gwoo [EMAIL PROTECTED] wrote:
I can assure you that if no one was moderating this group it would be
much uglier.
Thank you for your efforts here.
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
enlighten me? I'm of course assuming that NEED TO
CHOOSE LICENSE is not a real license. :]
Kind regards,
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
:)
Kind regards,
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
'))
{
session_write_close();
}
header(Location: http://localhost:8080/SMSUploadServlet;);
exit();
Regards,
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
Adrian Maier [EMAIL PROTECTED] wrote:
The problem is that the page is not refreshed, and the deleted record
is still visible until i click the browser's Refresh button.
This[0] is probably what you want.
Regards,
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
[0
.
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
how can i make sure that user data have been submitted via
pressing a submit button instead of sending spagetti code
appended to the controller url ?
Check out the Security Component page in the manual. [0]
Kind wishes,
--
Chris Lamb, Leamington Spa, UKGPG
solve the problem yourself. Note that the CakePHP source is
very readable for a PHP program, so examining the dispatcher code may
make sense than any of this.
Best wishes,
--
Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
at
serving static content!
I should really add the general warning against premature optimisation
here, but I'm sure you've heard it before.
Best wishes,
--
Chris Lamb, Cambridgeshire, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
.
Regards,
--
Chris Lamb, Cambridgeshire, UKGPG: 0x634F9A20
signature.asc
Description: PGP signature
jEdit and vim here.
jEdit has a rather nice plugin architecture, and it would be really nice
to see something Cake-related but I've never been sure what other people
would want. Anybody want to contribute?
Lamby
--
Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk
Q
multiple actions defined.
What's wrong with multiple actions OOI? They will always return 404 if
you do not have a view for them.
Regards,
lamby
--
Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad? GPG: 0x634F9A20
,
--lamby
--
Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad? GPG: 0x634F9A20
A. Because it breaks the logical sequence of discussion
signature.asc
Description: PGP signature
On Thu, 14 Sep 2006 09:55:09 -, Walter wrote:
If anyone's interested, I found a solution:
Karma to Walter for posting the solution - I find it annoying to Google
something and only find other people asking the question. :)
--lamby
--
Chris Lamb, Cambs, UK WWW
Heh, I had this issue too: was copy/pasting the URL from inside
Cakeforge to use with wget, and was wondering why it was corrupted!
Maybe I should submit a ticket? ;)
--
Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad
On Sun, 3 Sep 2006 14:01:18 -0400, Chris Hartjes wrote:
..snipped a whole load of common sense..
On a related note, never ask the 'obfustication' question in #php. I've
seen other people do it, and the outcome is not pretty.
--
Chris Lamb, Cambs, UK WWW: http://chris
Hi
On Wed, 16 Aug 2006 15:19:59 -0700
John Zimmerman [gmail] [EMAIL PROTECTED] wrote:
Basically I just want to display php code within a web page.
GeSHIi[0] seems to be the de-facto library for doing this.
Chris
[0] http://qbnz.com/highlighter/
--
Chris Lamb, Cambs, UK
I'll add it to my cakenews http://thinkingphp.org/cakenews/ ..
Good luck..I see no feed. :(
Chris
--
Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad? GPG: 0x634F9A20
A. Because it breaks the logical sequence
of PHP files for every request..
--
Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad? GPG: 0x634F9A20
A. Because it breaks the logical sequence of discussion
such a function, $this-redirect($this-referer()),
but--as you mention--it won't work if people turn it off.
Regards,
Chris
--
Chris Lamb, Cambridgeshire, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad? GPG: 0x634F9A20
A. Because it breaks the logical
]
http://mysqldump.azundris.com/archives/36-Serving-Images-From-A-Database.html
[1] http://uk2.php.net/features.file-upload
[2] http://uk.php.net/manual/en/function.getimagesize.php
--
Chris Lamb, Cambridgeshire, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad
(or maybe just a
venting exercise, haha) have you considered starting a Cake blog?)
Best wishes, and good luck with CakePHP.
--Lamby
[0] http://irc.cakephp.org/irc.html
--
Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED]
WWW: www.chris-lamb.co.uk GPG
{
var $name = 'MemberTeam';
var $hasOne = 'Member,Team';
}
Cake should also fill in the 'created' field automatically for you.
Regards,
--lamby
--
Chris Lamb, Cambridgeshire, UK WWW: http://chris-lamb.co.uk
Q. Why is top posting bad? GPG
://www.phppatterns.com/docs/design/templates_and_template_engines
--
Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED]
WWW: www.chris-lamb.co.uk GPG: 0x634F9A20
signature.asc
Description: PGP signature
cupcake
fruitcake
griddlecake
hotcake
pancake
pancaked
shortcake
Regards,
Chris
--
Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED]
WWW: www.chris-lamb.co.uk GPG: 0x634F9A20
signature.asc
Description: PGP signature
, cleaning potentially dangerous HTML to combat XSS[1] attacks is
useful.
[1] http://en.wikipedia.org/wiki/Cross-site_scripting
--
Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED]
WWW: www.chris-lamb.co.uk GPG: 0x634F9A20
signature.asc
/articles/Unicode.html
[3] http://www.w3.org/
[4] http://www.w3.org/International/O-charset
--
Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED]
WWW: www.chris-lamb.co.uk GPG: 0x634F9A20
signature.asc
Description: PGP signature
, 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
-~--~~~~--~~--~--~---
--
Chris Lamb, Cambridgeshire, UK
Oh dear, crossed posts..
I have some basics going for timezones like this, but maybe somebody
has a more robust solution?
Pear::Date? [1]
Chris
[1] http://pear.php.net/package/Date
--
Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED]
WWW: www.chris-lamb.co.uk
this group, send email
to [EMAIL PROTECTED] For more options, visit this
group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---
--
Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED]
WWW: www.chris-lamb.co.uk
this for some logins. If I did
that here, then my password would be stored as plaintext in the
database and thus I wouldn't be able to login.
I guess a simple fix
would be to restrict the type of password that can be saved, but that
would annoy people like me ;)
Lamby
--
Chris Lamb, Leamington Spa, UK
55 matches
Mail list logo