Hi,
I have to validate website whether a website is unique or not.
http://www.example.com is unique but
http://www.example.com/ is not unique
http://example.com is not unique and
http://example.com/ is not unique
How to do such a validation?
Users are allowed http://www.example.com/signup.php
its $html->link('linkname', array('controller' => 'yourcontroller', 'action'
=> 'youraction'));
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/7/30 taqman filler
> hi I'm have noob question
> I try to create link to login page this
>
> $html->link('login',array('url'=>array('controller'=
hi I'm have noob question
I try to create link to login page this
$html->link('login',array('url'=>array('controller'=>'users','action'=>'login')))
but output in
127.0.0.1/cakephp/user_articles/users/login
how to config it
thank
taqman
--
Our newest site for the community: CakePHP Video Tutoria
I have this in the view:
create('Propiedad');
echo $form->input('pais_id', array('options' => $paises));
echo $form->input('provincia_id', array('options' => $provincias));
echo $form->input('ciudad_id', array('size' => '1'));
echo $form->input('tipo_id', array('size' => '1'));
echo $form->input(
I usually use firebug/webinspector to make sure its not a static asset
blocking the page loading. If it isn't I profile the page with xdebug
and find out where/why its slow.
-Mark
On Jul 27, 8:51 pm, leafchild wrote:
> I notice loading page is extremely slow.
>
> Those pages are not connected t
Take a look at one solution I am using. All the heavy lifting is left
to Apache, it's more than 10x faster compared with my previous
solution using a controller to pass the file contents, and memory
usage also drops to almost nothing.
http://dtemes.blogspot.com/2011/05/secure-downloads-with-apach
Hello,
I have a question about how to use conditions with associated models.
I have a model namea A with this associated models
model_a => array (
model_b => array( field_1 , field_2),
model_c => array(
array(
My app uses the native Auth component and my User model is doing
something I've never seen before. I'm hoping someone here can offer
some insight.
The app offers a way to register (i.e. create a brand new user) or to
be invited. The User::invite() action accepts a unique invite code,
uses that to
I developed and tested the code. I modified the models:
array( 'className' => 'Provincia' )
);
var $validate = array(
'nombre' => array('rule' => 'notEmpty')
);
}
?>
array( 'className' => 'Pais' ) );
var $validate = array(
'nombre' => array('rule' => 'notEmpty')
);
There's 'cake upgrade all' utility shell that can assist upgrading your app
code
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsub
The tmp is writable (I tryied it with logs), about sessions... the only I
know now is what I can see in the phpinfo function, and It looks correct :s
.
But, in any case, the sessions dir is empty, I can't find any file except
the empty default file of Cake :( .
I simplified the code of the login
A few ideas. Is your session working correctly? Is your tmp directory and its
subfolders read/write?
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 29 Jul 2011, at 10:12, CaStarCo wrote:
> Studying my problem, I can explain a part of what happens, but not all, and
> not why:
>
> Whe
Studying my problem, I can explain a part of what happens, but not all, and
not why:
When I login with correct data, the Auth component does a correct login, I
can read the $this->Auth->user () data, but the next strange step is that my
cake app logout automatically my user :s (in my production se
I'm aware of that. Still my question is, how would I proceed with
upgrading?
Do I unpack a freshly downloaded 2.0 archive and bring back my app
file by file? What are some best practices here?
On Jul 29, 8:56 am, Johan wrote:
> CakePHP 2.0 is not yet finished. If you migrate now to 2.0 you will
14 matches
Mail list logo