Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Thumbs Up Thread: SQL string to query builder of Codeigniter
Post: RE: SQL string to query builder of Codeigniter

glad to help you.
4,695 Views
3 Replies
06-05-2015, 03:12 AM
techbat
    Thread: SQL string to query builder of Codeigniter
Post: RE: SQL string to query builder of Codeigniter

Try this code, PHP Code: -- $this->db->select("contact.*, IF( play_date < CURDATE() , 1, 0 ) playdate, DATE_FORMAT(game_date, '%d/%m/%Y') game_date, status,(TO_DAYS(match_date) - TO_DAYS(CURDATE...
4,695 Views
3 Replies
06-04-2015, 09:43 PM
techbat
    Thread: Use CI inside of plain php files
Post: RE: Use CI inside of plain php files

it would be work fine as well as in CI3, but i would recommend you to use third party package library, to load external resource into CI MVC. click here (http://www.codeigniter.com/user_guide/librari...
6,083 Views
3 Replies
06-01-2015, 10:31 PM
techbat
    Thread: CSRF giving problem with ajax
Post: RE: CSRF giving problem with ajax

when you send custom fields by ajax, then CSRF token is not send in request data so you should post the CSRF token to your data option in AJAX request data.. PHP Code: -- $.post(url, {'':'', other...
17,765 Views
10 Replies
05-29-2015, 05:56 AM
techbat
    Thread: Form validation custom message
Post: RE: Form validation custom message

Form Library provides set_message() method to set message on validate rule, even run CI native rule or custom created rule, see below example PHP Code: -- # required is rule name # 2nd param for ...
3,864 Views
2 Replies
05-15-2015, 12:22 AM
techbat
    Thread: Problem with Codeigniter
Post: RE: Problem with Codeigniter

kenjis Wrote: (05-14-2015, 02:20 PM) -- techbat Wrote: (05-14-2015, 07:01 AM) -- Codeiginter session Library is internally using COOKIE, so you may get cache issue mostly in IE browsers, means cooki...
10,673 Views
5 Replies
05-14-2015, 10:56 PM
techbat
    Thread: Problem with Codeigniter
Post: RE: Problem with Codeigniter

Codeiginter session Library is internally using COOKIE, so you may get cache issue mostly in IE browsers, means cookie is store in client browser, when client received response header then updated ses...
10,673 Views
5 Replies
05-14-2015, 07:01 AM
techbat
    Thread: CI_ftp library
Post: RE: CI_ftp library

if there any invalid credentials issue then you might get error response. you should check httpd error_log file, so you can find exact page crash issue.
4,179 Views
3 Replies
05-11-2015, 11:32 PM
techbat
    Thread: Why encryption in codeigniter working in local but not on the server?
Post: RE: Why encryption in codeigniter working in local...

CI Encryption library required mcrypt and openssl extensions, check on your server configuration, both extensions are available. And what issue is show up on server, please elaborate more??
5,611 Views
0 Replies
03-24-2015, 10:47 PM
techbat
    Thread: Image uploading with ajax!
Post: RE: Image uploading with ajax!

rakibtg Wrote: (03-23-2015, 04:40 AM) -- I am sorry! i forgot to add my js code above, here is my javascript code, pls have a look Code: --    $(document).on('ready', function(){      ...
16,874 Views
0 Replies
03-23-2015, 06:00 AM
techbat
  Smile Thread: Image uploading with ajax!
Post: RE: Image uploading with ajax!

You have not used AJAX code, that can send data on server by AJAX... i would prefer to use jQuery Form Plugin (http://malsup.com/jquery/form/) to use server side as same as form post, amendment in vie...
16,874 Views
0 Replies
03-23-2015, 02:24 AM
techbat
    Thread: Image uploading with ajax!
Post: RE: Image uploading with ajax!

Post here your client side code as well, your code will support only multipart/form-data if your are using supported plugin . Server side code depend on you client send method, many AJAX file uploa...
16,874 Views
0 Replies
03-23-2015, 02:00 AM
techbat
    Thread: Error uploading file pdf
Post: RE: Error uploading file pdf

You made some misconfiguration in upload method code, `upload_url` not any config type in upload library. `max_size` value by default in KB not need to add in value better to use more Upload lib...
7,137 Views
0 Replies
03-19-2015, 10:46 PM
techbat

Theme © iAndrew 2016 - Forum software by © MyBB