Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Validate email if its typed in?
Post: RE: Validate email if its typed in?
I think you'll need to include the permit_empty rule.
See https://codeigniter.com/user_guide/libra...able-rules |
|
sammyskills |
CodeIgniter 4 Support
|
1 |
231 |
12-29-2020, 03:17 AM |
|
|
Thread: active record not working need help!!!!
Post: RE: active record not working need help!!!!
What configurations do you have in your application/config/routes.php file?
You need to be more explicit so we can understand and point out/proffer a solution. |
|
sammyskills |
General Help
|
6 |
503 |
12-29-2020, 03:02 AM |
|
|
Thread: A good read about PHP
Post: RE: A good read about PHP
|
sammyskills |
Lounge
|
2 |
1,297 |
12-28-2020, 08:32 AM |
|
|
Thread: Determine if CodeIgniter’s Model Save() is Insert or Update
Post: RE: Determine if CodeIgniter’s Model Save() is Ins...
From the docs,
Quote:This (save()) is a wrapper around the insert() and update() methods that handle inserting or updating the record automatically, based on whether it finds an array key matching the... |
|
sammyskills |
CodeIgniter 4 Support
|
4 |
475 |
12-28-2020, 08:28 AM |
|
|
Thread: Restream a m3u8 stream
Post: RE: Restream a m3u8 stream
You can use the parse_url() function to achieve this. See the manual. |
|
sammyskills |
Regional User Groups
|
2 |
828 |
12-13-2020, 02:39 AM |
|
|
Thread: form with large files and input
Post: RE: form with large files and input
|
sammyskills |
CodeIgniter 4 Support
|
2 |
503 |
12-13-2020, 02:24 AM |
|
|
Thread: Recommended version on website
Post: RE: Recommended version on website
Well, from what I understand, I think CI4 is the version that is "currently" being worked upon (i.e. in active development). This simply means that new features will be added and bugs will be squashed... |
|
sammyskills |
General Help
|
2 |
372 |
12-13-2020, 02:17 AM |
|
|
Thread: custom validation rule for IP in form
Post: RE: custom validation rule for IP in form
Of course you can.
You can add it as a hidden input field in your form and do your validation.
Code:<input type="hidden" name="user_ip" value="<?php echo $request->getIPAddress(); ?>... |
|
sammyskills |
CodeIgniter 4 Support
|
10 |
810 |
12-12-2020, 11:49 PM |
|
|
Thread: Redirect Trailing Slashes...Problem
Post: RE: Redirect Trailing Slashes...Problem
You can see this StackOverflow answer. |
|
sammyskills |
CodeIgniter 4 Discussion
|
1 |
1,256 |
12-12-2020, 06:50 AM |
|
|
Thread: Trailing slash causes issues
Post: RE: Trailing slash causes issues
You can see this StackOverflow answer. |
|
sammyskills |
CodeIgniter 4 Support
|
2 |
666 |
12-12-2020, 06:49 AM |
|
|
Thread: problem slash at the end of url
Post: RE: problem slash at the end of url
Okay.
You can take a look at this stackoverflow answer. |
|
sammyskills |
CodeIgniter 4 Support
|
13 |
986 |
12-12-2020, 06:46 AM |
|
|
Thread: problem slash at the end of url
Post: RE: problem slash at the end of url
Well, I can't say.
Please paste the current code you have in your app/Config/Paths.php file. |
|
sammyskills |
CodeIgniter 4 Support
|
13 |
986 |
12-12-2020, 12:56 AM |
|
|
Thread: problem slash at the end of url
Post: RE: problem slash at the end of url
Okay.
I think the problem you're facing is related to the location of the index.php and .htaccess. From the docs, those files should be in your public folder.
I can't really say what you want to ach... |
|
sammyskills |
CodeIgniter 4 Support
|
13 |
986 |
12-11-2020, 11:48 AM |
|
|
Thread: problem slash at the end of url
Post: RE: problem slash at the end of url
Quote:By the way, I moved the index.php and htaccess from public folder to the root
Just to confirm... Have you updated the default $pathsPath = realpath(FCPATH . '../app/Config/Paths.php'); to m... |
|
sammyskills |
CodeIgniter 4 Support
|
13 |
986 |
12-11-2020, 11:36 AM |
|
|
Thread: problem slash at the end of url
Post: RE: problem slash at the end of url
Okay.
Can you share what you have in your .htaccess file? |
|
sammyskills |
CodeIgniter 4 Support
|
13 |
986 |
12-11-2020, 11:05 AM |
|
|
Thread: problem slash at the end of url
Post: RE: problem slash at the end of url
Can you change the folder name from ci4.0.4 to something else without the dots ? |
|
sammyskills |
CodeIgniter 4 Support
|
13 |
986 |
12-11-2020, 01:38 AM |
|
|
Thread: POSTING hidden values
Post: RE: POSTING hidden values
You can try something like this:
Code:<input type="hidden" name="email" value="<?php $emailString?>">
Enclose the php code in double quotes. |
|
sammyskills |
General Help
|
4 |
474 |
12-10-2020, 01:13 AM |
|
|
Thread: Prevent Content-Type at Http-Status-Code 204
Post: RE: Prevent Content-Type at Http-Status-Code 204
|
sammyskills |
Libraries & Helpers
|
2 |
665 |
12-08-2020, 07:16 AM |
|
|
Thread: log_path to stdout for AWS CloudWatch
Post: RE: log_path to stdout for AWS CloudWatch
From the docs,
Quote:By default, CodeIgniter displays all PHP errors. You might wish to change this behavior once your development is complete. You’ll find the error_reporting() function located at t... |
|
sammyskills |
General Help
|
1 |
306 |
12-08-2020, 04:03 AM |
|
|
Thread: New XAMPP release 7.4.13, 8.0.0-0
Post: RE: New XAMPP release 7.4.13, 8.0.0-0
What version of CodeIgniter did you test with? |
|
sammyskills |
Lounge
|
4 |
1,738 |
12-04-2020, 03:44 AM |