Your welcome. :)
On Jul 30, 5:32 pm, Tomatosoup wrote:
> A bit late though, but thanks!
>
> On 11 jul, 03:48, nurvzy wrote:
>
>
>
> > Set the security component to not validate that field.
>
> >http://book.cakephp.org/view/1297/Configuration
>
> > Hope that helps,
> > Nick
>
> > On Jul 10, 1:28
As far as I know Model->query() is not escaped or protected in any
other way
you need to use find() etc in order to use safe sql queries
On 30 Jul., 20:19, Hugo M wrote:
> Hi! I have a question about Model->query and sql injection. I was
> trying to sql inject my own site to see vulnerabilities,
A bit late though, but thanks!
On 11 jul, 03:48, nurvzy wrote:
> Set the security component to not validate that field.
>
> http://book.cakephp.org/view/1297/Configuration
>
> Hope that helps,
> Nick
>
> On Jul 10, 1:28 pm, Tomatosoup wrote:
>
>
>
> > Hello,
>
> > I use the Security component, b
Yes, that would work too.
Thanks :)
(for some reason this message didn't get posted earlier)
On 30 jul, 13:55, Jon Bennett wrote:
> you could use getpath, eg:
>
> count($this->Model->getpath($id, array('id')));
>
> hth
>
> Jon
Check out the new CakePHP Questions site http://cakeqs.org and help
Yes, that would work too.
Thanks :)
On 30 jul, 13:55, Jon Bennett wrote:
> you could use getpath, eg:
>
> count($this->Model->getpath($id, array('id')));
>
> hth
>
> Jon
>
> On 30 July 2010 12:45, Tomatosoup wrote:
>
>
>
>
>
> > Hello,
>
> > Does anybody know of a function likegeneratetreelistth
Thanks :)
I'll look into that.
On 30 jul, 14:28, cricket wrote:
> On Fri, Jul 30, 2010 at 7:45 AM, Tomatosoup
> wrote:
> > Hello,
>
> > Does anybody know of a function likegeneratetreelistthat seperates
> > the depth from the value. Instead of counting the spacer chars.
>
> > I saw an SQL quer
On many free host this function is disabled, how can I workaround on
this issue?
It seems that this is used just to random genereation of uuid. The
funciton is called uuid() and line intersted is the line 89 in CORE/
cake/libs/string.php:
if (function_exists('zend_thread_id')) {
thanks for your messages
I've tried but $user is always empty in my login message
function login(){
$txtmsg = "Bienvenue ";
$user = $this->Session->read('Auth.User.first_name'); // $user is
empty
//$user = $this->Auth->user('first_name'); // $user is empty
$flashms
Yeah, I tried it because I was concerned with some of the performance
comparisons I'd seen between CakePHP and other PHP frameworks. Didn't
spend a whole lot of time on it, but really was not impressed at all.
What is the point of a framework that seems to require MORE coding
than just doing thing
You should include some code so we know what you're talking about.
Either way, probably not an issue with CakePHP.
On Jul 30, 4:37 am, Petter Andreas Strøm wrote:
> Hi,
>
> I have some problems with using GD in Cakephp. Output from i.e. the
> imagejpeg() function reports just wrongly encoded dat
More in my continuing saga of trying to fix the horrible data mess my
company has...
The company's original SQL Server databases are riddled with trademark
symbols, copyright symbols and registered trademark symbols entered
directly into the data. These symbols present a fairly significant
challen
Well, you're not going to be able to maintain a standard session
across multiple domains. That's basic to sessions and cookies. You can
certainly create some sort of non-visible login system (like a GET
variable) that allows the user to see the same things on two domains,
but a literal session acro
This plugin seems interesting:
http://bakery.cakephp.org/articles/view/paypal-ipn-instant-payment-notification-plugin-complete-with-paypalhelper
Make me know if it worked for you! :)
2010/7/29 Nabil Alsharif :
> Not unless google has something good It shouldn't be to hard to
> make your own.
Hi! I have a question about Model->query and sql injection. I was
trying to sql inject my own site to see vulnerabilities, and I got:
Warning (512): SQL Error: 1064: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use nea
Dean,
CakePHP will not produce a join for hasMany and HABTM finds. As a
result, the fields of the associated table are not avaiable for the
query. There are a variety of techniques to get what you want.
There's the linkable behavior, ad-hoc join, and a method using
bindModel to bind the relation
Thank you men.
It works. =)
On 30 jul, 12:50, Vijay Kumbhar wrote:
> Hello Gildonie,
>
> You have to add the following line in you layout,
>
> element('sql_dump'); ?>
>
> cake 1.3 doesn't directly displays the sql statements as like cake 1.2 if
> your debug mode is 2.
>
> On Fri, Jul 30, 2010 at
Hello Gildonie,
You have to add the following line in you layout,
element('sql_dump'); ?>
cake 1.3 doesn't directly displays the sql statements as like cake 1.2 if
your debug mode is 2.
On Fri, Jul 30, 2010 at 5:18 PM, Gildonei Mendes A. (Junior) <
anjol...@gmail.com> wrote:
> Hi,
>
> I'm star
> i dun get it. anythg juz going wrong. the page can validate if there is no
> image selected, also it can validate if it is not jpeg. but when i upload a
> photo it been refreshed the page. but image did not appear in folder or been
> saved in database
have you set the form type to file, eg:
ech
Nor is mod_php. I did a bit of digging in the security.php source and
it looks that those two "no"s are my show stoppers.
thanks,
Michael
On Jul 30, 10:00 am, Michael wrote:
> No it is not and I don't have access to have that changed. Nor is it
> something that I can request to be changed.
>
>
Hi there,
the idea is that i am doing something like an ecommerce platform for
merchants.
there are 2 apps because i want the shopping site to be on 1 domain
and the checkout pages to be on another domain.
so that i can use ssl on the checkout pages and that this is
consistent for ALL customers
First, have a look at the output query - if you have the element('sql_dump'); ?> set in your layout, it should be at the
bottom. That should give you some clues as to why it's not working.
But you might want to post your $hasMany association to this group so
we can help better. Are you actually sp
Can you add a filter in your gmail account I add the filter for the sender (
cake-php@googlegroups.com) and all the mails that I receive from this email
have the gmail label cakephp. Try it, its very helpful
---
Norman Paniagua
2010/7/29 John
> Hi Guys, sorry for the wrong topic, but i'm new h
Ok, the problem appears to be that somewhere in the bowels of
CakePHP's Models, it doesn't seem to like certain characters and just
replaces them with "?"
I've discovered this because I'm attempting to run batches through the
Console. So, I'm only using a Shell script and the Model in question
and
No it is not and I don't have access to have that changed. Nor is it
something that I can request to be changed.
Is that a showstopper?
thanks,
Michael
On Jul 30, 7:08 am, cricket wrote:
> Does Apache have mod_digest loaded?
>
> On Thu, Jul 29, 2010 at 2:58 PM, Michael wrote:
> > I am having
Why two separate applications for this? Is one not CakePHP?
Offhand, here's a few things:
1. Localhost can often be a tricky thing for cookies and sessions.
Make sure those addresses are really the way content is being served
up to the browser.
2. Cookie settings in Configure::write(): make sure t
Why do you have a completely separate application for the checkout
aspect of whatever it is you're doing? Seems like if they're both
built in CakePHP, you should probably use the same application.
A couple ideas:
On Jul 30, 10:48 am, Kei Simone wrote:
> Hi all,
>
> i have 2 cake apps. localhost
Hi all,
i have 2 cake apps. localhost/wp and localhost/checkout. wp sends a
httpsocket->post to localhost/checkout/carts/add and gets a result.
the carts/add will set a session value. wp will use the result of the
post and redirects to paypalsandbox. after that the paypalsandbox will
redirect to l
i understand that CakePHP is powerful enough to allow user create DB
table, run a command to generate CRUD.
But i wonder is there any available module/plugin which allow CakePHP
to have a "module builder", which mean i dont need to dirty my hand by
touch the script or create record through phpmyad
Hi,
I have some problems with using GD in Cakephp. Output from i.e. the
imagejpeg() function reports just wrongly encoded data like: ...
� JFIF� �� � � ...
So i was just wondering if anybody had any experience with this kind
of problems, which seems to be an encodingproblem:P
-thanks!
Hi Guys, sorry for the wrong topic, but i'm new here.
Just a tip for the group... would be great if in the subject of the emails, a
tag [cakePHP] was inserted, will be easy to read the new posts...
Thanks for let me join here, hope i can help/be helped
Have a nice day
On Jul 30, 2010, at 12:08
Hi all,
I'm having a slight problem with querying data on an association I've
created.
The two models are Product and ProductVariation. The ProductVariation
model belongs to the Product model and the Product model hasMany
ProductVariations.
This is all well and good until I attempt to run the fo
On Jul 29, 7:37 pm, hoss7 wrote:
> i need cakephp cron job tutorial?
I can haz example?
http://github.com/AD7six/mi_development/blob/master/vendors/shells/templates/skel/config/crontab.txt.php
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP relat
Hmmm the paginate array is very simple :( That's what I can't
understand.
Array
(
[limit] => 3
[page] => 1
[contain] => Array
(
[Seller] => Array
(
[User] => Array
(
[0] => Count
You can use Shells:
http://cakebaker.42dh.com/2007/05/07/writing-a-custom-cakephp-console-script/
2010/7/30 cricket :
> On Thu, Jul 29, 2010 at 1:37 PM, hoss7 wrote:
>> i need cakephp cron job tutorial?
>
> Search google for "cakephp cron", there are several good posts about it.
>
> Check out th
Thanks Norman and Marco.
Yes I'm creating it with $form helper.
The weird thing is that it was showing errors normally as it would,
but another guy included some code and another input fields and after
that suddenly the errors stopped showing. And I don't see anything
abnormal in this guy's added c
On Fri, Jul 30, 2010 at 7:45 AM, Tomatosoup wrote:
> Hello,
>
> Does anybody know of a function like generatetreelist that seperates
> the depth from the value. Instead of counting the spacer chars.
>
> I saw an SQL query in the explanation page of MySQL.
> It's this page:
> http://dev.mysql.com/
On Fri, Jul 30, 2010 at 7:48 AM, Gildonei Mendes A. (Junior)
wrote:
> Hi,
>
> I'm starting with CakePHP, and I'm using the latest version of cakePHP
> (1.3.3), I configured my "core.php" with debug, 2, but the SQL
> statements doesn't apper on the window.
See this page:
http://book.cakephp.org/vi
Also, instead of grabbing from the session variable directly you
should use one of the cake specific functions...
$user = $_SESSION['Auth']['User']['first_name'];
should be:
$this->Session->read('Auth.User.first_name');
or (I prefer this way as someone can't mess with this data like they
can th
Set your message as a variable instead of concating them inside the
functions parameter list:
Example:
$text = 'Thank you for logging in: ';
$flashmsg = $txt . $user;
$this->Session->setFlash($flashmsg, 'growl',
array('type'=>'important'));
or
$flashmsg = 'Thank you for logging in: ' . $user;
$
Does Apache have mod_digest loaded?
On Thu, Jul 29, 2010 at 2:58 PM, Michael wrote:
> I am having difficulty getting digest authentication to work. The
> code works if I use basic, but when I switch to digest, the
> credentials don't authenticate (i.e. the browser username/password
> popup keeps
On Thu, Jul 29, 2010 at 10:09 AM, AD7six wrote:
>
>> and no the
>> ones in views/email directory
>
> where did you read it would look in views/email?
Perhaps huoxito meant views/layouts/email/
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
On Thu, Jul 29, 2010 at 1:37 PM, hoss7 wrote:
> i need cakephp cron job tutorial?
Search google for "cakephp cron", there are several good posts about it.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message
you could use getpath, eg:
count($this->Model->getpath($id, array('id')));
hth
Jon
On 30 July 2010 12:45, Tomatosoup wrote:
> Hello,
>
> Does anybody know of a function like generatetreelist that seperates
> the depth from the value. Instead of counting the spacer chars.
>
> I saw an SQL query
Hi,
I'm starting with CakePHP, and I'm using the latest version of cakePHP
(1.3.3), I configured my "core.php" with debug, 2, but the SQL
statements doesn't apper on the window.
A sample of the project is hosted at http://www.sitecomarte.com.br/nutriaqua.
Some links aren't functional, I already
Hello,
Does anybody know of a function like generatetreelist that seperates
the depth from the value. Instead of counting the spacer chars.
I saw an SQL query in the explanation page of MySQL.
It's this page:
http://dev.mysql.com/tech-resources/articles/hierarchical-data.html
This is the query:
well, i tried once... and failed :)
On 30 Jul., 12:19, keymaster wrote:
> If anyone wants to reaffirm their commitment to the intelligence of
> cake, spend an hour reading the zend framework quickstart.
>
> You would not believe the amount of code and configuration involved in
> getting a simple
If anyone wants to reaffirm their commitment to the intelligence of
cake, spend an hour reading the zend framework quickstart.
You would not believe the amount of code and configuration involved in
getting a simple ZF app up and running with a single controller/model
and two actions/views (index,
Are you sure you are using the $form->input for all the fields and
$form->create?
On Jul 30, 2:19 am, Norman Paniagua wrote:
> Can you show your code?
> ---
>
> Norman Paniagua
>
> 2010/7/29 Roland Pish
>
>
>
> > Hi.
>
> > Suddenly a form stopped showing the error messages with the > class="err
i dun get it. anythg juz going wrong. the page can validate if there is no
image selected, also it can validate if it is not jpeg. but when i upload a
photo it been refreshed the page. but image did not appear in folder or been
saved in database
On Fri, Jul 23, 2010 at 11:37 AM, tristan_ph wrote:
It is not working while saving the data while adding the data or while
editing the existing data?
I have the same problem with cakephp 1.3 but while editing the associated
model data using saveAll.
If it is not saving the data while editing then in cakephp 1.3 you have to
specify the related model
50 matches
Mail list logo