Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: New to CodeIgniter - how do I know what version is installed?
Post: RE: New to CodeIgniter - how do I know what versio...

Look for const in system/core/CodeIgniter.php: Mine is : const CI_VERSION = '3.1.8'; CodeIgniter 2 looks a little different define('CI_VERSION', '2.1.0'); you can also echo in php ...
4,591 Views
5 Replies
08-29-2018, 11:32 PM
Marcel
    Thread: cannot get post values from input item
Post: RE: cannot get post values from input item

kvanaraj Wrote: (08-24-2018, 12:52 AM) -- Marcel Wrote: (08-24-2018, 12:48 AM) -- kvanaraj Wrote: (08-24-2018, 12:33 AM) -- Marcel Wrote: (08-24-2018, 12:24 AM) -- Hi there buttons seems to mis...
6,910 Views
8 Replies
08-24-2018, 01:42 AM
Marcel
    Thread: cannot get post values from input item
Post: RE: cannot get post values from input item

kvanaraj Wrote: (08-24-2018, 12:33 AM) -- Marcel Wrote: (08-24-2018, 12:24 AM) -- Hi there buttons seems to missing type="submit" Code: --  Save and Exit  Save and Continue -- hope...
6,910 Views
8 Replies
08-24-2018, 12:48 AM
Marcel
    Thread: cannot get post values from input item
Post: RE: cannot get post values from input item

Hi there buttons seems to missing type="submit" Code: --  Save and Exit  Save and Continue -- hope this helps
6,910 Views
8 Replies
08-24-2018, 12:24 AM
Marcel
    Thread: calculating values based on the form input
Post: RE: calculating values based on the form input

Yes JS is the Way to go here is a small snippet that should get you going. Carefull, this is far from professional quality code just a basic implementation using jquery. Code: -- ...
7,958 Views
3 Replies
08-20-2018, 04:19 AM
Marcel
    Thread: Looking for hoster. Any pos/neg feedback re: BlueHost
Post: RE: Looking for hoster. Any pos/neg feedback re: B...

Ive been with Infomaniak for almost 8 years now and just keeps getting better :)
12,758 Views
12 Replies
05-03-2018, 07:47 AM
Marcel
    Thread: Can't set customer form error
Post: RE: Can't set customer form error

randomhacks Wrote: (03-07-2018, 01:52 PM) -- Hello, I want to set a customer error message.  Can anyone tell me why this doesn't it appear? Thanks, James PHP Code: --         $this...
2,691 Views
2 Replies
03-08-2018, 04:05 AM
Marcel
    Thread: $this->output
Post: $this->output

hi all I did this function to prevent direct linking to images on my site. if user links https://mydomain/avatar/36/WU8VgWCXx4 and isnt logged in he is taken to the login page. the MYcontrolle...
3,212 Views
1 Replies
02-22-2018, 05:56 AM
Marcel
    Thread: Javascript/Html Server side verification
Post: RE: Javascript/Html Server side verification

dave friend Wrote: (02-21-2018, 08:01 AM) -- Go back a read the article I linked. It's about why you DON'T use encryption in URL parameters. Instead you use a "random lookup" value. You can make i...
5,606 Views
6 Replies
02-21-2018, 08:26 AM
Marcel
    Thread: Javascript/Html Server side verification
Post: RE: Javascript/Html Server side verification

dave friend Wrote: (02-21-2018, 06:40 AM) -- There's isn't a way from preventing someone from taking pot-shots at your data. But you can obfuscate whats going on. https://paragonie.com/blog/2015/09...
5,606 Views
6 Replies
02-21-2018, 06:57 AM
Marcel
    Thread: Javascript/Html Server side verification
Post: RE: Javascript/Html Server side verification

Krycek Wrote: (02-21-2018, 05:54 AM) -- I personally would check permissions on the server side with usergroups / roles. So when I am logged in as Administrator group / role, I have permissions to d...
5,606 Views
6 Replies
02-21-2018, 06:18 AM
Marcel
    Thread: Javascript/Html Server side verification
Post: Javascript/Html Server side verification

Hi all ive been playing around and have a question that i just cant find a good answer. I have a HTML and send it to my controller through javascript. i have values in data-attributes I hav...
5,606 Views
6 Replies
02-21-2018, 12:43 AM
Marcel
    Thread: Active Record Join with and or
Post: RE: Active Record Join with and or

InsiteFX Wrote: (05-02-2017, 04:03 AM) -- If I remember correct the order_by should be the last statement after the where. Mysql does group by before order by and you get mixed results not what you ...
5,427 Views
3 Replies
05-02-2017, 05:50 AM
Marcel
    Thread: Active Record Join with and or
Post: Active Record Join with and or

Hi all , As you see in the code below im trying to select only the messages marked active (flagged with a 1. i have joins to other tables like friends and account or avatar. all works great exept ...
5,427 Views
3 Replies
05-02-2017, 01:55 AM
Marcel
    Thread: Get data from mysql and merge instead of joins
Post: RE: Get data from mysql and merge instead of joins

spjonez Wrote: (04-03-2017, 07:29 AM) -- array_merge and instead of returning false return an empty array if the query doesn't produce results. -- thanks ill give it a go $array1 =model(get some da...
6,193 Views
5 Replies
04-03-2017, 07:44 AM
Marcel
    Thread: Get data from mysql and merge instead of joins
Post: Get data from mysql and merge instead of joins

hi all, in my controller is it possible to merge $this->data[ 'user' ] =model(get some data) returns an array. basic model function below Code: -- function get_recovery_email() {        $...
6,193 Views
5 Replies
04-03-2017, 05:10 AM
Marcel
    Thread: Handling non exsisting record mysql
Post: Handling non exsisting record mysql

Hi all Ive done this code to handle a query that could give nothing if record dosnt exsist. Code: --  function get_user_data()    {        $user_id = $this->auth->get_user_id();        $d...
1,883 Views
0 Replies
03-21-2017, 07:54 AM
Marcel
    Thread: image upload and crop
Post: image upload and crop

Hi all, i have baught a cool jquery plugin on code canyon but cant seem to get it to work with CI. is anyone willing to help me thanks
4,108 Views
3 Replies
02-21-2017, 07:24 AM
Marcel
    Thread: codignighter ajax history
Post: RE: codignighter ajax history

skunkbad Wrote: (01-09-2017, 04:43 PM) -- I have used jQuery Address plugin for this. http://www.asual.com/jquery/address/ Terrible way to make a website. You will always hate yourself for doin...
8,051 Views
5 Replies
01-11-2017, 05:55 AM
Marcel
    Thread: codignighter ajax history
Post: RE: codignighter ajax history

ivantcholakov Wrote: (01-09-2017, 02:24 AM) -- It would be a long explanation. Generally, 1. for every button/link that updates a HTML fragment through AJAX you need to have also a URL that would ...
8,051 Views
5 Replies
01-09-2017, 02:28 AM
Marcel

Theme © iAndrew 2016 - Forum software by © MyBB