Hi all,
find attached a tiny patch to Javascript::object() for quoting string
values. I ended up with
["He said: "Nevermind." and turned away."]
The patch makes that
["He said: \"Nevermind.\" and turned away."]
Thanks
Markus
--
Markus Bertheau <[EMAIL PROTECTED]>
--~--~-~--~~-
I posted this a couple of days ago, but it was late and I am not sure that anyone saw it.I am curious if the following is possible.I am enforcing a field in my MySQL table to be unique in my schema.
When
submitting my form to insert a new row into my table, if that
particular field already exists i
Depends what you mean by multiple forms. It isn't valid HTML to have
embedded forms within other forms, and IE doesn't support this (but
Firefox handles it ok).
I've been caught by that before with AJAX, if an area inside a greater
form is updated and now includes a form itself, this is not vali
do two hasMany relationships to that table, and make a model for it
i've done that way to make a 'Vote' model , where I have a user_id
and a movie_id , and the value for the vote also.
phpnut said something about cake having this in a future release
(adding different fields to a join table)
s
hey Ian,
I think so yes. I'm still getting my head around the proper use of the
bind / unbind methods myself but that could be a use for it i'm sure.
cheers,
freedom
On 03/09/06, ianh <[EMAIL PROTECTED]> wrote:
>
>
> If we use this hard-coded conditions in the model but want to override
> it on
On 9/3/06, Chris Lamb <[EMAIL PROTECTED]> wrote:
>
> 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.
>
Unles
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-l
Also with some tools that people use to uncompress the cake files to
begin with the .htaccess files are not uncompressed or their file
permissions are set in such a way that the web server can not read
them.
Sam D
On 9/3/06, nate <[EMAIL PROTECTED]> wrote:
>
> Either you don't have mod_rewrite
Either you don't have mod_rewrite enabled, or one of Cake's .htaccess
files got misplaced. This can happen if you're on OSX and moving
directories around. If you think mod_rewrite is enabled, try doing a
fresh install of Cake, otherwise go into /app/config/core.php and
uncomment the line that st
All I was saying was that *I* don't see the point in worrying about
that sort of stuff. To use your analogy of the locked house: if I
don't think there is anything worth stealing I won't worry if someone
breaks in. All the stuff I think is valuable is locked up in the
safest place I can think o
also you could add session_start() function to
/app/config/bootstrap.php. Every page including this file.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-p
Hi!
When i use function $his->redirect() to redirect for example
$this->redirect('/user/login') I am redirecting to:
http://exampleserv.com/app/webroot/users/login
but I want url like this:
http://exampleserv.com/users/login
Where is the problem. Please help.
Cake ver: 1.1.7.3363
PHP ver: 5.
Onur HOS wrote:
> i tried this. Unfortunately, it didn't work bernardo. Thanks. i will
> use standart login structure and redirect to cake :) i hate ie :)
> thanks for help my friends.
Another solution;
in app/config/core.php;
define('AUTO_SESSION', true);
if this value is false, cake could not
FYI, if you wanted to do it the Cake way, you could rewrite that query
in one line, as:
$data = $this->Config->find(array("name" => $name), "value");
return $data["value"];
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
i tried this. Unfortunately, it didn't work bernardo. Thanks. i will
use standart login structure and redirect to cake :) i hate ie :)
thanks for help my friends.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
Have you tried changing the name of index.php?
If mod_rewrite and AllowOverride are enabled on your server, you just
need to change the one in app/webroot/, otherwise, change the one in
the root of the install.
--~--~-~--~~~---~--~~
You received this message beca
Jac wrote:
> hi, sorry for my english. i have a problem about sessions on internet
> explorer. When i use $this->Session->write method or standart $_SESSION
> assignment in controller, internet explorer cannot save my session
> variables ( cannot set cookie ). it works fine on firefox. Otherwise
>
Hi!
Yeah...Mike Freedom was right, this work. Thank you Mikee very much.
Bye
--~--~-~--~~~---~--~~
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 unsu
thanks, but i'm using my own computer (localhost) as web server. my
configuration is;
ms windows xp, IIS 5.1, php 4.4.2. But problem's source is internet
explorer. why?, thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
What is the level of security of your IE ?
With high (and maybe medium) level of security in IE on SP2,
I heard that IE requires now to provides a P3P policy file.
Can anybody confirm/infirm what I am saying ?
olivvv
Jac wrote:
> hi, sorry for my english. i have a problem about sessions on inte
Dolorian wrote:
> Then I make a record for the season :
>
> $this->Season->save($countries_data)
>
this is wrong. I mean:
$this->Season->save($this->params['form']['Season'])
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Have tried many different wayes, but with no success. I can't think out
how to populate a join table which has more than two fields.
In the index controller I 'm using the following:
$this->set('langs', $this->Lang->findAll());
In the form:
.. input fields for the seasons table ...
$html->inp
are you using a subdomain with the character '_' in the name? IE
doesn't support cookies in domains like my_domain.wordpress.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this grou
Cool, thanks. It was just the Zip file that I put into the html folder.
--~--~-~--~~~---~--~~
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
Hello,
I need to use Cake in a Hosting environment where I have no access to
the httpd.conf file. Currently, index.php is not set as a
DirectoryIndex. Is there a way to configure CakePHP to work without
depending on this configuration?
Thanks,
Josh Zeidner
--~--~-~--~~--
If guiListTree() is deprecated, it probably shouldn't be in the manual
then? http://manual.cakephp.org/chapter/helpers.Should this be reported
as a bug someone?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
If we use this hard-coded conditions in the model but want to override
it on a case-by-case basis (e.g. in an app I'm developing 'delete'
means set a boolean field to 1 so things can be undeleted by the admin)
is that a use for bind/unbind model?
Thanks, Ian
Mikee Freedom wrote:
> Hey Felipe,
Thank you very much, I will consider trying / buying Source Guardian.
M.
--~--~-~--~~~---~--~~
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 unsubscri
hi, sorry for my english. i have a problem about sessions on internet
explorer. When i use $this->Session->write method or standart $_SESSION
assignment in controller, internet explorer cannot save my session
variables ( cannot set cookie ). it works fine on firefox. Otherwise
when i try this thin
hi, sorry for my english. i have a problem about sessions on internet explorer. When i use $this->Session->write method or standart $_SESSION assignment in controller, internet explorer cannot save my session variables ( cannot set cookie ). it works fine on firefox. Otherwise when i try this thin
30 matches
Mail list logo