content top
Enable curl in WAMP...
I was getting the following error when I tried to use the curl library in one of my projects which I developed using WAMP. “Fatal error: Call to undefined function curl_init().” Solution : Step 1 : Open your php.ini Step 2 : Find the following line. ;extension=php_curl.dll Step 3 : Remove...
Warning: file_get_contents() [function.f...
Recently I worked on Youtube API for one of my Websites. The task was that  user will enter the youtube video URL in a text box and while clicking on a button I have to display the video details. I used file_get_contents() for getting the youtube feed entry of the video. It was working fine in my local...
Dynamically Loading a model in Cake PHP...
Dynamically Loading a model in Cake PHP
You may need to access a different model in a controller that it actually belongs to. For example you may have to access the model ‘comment ‘  in a controller  ‘Post”. Or you may have to access the rating model inside you video Controller. Following are  three methods for using...

« Previous Entries