btw,
When a book is reissued, it gets a new ISBN. I think just the
last digit changes.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
*Sigh*,
So I've been pulling out my hair for a while until I figured, this thing
just doesn't work the way it should.
Here's my scenario very simplified with test data:
Controller1:
$arr['name']['1'] = '21';
$arr['name']['2'] = '21';
$arr['name1']['1'] = '21';
$this-Cookie-write('zilla', $arr,
Hi
I'm developing a hands-off website CMS in CakePHP, and I want it to
email me a dump of the database every 6 months as a backup. I have
bodged the model_php5.php and dbo_source.php so they return the insert
statement of a model as a string, based on the save and create
functions but not
Hey
Cake newbie here so I would very much appreciate it if you could help
me out with my problem. just got a few questions. I'm running cake on
a shared hosting site and I was just wondering if I can host another
cake application on top of a working cake app.
Do you have the possibility to
*Probably* the following will work:
before writing your array to the cookie:
$arr = serialize($arr);
after reading it from your cookie (when $cookval is the value you read
from your cookie):
$arr = @unserialize($cookval);
This way you should have your whole array back.
Note however that I
Hey all,
Got a quick question. I got cake running on my root folder of my
shared host. I made a subdomain and i want to run joomla on it. But
when I try to access the subdomain address, it shows missing
controller
Is there anyway to bypass cake or htaccess so that it doesnt look for
the
Got it to work thanks, i just added the subdomain name infront of
index.php on my htaccess file
On Nov 11, 9:31 pm, Marcin Domanski aka kabturek [EMAIL PROTECTED]
wrote:
Hey
Cake newbie here so I would very much appreciate it if you could help
me out with my problem. just got a few
On Nov 11, 1:33 pm, technicaltitch [EMAIL PROTECTED] wrote:
snip
Why would you not use mysqldump and a cron job?
AD
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send
Hi folks,
I have a model like the following:
Article hasMany Comment
Comment hasOne User
Now I want to fetch all comments from one article limited by ten.
These ten should be the comments with the most popular users
(User.popular). Is it possible to define the Article hasMany Comment
I'm doing a save on a model inside a controller to update one field,
however it is triggering a behavior attached to that model. Is there a
way to temporarily (like unbind) disable this ActAs so it isn't
called.
Zoltan
www.yyztech.ca
--~--~-~--~~~---~--~~
You
Thanks for the response, but here's a few FYIs.
- What I posted before works fine with Sessions. That's actually how I
determined the problem. I was building a remember me for a login. And I
thought I could just dump the session variable in a cookie and retrieve
later. So maybe if
because it's for a bolivian volunteer organization we're using
incredibly cheap hosting which doesn't allow us cron jobs. i thought
this would be trivial.
On Nov 11, 5:21 pm, AD7six [EMAIL PROTECTED] wrote:
On Nov 11, 1:33 pm, technicaltitch [EMAIL PROTECTED] wrote:
snip
Why would you not
Hi there,
atm I am trying to implement a feature to upload multiple images with
an article. Apart from the few tutorials I found covering this topic,
I have a much more basic question about that:
When I'm associating the Images model to my Article model (hasMany), I
can simply use something
On Nov 11, 7:49 pm, Zoltan [EMAIL PROTECTED] wrote:
I'm doing a save on a model inside a controller to update one field,
however it is triggering a behavior attached to that model. Is there a
way to temporarily (like unbind) disable this ActAs so it isn't
called.
Zoltanwww.yyztech.ca
There is also something about this there :
http://www.sanisoft.com/blog/2007/06/26/attach-detach-behaviors-at-run-time-in-cakephp-models/
On Nov 11, 8:58 pm, AD7six [EMAIL PROTECTED] wrote:
On Nov 11, 7:49 pm, Zoltan [EMAIL PROTECTED] wrote:
I'm doing a save on a model inside a controller
then changes your host. there is incredibly cheap hosting everywhere
(well within the USA anyhow) that allows you cron jobs + all the other
bells and whistles
On Nov 12, 8:37 am, technicaltitch [EMAIL PROTECTED] wrote:
because it's for a bolivian volunteer organization we're using
$html-value('Model.field');
On Nov 11, 4:17 pm, dm [EMAIL PROTECTED] wrote:
$html-tagValue is deprecated in 1.2. What should I use instead ?
$this-data[model][field] ?
Thanks..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I saw the following at
http://www.xml.com/pub/a/2007/01/24/whats-new-in-prototype-15.html
---
The standard XMLHttpRequest object at the heart of Ajax functionality
only allows HTTP GET and POST methods, but RESTfully-designed web
applications often call for the lesser-used methods, like PUT
I just found this in dispatcher.php:
if (isset($params['form']['_method'])) {
if (isset($_SERVER) !empty($_SERVER)) {
$_SERVER['REQUEST_METHOD'] =
$params['form']['_method'];
The reason it works in the first controller is because it is not
reading from the cookie itself - it also saves the data to a local
variable and it is reading back from that. Because there is no
automatic serialization going on, only strings are written to the
cookie - so a complex data type
I would keep the comment count in a field of its own in the posts
table (eg. comments_count), and update the value automatically
whenever a comment is saved or deleted. The beauty of this code is
that you don't need to change your controller code in any way (unless
you are updating the table
Hi,
I have a web app project I am seeking a contract programmer to build.
It is a 6 screen application, relatively simple but like all these
things has to work seamlessly and have a good data structure.
I am in the process of developing the screen layouts and DB structure
and am seeking
in my cakephp
i want to do some url rewrite but whenever i put some url rule on my
htaccess it gives (none)500 error
my url is
http://www.xaprio.com/Client/work/PHPcake/shop?sn=alb=harish
and i want
http://www.xaprio.com/Client/work/PHPcake/shop/a/lb/harish
shop is my function in a
23 matches
Mail list logo