Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,143
» Latest member: Yacine31
» Forum threads: 65,659
» Forum posts: 412,929

Full Statistics

Latest Threads
CodeIgniter 3.1.4 release...
Forum: News & Discussion
20 minutes ago
» Replies: 12   » Views: 3,176
Add option in select and ...
Forum: General Help
2 hours ago
» Replies: 0   » Views: 18
Session: Error while tryi...
Forum: CodeIgniter 3.x
3 hours ago
» Replies: 11   » Views: 2,183
Combine input val ajax fr...
Forum: General Help
3 hours ago
» Replies: 1   » Views: 37
CI4 Database Pessimistic ...
Forum: CodeIgniter 4 Feature Requests
4 hours ago
» Replies: 1   » Views: 50
Class stdClass not found
Forum: General Help
6 hours ago
» Replies: 2   » Views: 26
Want a Codeigniter Query
Forum: General Help
9 hours ago
» Replies: 2   » Views: 115
CodeIgniter has some erro...
Forum: General Help
9 hours ago
» Replies: 3   » Views: 105
Exact location of CI file...
Forum: Installation & Setup
Yesterday, 10:10 PM
» Replies: 10   » Views: 111
No Controller Call In Con...
Forum: CodeIgniter 4 Feature Requests
Yesterday, 05:59 PM
» Replies: 0   » Views: 40

 
  member to member donation platform
Posted by: anodeen - 03-17-2017, 08:55 AM - Forum: Jobs - Replies (2)

anyone to help with script like this site ? i will appreciate. "http://247bonanza.com"


  Communauty_auth 404 not found
Posted by: nine - 03-17-2017, 02:58 AM - Forum: Addins - Replies (3)

Hi,

i've installed community_auth as third party. It seems its working, i was able to create an admin account adn it's registering correctly on my user table.
in the documentation : you have to mention to enable hooks in config file. thats missing.

my problem is that i have a 404 not found when i go to /examples
here is my .htaccess file :
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f 

RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Can you help, thank you ?
nine


  Codeigniter 4 Impressions [VIDEO]
Posted by: web-johnny - 03-17-2017, 12:02 AM - Forum: CodeIgniter 4 Discussion - Replies (4)

Hello guys,

As I haven't seen anyone publishing a video for Codeigniter 4 yet, I did create one Smile

To sum it up I am answering the below questions:

- What are the main new features that Codeigniter 4 has?
- I want to create a brand new project. Should I use CI 3 or Codeigniter 4?
- I am using Codeigniter version 3. Should I update to Codeigniter 4?
- Is Codeigniter 4 going to be more famous than Laravel?
- What are my initial impressions about Codeigniter 4?
- What are the new things that I were always wishing Codeigniter should have and do they exist in Codeigniter 4?


