Sunday, April 27, 2014

Re: Jquery and Cake php problem

What are you doing in internal.php that could not be done better and more “correct” in your controllers ?

/thomas


On 26 Apr 2014, at 11:53, Sir Neiklot Bega <neiklotbega3@gmail.com> wrote:

Hello,

I'm trying to do a 

   $('#div').load("/app/View/About/internal.php")

To load a content in real-time in a div,

This is working well in the localhost but when I put this code in the server, cakePhp is searching a Controller (View) to process this request, and then is retourning:

How I can't inform that this is a page in php that must be load to this Div section without using a controller????


Thanks in advance,
Neiklot

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: