Search Results
|
|
|
Thread: Question new form validation rule
Post: RE: Question new form validation rule
I think I am going to try to make a package. Just need to figure out how I can easily include the package into the core files, I think this will help me: https://bcit-ci.github.io/CodeIgniter4/librari... |
|
8,466 Views
8 Replies
|
10-23-2018, 11:05 AM glennm |
|
|
|
Thread: Question new form validation rule
Post: RE: Question new form validation rule
kilishan Wrote: (10-22-2018, 12:56 PM)
--
Looking at this, I think it would be great to have - but as a third-party addin, rather than in core. Part being that it relies on a third-party service and ... |
|
8,466 Views
8 Replies
|
10-22-2018, 02:00 PM glennm |
|
|
|
Thread: Question new form validation rule
Post: RE: Question new form validation rule
ciadmin Wrote: (10-22-2018, 02:35 AM)
--
Given the external HIBP service, this feels more like an addin than something that would be part of the CI4 core.
That appears to be the way the original pac... |
|
8,466 Views
8 Replies
|
10-22-2018, 12:42 PM glennm |
|
|
|
Thread: Question new form validation rule
Post: RE: Question new form validation rule
ciadmin Wrote: (10-22-2018, 01:23 AM)
--
It sounds like it could be a good idea. If this is complicated, it could make more sense as a separate class, like Validation/CreditCardRules, or Honeypot - t... |
|
8,466 Views
8 Replies
|
10-22-2018, 01:31 AM glennm |
|
|
|
Thread: Question new form validation rule
Post: Question new form validation rule
Hi,
I first posted this question on Github but it was closed and I was directed to the forum so here I am. (Link (https://github.com/bcit-ci/CodeIgniter4/issues/1332#event-1916835388))
I am also ... |
|
8,466 Views
8 Replies
|
10-22-2018, 12:42 AM glennm |
|
|
|
Thread: MySql LIKE
Post: RE: MySql LIKE
Narf Wrote: (02-18-2016, 02:48 AM)
--
skunkbad Wrote: (02-17-2016, 09:00 PM)
--
glennm Wrote: (02-17-2016, 05:53 PM)
--
skunkbad Wrote: (02-17-2016, 03:51 PM)
--
Why wouldn't you just choose a dif... |
|
20,436 Views
14 Replies
|
02-18-2016, 04:30 AM glennm |
|
|
|
Thread: MySql LIKE
Post: RE: MySql LIKE
skunkbad Wrote: (02-17-2016, 03:51 PM)
--
Why wouldn't you just choose a different escape character, and what's wrong with the default backslash? Do you really allow usernames to have a backslash as ... |
|
20,436 Views
14 Replies
|
02-17-2016, 05:53 PM glennm |
|
|
|
Thread: MySql LIKE
Post: RE: MySql LIKE
Narf Wrote: (02-17-2016, 12:12 PM)
--
Well, that's really strange ... I don't know what could possibly cause this behavior.
Technically, you could change the escape character and work-around the i... |
|
20,436 Views
14 Replies
|
02-17-2016, 12:22 PM glennm |
|
|
|
Thread: MySql LIKE
Post: RE: MySql LIKE
When I use this query (without escaping it):
Code:
--
SELECT *
FROM `pvp_map`
WHERE `Name` LIKE '%!%'
GROUP BY Player_Id, Name
ORDER BY Name
--
I get 3646 results. |
|
20,436 Views
14 Replies
|
02-17-2016, 11:53 AM glennm |
|
|
|
Thread: MySql LIKE
Post: RE: MySql LIKE
Narf Wrote: (02-17-2016, 11:27 AM)
--
Quote:
--
mysql> create table test (dummy varchar(16) not null);
Query OK, 0 rows affected (0.10 sec)
mysql> insert into test(dummy) values ('!exclamation'... |
|
20,436 Views
14 Replies
|
02-17-2016, 11:39 AM glennm |
|
|
|
Thread: MySql LIKE
Post: RE: MySql LIKE
keulu Wrote: (02-17-2016, 08:34 AM)
--
did you try to escape your search ?
!Joker! -> \!Joker\!
--
The problem is only when the string starts with an '!', if the '!' is in the middle of the stri... |
|
20,436 Views
14 Replies
|
02-17-2016, 10:59 AM glennm |
|
|
|
Thread: MySql LIKE
Post: RE: MySql LIKE
Is there anyone that can help me with this issue? It is a real big problem for me. |
|
20,436 Views
14 Replies
|
02-17-2016, 08:27 AM glennm |
|
|
|
Thread: MySql LIKE
Post: MySql LIKE
Hello everyone,
I am trying to do a sql query with LIKE:
PHP Code:
--
$this->db->query("SELECT * FROM pvp_map WHERE Server_Id = ".$Id." AND Name LIKE '%".$this->db->escape_like_str($Name)."%' ESC... |
|
20,436 Views
14 Replies
|
02-15-2016, 02:32 PM glennm |
|
|
|
Thread: Joomla and WP hackers
Post: RE: Joomla and WP hackers
RobertSF Wrote: (02-04-2016, 12:12 PM)
--
Hey... not sure what you mean. Are you talking about your visitors' log? It should only show errors about your website, though I realize not every error is a... |
|
5,045 Views
3 Replies
|
02-04-2016, 01:51 PM glennm |
|
|
|
Thread: Joomla and WP hackers
Post: Joomla and WP hackers
I am not sure if I am posting this in the correct section, so sorry if it needs to be moved to somewhere else.
I am getting a lot of 404 errors in my logs from vulnerabilty hackers, but these are a... |
|
5,045 Views
3 Replies
|
02-04-2016, 12:04 AM glennm |
|
|
|
Thread: Cache docs possible error
Post: RE: Cache docs possible error
Narf Wrote: (01-20-2016, 03:11 AM)
--
https://github.com/bcit-ci/CodeIgniter/commit/22df06b544cb74b4a71c0e1b0d9fa0bc13c95469
The online docs will be updated with the next framework release.
--
T... |
|
4,828 Views
3 Replies
|
01-20-2016, 12:03 PM glennm |
|
|
|
Thread: Cache docs possible error
Post: Cache docs possible error
I have found something very confusing the CI 3 docs about output caching.
On this page it says that the parameter should be in seconds:
https://codeigniter.com/user_guide/libraries/output.html?#CI... |
|
4,828 Views
3 Replies
|
01-19-2016, 02:10 PM glennm |
|