Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: custom validation returns error always
Post: RE: custom validation returns error always

This is not the proper way to extend native libraries. Notice what they name theirs. I don't think your extended class is even being loaded since it's named improperly. https://codeigniter.com/user_g...
4,987 Views
4 Replies
12-14-2015, 12:06 PM
CroNiX
    Thread: pagination Problem elements don't change
Post: RE: pagination Problem elements don't change

Does the URL change appropriately when clicking the links? Are you using the correct segment to grab the page?
2,495 Views
1 Replies
11-17-2015, 12:21 PM
CroNiX
    Thread: CI with height traffic project.
Post: RE: CI with height traffic project.

I don't know who told you that, but I have projects using CI that get hundreds of thousands of pageviews a day, thousands of simultaneous users and generates tens of thousands of dollars a day. It's a...
19,142 Views
11 Replies
11-17-2015, 12:06 PM
CroNiX
    Thread: How do these sites know what framework I'm using and how do I hide it?
Post: RE: How do these sites know what framework I'm usi...

They could be doing things like reading license.txt from your base dir, which comes with CI. Or maybe a composer file.
7,440 Views
6 Replies
11-13-2015, 11:14 AM
CroNiX
    Thread: Session destroing flashdata
Post: RE: Session destroing flashdata

nevermind
3,755 Views
3 Replies
11-12-2015, 05:19 PM
CroNiX
    Thread: /application/core/MY_Controller.php
Post: RE: /application/core/MY_Controller.php

Here's an old, but still applicable read: https://philsturgeon.uk/codeigniter/2010/02/08/CodeIgniter-Base-Classes-Keeping-it-DRY/
13,547 Views
5 Replies
11-10-2015, 07:59 PM
CroNiX
    Thread: email library
Post: RE: email library

Also, make sure you are allowing smtp connections from within your gmail account settings.
6,924 Views
5 Replies
10-16-2015, 12:21 PM
CroNiX
    Thread: Mod_rewrite not working
Post: RE: Mod_rewrite not working

Some servers need a ? after index.php RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
8,535 Views
4 Replies
10-16-2015, 12:15 PM
CroNiX
    Thread: How can I create a custom XML feed?
Post: RE: How can I create a custom XML feed?

Basically the same way as you genterate a html page with codeigniter...grab data, manipulate it, output it. Except you'd just be outputting xml instead of html. You can use the DOMDocument object/m...
8,281 Views
4 Replies
10-05-2015, 02:20 PM
CroNiX
    Thread: allowed types in upload file
Post: RE: allowed types in upload file

Post your definition for DWG that you created in mimes.php, including the associated mime type definitions you used.
2,486 Views
1 Replies
10-05-2015, 11:56 AM
CroNiX
    Thread: Unable to get css on page
Post: RE: Unable to get css on page

You could also just use an absolute url, starting with a / to start from site root:
10,814 Views
6 Replies
10-05-2015, 11:50 AM
CroNiX
    Thread: Making Directory PHP Codeigniter
Post: RE: Making Directory PHP Codeigniter

PHP has a simple native function to do that, so no need for a helper really... http://php.net/manual/en/function.mkdir.php
13,074 Views
1 Replies
10-05-2015, 11:47 AM
CroNiX
    Thread: How to structure the database - MYSQL performance question
Post: RE: How to structure the database - MYSQL performa...

Indexes on: SELECTed fields ORDER BY fields WHERE fields fields JOINed on
8,106 Views
6 Replies
10-05-2015, 11:43 AM
CroNiX
    Thread: Handle Dynamic Database Loading
Post: RE: Handle Dynamic Database Loading

Once you retrieve the credentials, you can manually load and return a new database object. http://www.codeigniter.com/user_guide/database/connecting.html#manually-connecting-to-a-database http://w...
2,189 Views
1 Replies
09-06-2015, 10:29 AM
CroNiX
    Thread: Validation of custom data (not $_POST)
Post: RE: Validation of custom data (not $_POST)

You can use CI's form validation to format data as well. Create a custom rule or callback and instead of returning a TRUE/FALSE from the validation rule, return the new value. http://www.codeignite...
6,423 Views
3 Replies
09-06-2015, 10:25 AM
CroNiX
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

AFAIK, there simply isn't anything that exists currently that uses pure native sessions in CI. So you can't do what you are wanting to do without using native $_SESSION. Just put the session_start and...
23,499 Views
15 Replies
09-03-2015, 09:50 AM
CroNiX
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

So just use $_SESSION if you need pure native sessions?
23,499 Views
15 Replies
09-03-2015, 09:39 AM
CroNiX
    Thread: how to remove index.php in my URL
Post: RE: how to remove index.php in my URL

If you didn't know how to do this, you might want to give the user guide a thorough reading since it's covered in there. I'm sure there's a lot of other things you are unaware of, which would probably...
5,547 Views
5 Replies
09-03-2015, 09:27 AM
CroNiX
    Thread: Switching databases
Post: RE: Switching databases

I think its more resource intensive to open a new db connection. I only use multiple connections if there are actually different db servers I'm interfacing with.
7,539 Views
5 Replies
09-03-2015, 09:19 AM
CroNiX
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

The file driver is the native php session handler, which saves to files. It's just a wrapper for $_SESSION. You can always just use $_SESSION in your application as well and not use any session lib...
23,499 Views
15 Replies
09-03-2015, 09:18 AM
CroNiX

Theme © iAndrew 2016 - Forum software by © MyBB