codeigniter

How to access fuelux wizard form data?

有些话、适合烂在心里 提交于 2019-12-25 06:27:53
问题 I am using fuelux wizard with a form. I am submitting the form using javascript through finished.fu.wizard event. Is there any other/better way to submit the form? When I am trying to access the data in controller, I am getting nothing. View Part <div id="wizard1" class="wizard wizard-ux"> <ul class="steps"> <li class="active"> Step 1</li> </ul> <div class="step-content"> <form action="/controller_function" class="form-horizontal" id="form1"> <input type="text" id="input1" name="input1"> <

codeigniter simple login validation not working

前提是你 提交于 2019-12-25 06:27:34
问题 Im a beginner in web programming, so please bear with me. I tried to create a login system that will do those validation : The email is required and must be valid The password is required If the login failed, i will create a span for the user I can accomplish the 1st & 2nd easily using codeigniter's form validation. However, the 3rd is not that easy because i need to check it first from the DB. So i tried to create a code like this : function login() { $data['validation'] = TRUE; $this->form

codeigniter simple login validation not working

守給你的承諾、 提交于 2019-12-25 06:27:13
问题 Im a beginner in web programming, so please bear with me. I tried to create a login system that will do those validation : The email is required and must be valid The password is required If the login failed, i will create a span for the user I can accomplish the 1st & 2nd easily using codeigniter's form validation. However, the 3rd is not that easy because i need to check it first from the DB. So i tried to create a code like this : function login() { $data['validation'] = TRUE; $this->form

CodeIgniter 1.72 and PHP 5.3.29 compatible?

穿精又带淫゛_ 提交于 2019-12-25 06:22:39
问题 We're upgrading our server infrastructure on Amazon and I'm attempting to migrate a PHP site based on CodeIgniter (version 1.7.2) to a new server which has AmazonLinux as the OS. The previous server was Ubuntu, running PHP 5.3.3-1ubuntu9.5 on apache2. The PHP version on the new AmazonLinux server is 5.3.29, running on httpd. When I try to access the URL in the new server, the code is currently stopping in system/core/CodeIgniter.php at this line: $CI = new $class(); I haven't been able to see

CodeIgniter 1.72 and PHP 5.3.29 compatible?

拟墨画扇 提交于 2019-12-25 06:22:01
问题 We're upgrading our server infrastructure on Amazon and I'm attempting to migrate a PHP site based on CodeIgniter (version 1.7.2) to a new server which has AmazonLinux as the OS. The previous server was Ubuntu, running PHP 5.3.3-1ubuntu9.5 on apache2. The PHP version on the new AmazonLinux server is 5.3.29, running on httpd. When I try to access the URL in the new server, the code is currently stopping in system/core/CodeIgniter.php at this line: $CI = new $class(); I haven't been able to see

CodeIgniter sessions keep getting destroyed

两盒软妹~` 提交于 2019-12-25 06:14:52
问题 I'm working on an older application which uses CodeIgniter 2.1.3. During development it runs on a vhost, accessible at http://vhostname/app (which equals xampp/htdocs/project/app). I copied the live system 1:1 to my development system (with database and everything). The system uses sessions to store temp data for visitors (e.g. cart). My problem: on my development env the session is destroyed on every refresh. After some testing I found at that it's happening in the system/core/Sessions.php :

CodeIgniter sessions keep getting destroyed

谁都会走 提交于 2019-12-25 06:14:11
问题 I'm working on an older application which uses CodeIgniter 2.1.3. During development it runs on a vhost, accessible at http://vhostname/app (which equals xampp/htdocs/project/app). I copied the live system 1:1 to my development system (with database and everything). The system uses sessions to store temp data for visitors (e.g. cart). My problem: on my development env the session is destroyed on every refresh. After some testing I found at that it's happening in the system/core/Sessions.php :

how to insert multiple fields data in one column in codeigniter

∥☆過路亽.° 提交于 2019-12-25 06:10:06
问题 I have a form consist of multiple checkbox and input fields, I want to insert that data into a single column of a table, here is my form: <div id="container"> <h1>property Detail</h1> <form action="" method="post"> <table> <tr> <td> Possesion <input type="checkbox" name="feature[]" value="possesion"> </td> <td> Possesion1 <input type="checkbox" name="feature" value="possesion1"> </td> <td> Possesion2 <input type="checkbox" name="feature" value="possesion2"> </td> <td> Possesion3 <input type=

Codeigniter on IIS web.config issue

人盡茶涼 提交于 2019-12-25 05:54:08
问题 I am installing a site made in PHP/CodeIgniter 2 on a hosting server which unfortunately has IIS running, which I have no experience in. Nothing is working except the homepage, all other pages are returning 404 errors. Adding index.php to the url returns 500 - Internal server error (I have the index page config set to '' in the config.php file) I tried also creating a web.config file thinking the issue might be from the redirects, but adding a web.config file stops even the homepage from

Codeigniter on IIS web.config issue

青春壹個敷衍的年華 提交于 2019-12-25 05:53:26
问题 I am installing a site made in PHP/CodeIgniter 2 on a hosting server which unfortunately has IIS running, which I have no experience in. Nothing is working except the homepage, all other pages are returning 404 errors. Adding index.php to the url returns 500 - Internal server error (I have the index page config set to '' in the config.php file) I tried also creating a web.config file thinking the issue might be from the redirects, but adding a web.config file stops even the homepage from