Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Facebook PHP SDK for CodeIgniterFacebook PHP SDK v4 CodeIgniter
Post: RE: Facebook PHP SDK for CodeIgniterFacebook PHP S...

The long awaited v3.0.0 of my Facebook library for CodeIgniter 3 that include support for Facebook PHP SDK v5 and above is finally release after a long time in the develop branch. The update also i...
17,076 Views
9 Replies
05-23-2016, 04:29 AM
silentium
    Thread: Facebook PHP SDK for CodeIgniterFacebook PHP SDK v4 CodeIgniter
Post: RE: Facebook PHP SDK for CodeIgniterFacebook PHP S...

Sorry for absence in responding to comments here, been a busy summer. I have finally got to it and updated the library to support the latest version of the Facebook PHP SDK v5. The Facebook SDK cha...
17,076 Views
9 Replies
10-06-2015, 03:43 PM
silentium
    Thread: Realtime (WebSockets) library with Pusher
Post: RE: Realtime (WebSockets) library with Pusher

The project I created the library for is now live and can be found here http://hamptonspicnicproperties.com/ It uses realtime events to sync a phone call with an interactive video. Only works with ...
4,774 Views
2 Replies
06-02-2015, 04:00 PM
silentium
    Thread: Cronjob via HTTP
Post: RE: Cronjob via HTTP

A cron job can either, as you mentioned, execute a PHP script over HTTP using a URL or by the command line using a file path. If you use the latter, command line file path, the is_cli_request() will b...
13,333 Views
11 Replies
05-06-2015, 02:42 PM
silentium
    Thread: Why is this preg_match not working?
Post: RE: Why is this preg_match not working?

To allow what you ask for (alphanumeric, spaces, underscores, ampersands and hyphens), use what I have in my first example, minus the tilde. /^[&a-z0-9 _-]+$/i What confuses me is that you say y...
14,815 Views
5 Replies
04-30-2015, 09:48 PM
silentium
    Thread: Why is this preg_match not working?
Post: RE: Why is this preg_match not working?

Try this regex /^[~&a-z0-9 _-]+$/i I have tested it on this site http://www.regexr.com/ and in PHP code, both working. Below is an example code. PHP Code: -- $strings = array(    'Foo & Bar',...
14,815 Views
5 Replies
04-30-2015, 03:52 PM
silentium
    Thread: how can i build websocket application using codeigniter
Post: RE: how can i build websocket application using co...

Handling realtime events properly is very hard and there is a lot of things to think about. Quote: -- Vital for any production deployment, should be considered when choosing a real-time web tech...
69,050 Views
12 Replies
04-29-2015, 10:36 PM
silentium
    Thread: How to verify if a user is logged in?
Post: RE: How to verify if a user is logged in?

Since you set both 'username' and 'loginuser' in your session, you can use both or either of them to check if the user is logged in. Here is a quick example using 'username' for the check PHP Cod...
29,493 Views
7 Replies
04-20-2015, 03:24 PM
silentium
    Thread: How to update all rows in database using batch update?
Post: RE: How to update all rows in database using batch...

Hi, I would do something like this. Added comments to the code to try and make it clear how it works. Controller PHP Code: -- function ghjk() {    $this->load->helper('text');    $this->l...
24,994 Views
2 Replies
04-20-2015, 03:00 PM
silentium
    Thread: Using Composer with Codeigniter?
Post: RE: Using Composer with Codeigniter?

That guide is confusing and weird about how to load composer packages. It mentions in the guide there is a autoload option in the config file of CodeIgniter for Composer, but at the same time, it add...
37,327 Views
9 Replies
04-16-2015, 04:19 PM
silentium
    Thread: Facebook PHP SDK for CodeIgniterFacebook PHP SDK v4 CodeIgniter
Post: RE: Facebook PHP SDK v4 for CodeIgniterFacebook PH...

alkarim Wrote: (04-16-2015, 01:38 AM) -- great one....i was looking for this a long way back...any way nice work. -- Thanks. Glad you found it useful.
17,076 Views
9 Replies
04-16-2015, 01:32 PM
silentium
    Thread: How to use facebook sdk4?
Post: RE: How to use facebook sdk4?

alkarim Wrote: (04-16-2015, 02:22 AM) -- better download the SDK from the facebook itself. -- You do when using my library as it requires you to install the Facebook SDK using Composer.
5,432 Views
6 Replies
04-16-2015, 01:32 PM
silentium
    Thread: How to use facebook sdk4?
Post: RE: How to use facebook sdk4?

I have not, but here is a good guide that should put you on the right track on implementing your own solution http://www.benmarshall.me/facebook-sdk-php-v4-codeigniter/ Even if you don't use my cod...
5,432 Views
6 Replies
04-14-2015, 12:02 PM
silentium
    Thread: Form validation error messages from language file?
Post: RE: Form validation error messages from language f...

Wonderful. Happy to help.
22,160 Views
10 Replies
04-14-2015, 11:59 AM
silentium
    Thread: blank set_value() return default value
Post: RE: blank set_value() return default value

I would think so yes. At least I see it as a issue. Report it on Github https://github.com/bcit-ci/CodeIgniter/issues to get a discussion about it to see what the developers of CI thinks.
17,814 Views
0 Replies
04-13-2015, 04:41 PM
silentium
    Thread: Form validation error messages from language file?
Post: RE: Form validation error messages from language f...

You are missing the __construct() function in your MY_Form_validation class. I used this method for error translation myself just a few days ago with no issue. So it should work just fine.
22,160 Views
10 Replies
04-13-2015, 09:24 AM
silentium
    Thread: Facebook PHP SDK for CodeIgniterFacebook PHP SDK v4 CodeIgniter
Post: Facebook PHP SDK for CodeIgniterFacebook PHP SDK v...

There has been a few questions lately here in the forums on how to use the Facebook PHP SDK with CodeIgniter. So I decided to release the library I coded and have used in a few of my projects. I have...
17,076 Views
9 Replies
04-12-2015, 08:50 PM
silentium
    Thread: Display data securely which come from database
Post: RE: Display data securely which come from database

You should still use htmlspecialchars() and similar functions. CodeIgniter do not format, escape or filter the database output for you. What it does, when using the Query Builder Class, is escaping...
2,725 Views
2 Replies
04-12-2015, 01:21 PM
silentium
    Thread: Question regarding XSS.
Post: RE: Question regarding XSS.

As mentioned in the upgrade notes from CI 2.2 to CI 3 Quote: -- A largely unknown rule about XSS cleaning is that it should only be applied to output, as opposed to input data. -- Source: http...
4,842 Views
2 Replies
04-12-2015, 11:53 AM
silentium
    Thread: blank set_value() return default value
Post: RE: blank set_value() return default value

After digging through the core of CI 2.2 and CI 3, there are one small difference in the code that seems to be creating this issue. In CI 3, in system/libraries/Form_validation.php line 941 (https:...
17,814 Views
0 Replies
04-12-2015, 10:59 AM
silentium

Theme © iAndrew 2016 - Forum software by © MyBB