Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: File Upload Library and special characters
Post: RE: File Upload Library and special characters

1) you have to need to change file name during upload (encrypted _name) 2) you may change spacial character with a specific string, for example, TEST = t_st Thanks In Advance
11,972 Views
12 Replies
11-21-2018, 05:13 AM
Gurutechnolabs
    Thread: Problem with htaccess subfolder
Post: RE: Problem with htaccess subfolder

using following code you can call subfolder RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] RewriteEngine o...
3,079 Views
1 Replies
11-19-2018, 06:38 AM
Gurutechnolabs
    Thread: Routing to specific controller in case controller/method is not found.
Post: RE: Routing to specific controller in case control...

$route['(:any)'] = 'page/view/$1'; you have not use directly $route['(:any)'] its all request owerrited inserted you can use alternatively $route['blog_details/(:any)'] = 'page/view/$1'
31,696 Views
13 Replies
11-16-2018, 04:08 AM
Gurutechnolabs
    Thread: how to disable submit button when value is not null
Post: RE: how to disable submit button when value is not...

You can need to use any validator library, for example, => http://1000hz.github.io/bootstrap-validator/ Give all validation functionality by default and also possible with customization as per you ...
7,145 Views
5 Replies
11-06-2018, 07:15 AM
Gurutechnolabs
    Thread: Redirection inside controller
Post: RE: Redirection inside controller

You must need to put if and else condition for example public function index ($jack) { if($jack === 'John') { $this->error404(); }else{ $this->load->view('mypost'); } } O...
7,205 Views
7 Replies
11-06-2018, 07:14 AM
Gurutechnolabs
    Thread: Is File Upload class creates unique file name when encrypt_name set true?
Post: RE: Is File Upload class creates unique file name ...

You need a .htaccess file on your root folder  like below code RewriteEngine On RewriteCond %{REQUEST_URI} ^/system.* RewriteRule ^(.*)$ index.php?/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f ...
14,699 Views
7 Replies
11-02-2018, 02:32 AM
Gurutechnolabs
    Thread: CodeIgniter edit checkbox showing error
Post: RE: CodeIgniter edit checkbox showing error

4,667 Views
3 Replies
11-01-2018, 04:25 AM
Gurutechnolabs
    Thread: Is it a good idea to overwrite Super Global Variables ??
Post: RE: Is it a good idea to overwrite Super Global Va...

oppachoriya Wrote: (09-14-2018, 11:18 AM) -- In my opinion, we should discourage, happy to understand what best practice should be ? Example, where $_FILES is overwritten as   PHP Code: -- $f...
3,885 Views
3 Replies
10-25-2018, 02:59 AM
Gurutechnolabs
    Thread: defined('BASEPATH') OR exit('No direct script access allowed');
Post: RE: defined('BASEPATH') OR exit('No direct script ...

defined('BASEPATH') OR exit('No direct script access allowed'); i am using it in controllers file.
12,267 Views
6 Replies
10-18-2018, 02:14 AM
Gurutechnolabs
    Thread: 'Greater than' operator is working but not 'lesser than' in Model class
Post: RE: 'Greater than' operator is working but not 'le...

Please check In your database "infoID" datatype if data type is int than only work if datatype is not int or float than you must be need to convert first it to int for example "CAST(infoID) AS INT"
9,009 Views
4 Replies
10-18-2018, 02:03 AM
Gurutechnolabs
    Thread: Fetching data using unique ID from the database.
Post: RE: Fetching data using unique ID from the databas...

jelz2018 Wrote: (10-04-2018, 11:45 PM) -- Hello I'm new to both Codeigniter and PHP I have created a system for employees. I want that when an employee login to the system he/she will only see his/he...
10,238 Views
4 Replies
10-16-2018, 05:02 AM
Gurutechnolabs
    Thread: Unable to remove index.php on Google Cloud server.
Post: RE: Unable to remove index.php on Google Cloud ser...

I am not sure but maybe this will work. I think you have to check.htaccesss file properly or you can remove it and then check.
9,311 Views
2 Replies
10-13-2018, 07:04 AM
Gurutechnolabs
    Thread: connection database on Bluehost
Post: RE: connection database on Bluehost

Please re-check your database username and password also check your database user access and go ahead
7,826 Views
8 Replies
10-13-2018, 06:50 AM
Gurutechnolabs
    Thread: Show logo in email inbox
Post: RE: Show logo in email inbox

Yes, you can send a logo to your users on email template. A template must be an HTML table format. NOTE: Please check before sending an email set header properly and email are not spam if your ema...
16,030 Views
15 Replies
10-09-2018, 07:28 AM
Gurutechnolabs
    Thread: Problem when calling controller method
Post: RE: Problem when calling controller method

Hello, please check your base URL as well as .htacess rules. some server does not support .htacess rules.
14,807 Views
14 Replies
10-03-2018, 05:39 AM
Gurutechnolabs
    Thread: Code igniter 3 load controller in library
Post: RE: Code igniter 3 load controller in library

Libary must be call with created library class for example $this->load->library('Someclass');
4,643 Views
2 Replies
10-02-2018, 03:07 AM
Gurutechnolabs
    Thread: Calling library method inside model error (with solution)
Post: RE: Calling library method inside model error (wit...

Hello, you can call methods in My library through $this->mysecondlibrary-> class Mysecondlibrary extends My library
4,537 Views
3 Replies
10-01-2018, 03:48 AM
Gurutechnolabs
    Thread: YEAR in active record
Post: RE: YEAR in active record

Hello, I just read your question. I think you need to change the data type. you have to need to change your field data type for 'numero_settimana' int to DATE. Hope it will help you friend.
4,501 Views
3 Replies
10-01-2018, 03:13 AM
Gurutechnolabs
    Thread: SQL Server Error
Post: RE: SQL Server Error

Hello, I got your problems. I have one solution for that hopefully it will help you. Change the memory_limit option in your php.ini as per your needs. or script on a live server then contact to ...
8,339 Views
6 Replies
09-29-2018, 12:52 AM
Gurutechnolabs
    Thread: How to Add Dynamic Header and Footer
Post: RE: How to Add Dynamic Header and Footer

Hello, When you want to set particular(dynamic) header footer in your home, about, contact us that type of pages then you have to set this code in about controller. class Userlist extends CI_Controll...
28,694 Views
12 Replies
09-28-2018, 07:07 AM
Gurutechnolabs

Theme © iAndrew 2016 - Forum software by © MyBB