Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: some hooks request page twice
Post: some hooks request page twice

good day! when i use post_controller_constructor, post_controller or display_override hooks, pages requested twice, so all of requests to db also requested twice, and because of the code below which i...
1,049 Views
0 Replies
10-22-2016, 12:05 AM
Tecvid
    Thread: dynamic route
Post: RE: dynamic route

dave friend Wrote: (09-07-2016, 09:25 AM) -- The short answer is you cannot - at least not in a controller. The router class is the one that consumes the $route array and it does that before the cont...
2,120 Views
2 Replies
09-08-2016, 12:01 AM
Tecvid
    Thread: show_404() doesn't use my custom 404 page
Post: RE: show_404() doesn't use my custom 404 page

this is imposible until u will override the show_404() function, from the user_guide: You are encouraged to always have a default route as otherwise a 404 page will appear by default. PHP Code: -- $...
10,125 Views
3 Replies
09-06-2016, 06:27 AM
Tecvid
    Thread: dynamic route
Post: dynamic route

hi, how can i add new routes dynamically? directly in the controller, like this: PHP Code: -- class Users extends CI_Controller {    public function __remap()    {        $route['usernam...
2,120 Views
2 Replies
09-06-2016, 04:48 AM
Tecvid
    Thread: uploading mp3 files
Post: RE: uploading mp3 files

InsiteFX Wrote: (05-04-2016, 01:16 PM) -- post_max_size=32M upload_max_filesize=32M As mentioned above, both ini settings need to be set to the same value. -- they r the same value, n i have so...
9,280 Views
10 Replies
05-06-2016, 07:23 AM
Tecvid
    Thread: uploading mp3 files
Post: RE: uploading mp3 files

alotufo Wrote: (05-04-2016, 08:14 AM) -- Make sure that your mp3 files are not larger than the php.ini setting for file size. The two entries to look for are upload_max_filesize and post_max_size. --...
9,280 Views
10 Replies
05-04-2016, 08:53 AM
Tecvid
    Thread: uploading mp3 files
Post: RE: uploading mp3 files

InsiteFX Wrote: (05-03-2016, 04:29 AM) -- then it may be the way the mp3 was saved etc; -- maybe, it is very strange, all of them r form the same source, anyway thanks :)
9,280 Views
10 Replies
05-03-2016, 05:30 AM
Tecvid
    Thread: uploading mp3 files
Post: RE: uploading mp3 files

InsiteFX Wrote: (05-02-2016, 01:37 PM) -- If one of those is missing just add it to the mimes file. -- none of them is missing
9,280 Views
10 Replies
05-03-2016, 01:35 AM
Tecvid
    Thread: uploading mp3 files
Post: RE: uploading mp3 files

InsiteFX Wrote: (05-02-2016, 11:12 AM) -- audio/mpeg is the standard way: Firefox (mp3): audio/mpeg Firefox (zip): application/zip Chrome (mp3): audio/mp3 Chrome (zip): application/octet-stream...
9,280 Views
10 Replies
05-02-2016, 11:18 AM
Tecvid
  Exclamation Thread: uploading mp3 files
Post: uploading mp3 files

hi everyone, i get an error while uploading some mp3 files, i can upload all other file types that r in $config['allowed_types'], any image, any video, any other document, but not any mp3 file, some o...
9,280 Views
10 Replies
05-02-2016, 08:18 AM
Tecvid
    Thread: i can only use one "label file" in ~/language/english/ directory
Post: RE: i can only use one "label file" in ~/language/...

welcome :)
2,734 Views
3 Replies
04-14-2016, 01:42 AM
Tecvid
    Thread: how to delete from multiple tables using QB
Post: RE: how to delete from multiple tables using QB

Narf Wrote: (04-13-2016, 11:00 AM) -- There's more to it than that, but enforcing "caution" is perhaps the shortest way to describe the reasons why, yes. You are of course entitled to your opinion...
4,539 Views
6 Replies
04-13-2016, 11:25 AM
Tecvid
    Thread: how to delete from multiple tables using QB
Post: RE: how to delete from multiple tables using QB

Narf Wrote: (04-13-2016, 09:32 AM) -- You can't, and that's intentional. -- why intentional? is it bad? o.O or just 4 security (or maybe 4 caution) reasons, but i think these should be care of deve...
4,539 Views
6 Replies
04-13-2016, 09:47 AM
Tecvid
    Thread: how to delete from multiple tables using QB
Post: RE: how to delete from multiple tables using QB

Tpojka Wrote: (04-13-2016, 07:41 AM) -- Try with: PHP Code: -- "DELETE users, users_temp, user_settings FROM users INNER JOIN users_temp ON users.user_id = users_temp.utemp_user_id INNER JOIN use...
4,539 Views
6 Replies
04-13-2016, 08:12 AM
Tecvid
    Thread: i can only use one "label file" in ~/language/english/ directory
Post: RE: i can only use one "label file" in ~...

have u loaded the language file? PHP Code: -- $this->lang->load('label_perso'); --
2,734 Views
3 Replies
04-13-2016, 06:32 AM
Tecvid
  Question Thread: how to delete from multiple tables using QB
Post: how to delete from multiple tables using QB

hi everyone! how can rewrite the code below using pure QB without extending Query Builder Class? PHP Code: -- public function deny_email($user_id) { $sql = 'DELETE `users`, `users_temp`, `us...
4,539 Views
6 Replies
04-13-2016, 03:08 AM
Tecvid
    Thread: check if a value already exists in database
Post: RE: check if a value already exists in database

shanavas_m Wrote: (01-01-2016, 09:30 PM) -- How to check if a value already exists in database using built in form validation methods ? Thanks in advance  -- yeah, i am late for a reply, but i have...
33,542 Views
8 Replies
04-09-2016, 04:29 AM
Tecvid
    Thread: extending hooks
Post: extending hooks

hi everyone! i need advice.. i have decided to collect all my hooks in one class, like this: PHP Code: --
1,297 Views
0 Replies
04-06-2016, 03:42 AM
Tecvid
    Thread: Populate a Drop down from Database
Post: RE: Populate a Drop down from Database

michalsn Wrote: (03-25-2016, 08:58 AM) -- Controller is fine, but your model and view not. -- is array_column() faster than where clause? coz without where query takes all rows from db, isnt it bad...
5,293 Views
4 Replies
03-25-2016, 02:21 PM
Tecvid
    Thread: A Simple Font Awesome Helper
Post: RE: A Simple Font Awesome Helper

i have made it even more simple, n no need to update :) this will work even after font awesome will add new icons after update PHP Code: --
2,994 Views
1 Replies
03-23-2016, 12:30 AM
Tecvid

Theme © iAndrew 2016 - Forum software by © MyBB