[Video: https://www.youtube.com/watch?v=wV15n3CXVPY]

Enjoy Big Grin

Johnny


  route not working.
Posted by: anmol - 03-16-2017, 02:33 PM - Forum: General Help - Replies (2)

i am a beginner in codeigniter i have just made one controller user.php and changed my default route to user.but its not working.
my route.php is
$route['default_controller'] = "user";
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;



my user.php controller is
<?php
class User extends MY_Controller{

    public function index()
    {
        $this->load->view('public/articcle_lst');
    }
}


view file is
<!doctype html>
<html lang="en">
<head>
<meta charset="Utf-8">
<title>Article List</title>

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"></head>
<body>
<h1>hello</h1>
</body>
</html>
url i am inserting is 127.0.01/codeigniter/user.


  Application with "heavy" printing
Posted by: kabeza - 03-16-2017, 02:13 PM - Forum: Best Practices - Replies (2)

Hi
I'm developing an application for a Government entity with lot people gathering everyday
The application prints receipts with barcode for some kind of record tracking in other offices of the same entity.

I've been thinking on using a thermal printer and some customization of
https://github.com/mike42/escpos-php

Or maybe just generating temp. pdf and send them to inkjet printer with (small) custom paper size...

Any experiences about this?

Thanks a lot  Wink


  allowed_types error
Posted by: taymaz-92 - 03-16-2017, 11:01 AM - Forum: Installation & Setup - Replies (1)

Hi everybody.
i have an issue with upload library in codeigniter.
i have an image gallery in my project and i'm trying to upload images, i have a config array like this:

Code:
$config = array(
           'upload_path' => './uploads/images/',
           'allowed_types' => 'jgp|jpeg|png',
           'max_size' => 2048
       );
       $this->load->library('upload', $config);
 but it's not working and generates a file type not allowed error!
my problem solved with changing 'allowed_types' to "*", but now, user can upload any extension he wants!
i searched for solutions and tried to solve my problem with that, but problem is still there and i can't solve that! so i'll be gratefull if anybody can help me.

sorry for my bad English.


  Encrypt parameters in databases.php / what for?
Posted by: Gtya - 03-16-2017, 10:27 AM - Forum: Best Practices - No Replies

hello,

can someone give me clear explanation of the usage of these parameters in database.php

['encrypt']  Whether or not to use an encrypted connection.
|
| 'mysql' (deprecated), 'sqlsrv' and 'pdo/sqlsrv' drivers accept TRUE/FALSE
| 'mysqli' and 'pdo/mysql' drivers accept an array with the following options:
|
| 'ssl_key'    - Path to the private key file
| 'ssl_cert'   - Path to the public key certificate file
| 'ssl_ca'     - Path to the certificate authority file
| 'ssl_capath' - Path to a directory containing trusted CA certificats in PEM format
| 'ssl_cipher' - List of *allowed* ciphers to be used for the encryption, separated by colons (':')
| 'ssl_verify' - TRUE/FALSE; Whether verify the server certificate or not ('mysqli' only)
|

i was thinking of using a kind of 1and1 hosting so it means that my http server will connect to a xyz.db.1and1.com servers using the credentials provided upper in the databases.php

from my understanding it would be cool to be sure that the connection between http server and database server is encrypted, but it is for this usage that these options are defined? what are the configuration needed to?

+ does it means that i need a "ssl" option and paying for a certificate + validation, etc. ?

or so does it means that if i want to have this kind of (small) security on such points i should go with a complete server hosting both http server and so the mysql instance?

thank you for any advice Smile


  Using third party REST API, how to?
Posted by: mr_pablo - 03-16-2017, 05:59 AM - Forum: General Help - Replies (1)

I am working on a project that involves connecting to a third party REST API.

I'm struggling to find a way to connect, as the few CI libraries I have found are either too old, have no proper documentation, are in French, or a mix of all the above!

I need to be able to set the URL endpoint, set a few headers (the REST API expects two API keys with specific names) and at times, request content (e.g. for POST calls)

What are my options in terms of a CI library?

I have tried the following, with zero luck (typically the documentation just doesn't explain much/the code is old and abandoned or deprecated)

https://github.com/philsturgeon/codeigniter-restclient
https://github.com/maltyxx/restclient


  session & multi subdomains
Posted by: pws - 03-16-2017, 05:26 AM - Forum: General Help - Replies (3)

Hello,
i create a website with codegneiter and i have a subdomain builded by simple PHP,
and i have user login from main url or blog.. my problem when user connect from blog and go to main url (codegneiter) must relogin agian from site!!
how i can when user logged from blog and go to main site see his account not need relogin again?!
please explain me step by step because i'm ,new with codegneiter..

thanks


  Beginner... any open source project to start?
Posted by: Gtya - 03-16-2017, 03:56 AM - Forum: Choosing CodeIgniter - Replies (5)

Hello Smile

i am very new to CodeIgniter and starting to learn Smile ... it seems it will be suitable to my future needs, and so i was able to manage to follow some early basic tutorials on the web, but now i am quite stuck : i go very slowly on the further real steps.

i would like to mix in a kind of skeleton project : CodeIgniter 3.x with AdminLte and a Ion Auth login system

is there anywhere some clear/easy tutorial about this ?


or any an open source project with downloadable sources to learn and study that?

(ok having both will be the best Wink)

thank you for any help & have a nice day

i was able to find some, but their sql structures is way too much complicated to me - one has his tables in indonesian Sad - or there are some others libraries hidden that make my understanding even worst.



  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.