Archive for the ‘php’ Category

This worked immediatly no problems

http://learneveryday.net/php/framework/codeigniter/ci_series/sending-email-in-codeigniter-with-gmail-series-2/

Advertisements

they got error

An error occurred. Please try again later.

 

Go to your facebook developer app edit page and disable Sandbox Mode

codeigniter returns SERVER ERROR 500

Posted: April 11, 2013 in php

first, add this code to the first controller called:

error_reporting(E_ALL);
ini_set(“display_errors”, “On”);

I had a problem that CURL wasn’t installed (needed by facebook SDK). so I put in the command line:

sudo apt-get install php5-curl

If you want to extend a CI_Controller you need to add an include statement on the Child class php file.

for example, I did a CI_Controller named Loggable which includes login/logout/register functionallity and I want another Controller named webClient to inherit.

So it looks like:

controllers/loggable.php:

class Loggable extends CI_Controller {

controllers/webclient.php

include(‘loggable.php’);

class Webclient extends Loggable {

CAPTCHA solution for codeigniter

Posted: March 25, 2013 in php

tried lots of solutions. The best one so far, which was verrrrrry easy to install is this:

https://github.com/Cnordbo/RECaptcha-for-Codeigniter

just follow the readme

http://learnwithgireesh.blogspot.co.il/2012/06/email-verification-using-codeigniter.html