I'm following this amazing nettusts+ tutorial about sending a email to gmail.
It aparently worked. When I load the page it says: 'Your email was sent, fool.' but then I check my gmail and there's nothing there.
Does CodeIgniter take care of everything? Or I have to install smtp or something in my PC because I'm using localhost (LAMP in...
Hello,
Why is this line not working in constants.php :-
define('FILE_UPLOAD_VIRTUAL_DIR', base_url() . '/uploads/');
base_url() works in all views. Then why not in constants.php?
Thanks in advance :)
...
Hi,
I have built an app using codeigniter which has 3 different member groups
Admininstrators - Who login to a dashboard and have CRUD facilities to Add/Edit/Delete Events, shows and artists
Clients - Who Login from the front end and see all the items that the admin have added via the back end.
Media Partners - Who Login from the fro...
Hi,
How can I verify an email address with codeigniter? I just went through the manual, I couldn't find this.
With email verification, i mean the exact same verification you see when registering on a community forum.
Thanks in advance!
...
I have started learning Code Ignitor and I am very impressed, and have had an easy time. The only issue I haven't been able to figure out is how to reference images, javascript, and CSS. I have each as a folder (css,js,img) in the root folder. This works fine for my default view, but breaks with the sub views. How am I supposed to handle...
Here is a function in a Controller that lets a user log out. But how do I enable the user to do this? I would think the answer is to put a hyperlink in a View. But I can't figure out how to make a hyperlink that invokes the function. (And I'd rather not build a form ...) Source for this code
class Auth extends Controller {
.......
Hi guys,
I’m doing a patient registration system to a hospital, here we have 1st time visits and 2nd time visits, 1st time visits is put to 2nd time category after doctor checks them and tell them to revisit, so until they are put to 2nd time visit table i need to keep 1st time visits in a temporary place to add them to the permanent ta...
hi guys!
I’m developing a login, i need to login users and redirect them to their relevant interfaces after validating the user, i can’t understand how to redirect them to their respective interfaces in CI, how to do that? can you please help me out? if you can give a code and tell the answer it would be great…!
regards,
Rangana
...
Hi Guys,
I'm trying to develop a system using Codeigniter, i tell you what i want problem is i don't know how to achieve it, and tried to find tutorials it didn't worked out either! :(
I'm displaying the data from a MySql table as a list in my user interface, there is a separate link for each list entry, when the user click on that li...
I've always used the model as something to more or less store and execute database queries. I have heard about the fat model, thin controller concept.
The way I setup my models right now causes a lot of junk in controllers for things like validating forms, formatting data. Does form validation, file uploading and data formatting belong ...
This should be simpler. What do I need to define what should happen in place of a 404 error?
...
The quote below has convinced to finally go ORM. In the past I havn't really liked ORM and wrote it off as a stupid way of doing sql. Dealing with hierarchical data in sql is a pain I don't want to deal with.
There's a reason we have these “Object-Relational Mapper” things, and it's because of a problem known as the Object-Relational...
Building pizza delivery site.
Currently using:
Language: PHP
Framework: codeigniter
class: Cart Class
Autoloaded: session
Products can be easily added into the cart in FF,safari,chrome. but does not seem to be working in Internet Explorer.
Tried all solutions posted on the codeigniter forums but nothing works.
...
I have an online image sharing platform based on PHP5 + CodeIgniter. I would like the application to show to the user the number of unique views per image. Users can access image pages anonymous or signed in.
Although I know how to implement such a thing myself, I prefer to "outsource" the recording of unique pageviews, for reasons of p...
I am new to codeigniter model, i try to follow steps in docs to load all user registered in my db.
This is my model: user.php
class User extends Model {
function user() {
parent::Model();
}
function alluser() {
$query = $this->db->query("select * from user limit 0,5"); //Line 30 error as in my IDE locat...
I've been playing around with this tutorial. It teaches you how to build a web app where people can find and post jobs using Symfony.
Symfony has two tutorials to make completely functional apps from scratch (and their online demos): Jobeet and Askeet.
I wonder if there are the same kind of tutorials for CakePHP and CodeIgniter?
By th...
Hi,
I'm trying to extend my CI with a custom library that I plan on using for calculating the time value of money. The issue is whenever I load the class I get an internal server error, and I'm not quite sure why. Also, if there are any other suggestions, please let me know.
Thanks
Here is the controller where I'm trying to load the...
I am trying to create a secure login for my site, who's form logs in with AJAX. Unfortunately, as it currently stands, I am sending the username and password using http completely unencrypted. After looking through basic encryption methods in Javascript that I can port to Codeigniter to decrypt, I've read that the best thing to do is j...
Hi There,
I am wanting to allow my user to upload an image, using a form. In the same form I want to display the image that has been uploaded. Is this is possible to do without actually submitting all the form?
Thanks
...
If there is an error in my model codeigniter will just show a blank page. I have error reporting set to E_ALL and DB debugging turned on.
Is there any way I can get the errors to show up?
...