"If users commonly search 'product names' you may want to make that
field a FULLTEXT index. This will make searches much faster."
Have you verified this? Using a fulltext index requires the "MATCHES"
function in the SQL, it doesn't get used if you do a "WHERE foo=" type
query. I don't see any c
Hi Reza,
Most PBX systems log with a feature called Call Detail Recording (or
Records), CDR for short. How to get at them depends on the system,
but generally there is a card in the PBX with a serial output that
spits out the CDR records. Attached to this is often a buffer box that
a PC dials in
I once had a Godaddy VPS, it started off pretty well but eventually
the disk latency became absurd. I presented some tests showing 2
*seconds* for a single disk access in a ticket and was told that's
within their tolerances. I canceled the VPS after that.
Sean
On Mar 28, 6:51 am, phpjoy <[EMAI
On Mar 26, 12:59 pm, Rob Russell <[EMAIL PROTECTED]> wrote:
> Anybody hosted Cake on 1and1? I've really liked them so far but I
> haven't pushed any Cake apps on to that server yet. I had a VPS
> (somewhere else) and ran in to trouble locking it down so I've been
> relegated to managed virtual ho
Look at app/config/routes.php
/**
* Here, we are connecting '/' (base path) to controller called
'Pages',
* its action called 'display', and we pass a param to select the view
file
* to use (in this case, /app/views/pages/home.thtml)...
*/
Router::connect('/', array('controller' => 'pages', '
I think you want to look at custom inflection:
http://tempdocs.cakephp.org/#TOC41977
And yes, the plural of "lens" is "lenses".
Sean
On Jan 12, 4:08 pm, Tim <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm a newbie to CakePHP, and a relative newbie to php. CakePHP looks
> like just what I was loo
Also look at
http://www.ibm.com/developerworks/linux/library/l-tune-lamp-1/
(tuning Linux)
http://www.ibm.com/developerworks/linux/library/l-tune-lamp-2.html
(tuning Apache and PHP)
http://www.ibm.com/developerworks/linux/library/l-tune-lamp-3.html
(tuning MySQL)
Sean
On Dec 16, 3:29 am, majna
A covering index might also help, depending on what type of field
b.field_2 is.
CREATE INDEX cover_field2 ON b (id,field_2);
If field_2 is a short varchar then there is a greater chance that
mysql will just read the index and grab the data from there, and never
touch the table.
If you need a bu
On Dec 2, 7:56 pm, Adam Royle <[EMAIL PROTECTED]> wrote:
> Using elements is what you want. Inside the elements you can use
> requestAction to get at any data you wish to use. You can return an
> array of data directly, or render a view. See tutorial here for an
> example (and also how to cache th
Cake seems to use the PECL memcache extensions, which I've used
elsewhere, and they're solid. I'd look at caching in memcache before
NFS mounted disk.
Sean
On Nov 27, 7:19 am, dericknwq <[EMAIL PROTECTED]> wrote:
> I have read about it but nope, never consider it yet. Seems like a
> pretty good
#x27;database' => 'my_db'
> > > > );}
>
> > > > ?>
> > > > On 11月22日, 上午8時40分, Mike Lewis <[EMAIL PROTECTED]> wrote:
>
> > > > > So what your saying is put the load balancer IP Address for the
> > > &g
; 'mysql',
> 'host' => 'slave.host.ip',
> 'login' => '',
> 'password' => '.',
> 'database' =>
ome rotation
> and/or random act to using multiple slave servers.
>
> -
> Mike
>
> On Nov 21, 9:08 am, SeanW <[EMAIL PROTECTED]> wrote:
>
> > For multiple slave servers I'd look at a load balancer, either
> > hardware or ipvs + heartbeat. There's more t
For multiple slave servers I'd look at a load balancer, either
hardware or ipvs + heartbeat. There's more than just "which server do
I send it to?", there's also making sure the server is alive and not
too lagged.
Sean
On Nov 20, 8:24 pm, Mike Lewis <[EMAIL PROTECTED]> wrote:
> I saw a post abo
Arne,
Good to see you got the other stuff going, I just replied so I guess
you can ignore that :)
Use $this->Auth->allow("*") to allow access to all actions, or $this-
>Auth->allow("foo", "bar") to allow access to the foo and bar actions
of the current controller.
Your login handler is allowed
th->user :-(") }
>
> gives me the debug message, so for some reason I don't have access to
> this what seems to be the point. Did I forget something?
>
> Best regards
>
> Arne
>
> On Nov 9, 4:25 pm, SeanW <[EMAIL PROTECTED]> wrote:
>
> > On Nov
On Nov 8, 6:33 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
> But when submitting the form, it redirects me back to the login, pre-
> filling the password field with 32 chars (assume it's the md5 hash,
> but why?).
That's probably because the authentication is failing, or not being
checked
On Nov 7, 9:07 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
>
> My goal is to implement the authentication basics directly into /app/
> app_controller.php rather than the users controller, as I think it
I posted something about this recently, where authentication is done
in the main app_co
18 matches
Mail list logo