Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: directory structure
Post: RE: directory structure

Many thanks, that was the sort of explanatory answer I was hoping for. Bill
274 Views
6 Replies
04-16-2024, 01:49 AM
badger
    Thread: directory structure
Post: RE: directory structure

thanks, I still don't understand the need for the duplicate folders to exist so i'll just ignore them. Bill
274 Views
6 Replies
04-15-2024, 12:58 PM
badger
    Thread: directory structure
Post: RE: directory structure

"the manual way. .....may make future upgrades more difficult." which is why i want to do it the right way starting off ie use composer. My query was what is the reason for the duplicate directories, ...
274 Views
6 Replies
04-15-2024, 12:24 PM
badger
    Thread: directory structure
Post: directory structure

when i install ci4 using composer, it creates the struture shown below. I presume my app goes in the top level app so whats the reason for vendor/codeigniter/framework/app and the other duplicates? ca...
274 Views
6 Replies
04-15-2024, 09:02 AM
badger
    Thread: Codeigniter4 How i can convert this builder query to normal ?
Post: RE: Codeigniter4 How i can convert this builder qu...

you're missing the from part "....as d, designations e from employees_master a inner join .divisions ...."
255 Views
3 Replies
03-29-2024, 03:03 AM
badger
    Thread: TCPDF send to browser
Post: RE: TCPDF send to browser

i'm not a profi but this works for me so it might help PHP Code: -- class TPdfCustom extends Tcpdf { -- lots of other stuff begin -- lots of other stuff end private function pdf...
345 Views
3 Replies
02-29-2024, 10:06 AM
badger
    Thread: table name
Post: RE: table name

Arquero Wrote: (02-26-2024, 10:30 AM) -- I have a model in CI 4.1 than only has a method that do something like  PHP Code: -- public function myfunction() {   return $this->query('select XXX fro...
165 Views
2 Replies
02-26-2024, 01:43 PM
badger
    Thread: CodeIgniter Shield 1.0.0 Official Release Announcement
Post: RE: CodeIgniter Shield 1.0.0 Official Release Anno...

shield is fantastic - the result of a lot of research, planning and programming followed by even more programming, I very much appreciate it
5,376 Views
16 Replies
12-28-2023, 03:36 AM
badger
    Thread: composer settings and phpstorm
Post: RE: composer settings and phpstorm

kenjis Wrote: (09-19-2023, 02:03 PM) -- When I open "vendor/codeigniter4/shield/src/Authentication/Authentication.php" in PhpStorm, I don't see no namespace warning. -- ok, i've obviously got some...
560 Views
2 Replies
09-20-2023, 02:38 AM
badger
    Thread: composer settings and phpstorm
Post: composer settings and phpstorm

Its very minor query and my project works fine but I'd like to sort it out once and for all so as to have everything correct. As an example, the file "siteapps/vendor/codeigniter4/shield/src/Authentic...
560 Views
2 Replies
09-19-2023, 04:48 AM
badger
    Thread: Process After Webhook Response
Post: RE: Process After Webhook Response

what i do in a similar situation is save the data to a pending table and use a cron job to check the table every minute or so
1,359 Views
3 Replies
07-18-2023, 10:19 AM
badger
    Thread: Support to HTTP/3
Post: RE: Support to HTTP/3

i'm running ci4.3.2 and this same message "...Invalid HTTP Protocol Version. Must be one of: 1.0, 1.1, 2.0, 3.0 in SYSTEMPATH/HTTP/MessageTrait.php on line 232." just appeared in my log. it doesnt say...
3,334 Views
8 Replies
03-22-2023, 09:11 AM
badger
    Thread: getting $host from $_SERVER
Post: RE: getting $host from $_SERVER

kenjis Wrote: (02-26-2023, 07:17 PM) -- Do not use $_SERVER['HTTP_HOST'] or $_SERVER['SERVER_NAME'] without validation. Attackers may set any value to them. -- thanks, I'm slowly learning
1,032 Views
4 Replies
02-27-2023, 02:14 AM
badger
    Thread: getting $host from $_SERVER
Post: RE: getting $host from $_SERVER

you're right. i just saw the entry in the apache log and thought i should eliminate it. problem solved (or at least gone away) Thanks, Bill
1,032 Views
4 Replies
02-26-2023, 11:20 AM
badger
    Thread: getting $host from $_SERVER
Post: getting $host from $_SERVER

As part of something else, I have a very small site running on a raspberry pi (apache2.4.38, php8.1.15) and normally it works perfectly but sometimes the log file shows a crash on config/constants. I ...
1,032 Views
4 Replies
02-26-2023, 08:25 AM
badger
    Thread: possible bug in protectidentifiers v4.3
Post: RE: possible bug in protectidentifiers v4.3

These are field values which I'm extracting as part of a db backup routine so the end result is an insert string "insert into ... values (value1,value2, etc)". I thought I could simply use $values[$i]...
639 Views
2 Replies
01-11-2023, 02:58 AM
badger
    Thread: possible bug in protectidentifiers v4.3
Post: possible bug in protectidentifiers v4.3

I've checked this with BaseConnection 4.30 and v4.2.10 While extracting data from a db using Code: -- $values[$i] = $db->protectIdentifiers($values[$i]); -- all values are correct except fo...
639 Views
2 Replies
01-10-2023, 08:54 AM
badger
    Thread: block hacker
Post: RE: block hacker

Many thanks
1,816 Views
4 Replies
01-10-2023, 02:37 AM
badger
    Thread: block hacker
Post: RE: block hacker

Well I knew it was a bot but I class them all as hacking attempts. Anyway, I've just learned something new from you. So how do i stop the auto bots please? Thanks, Bill
1,816 Views
4 Replies
01-09-2023, 09:19 AM
badger
    Thread: block hacker
Post: block hacker

I'm sure there is a better way to do the following. My aim was to stop a hack attempt at the very start, so in routes, at the very top, I have Code: -- $sUrl = strtolower(uri_string()); if(str_st...
1,816 Views
4 Replies
01-08-2023, 10:42 AM
badger

Theme © iAndrew 2016 - Forum software by © MyBB