Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: phpstorm connectioninterface autocomplete
Post: RE: phpstorm connectioninterface autocomplete

InsiteFX Wrote: (08-02-2020, 03:53 AM) -- I' am running phpStorm 2020.2 the newest version and it works fine here. -- I couldn't fixed this yet. I don't know, anyway this is not important too much :D
727 Views
3 Replies
08-03-2020, 01:38 AM
bomi
    Thread: phpstorm connectioninterface autocomplete
Post: phpstorm connectioninterface autocomplete

Hi. I have recorded a comparison video for autocomplete. Is this problem connected to codeigniter4 files or phpstorm settings? How can I fix this? VSCode completes properly. https://youtu.be/0Tn...
727 Views
3 Replies
08-02-2020, 01:40 AM
bomi
    Thread: Redirect when no parameter passed
Post: RE: Redirect when no parameter passed

jreklund Wrote: (05-11-2020, 10:52 PM) -- What setAutoRoute(true) does are that it's turning the first segment of the url into a Controller name. In this case it's looking for an controller named "De...
2,651 Views
8 Replies
05-12-2020, 11:54 AM
bomi
    Thread: Redirect when no parameter passed
Post: RE: Redirect when no parameter passed

jreklund Wrote: (05-11-2020, 01:16 PM) -- No, so sorry. This $id. PHP Code: -- if (is_null($id) || empty($id)) {       /*echo 'aaaaaa';       die();*/       return redirect()->to('/');     ...
2,651 Views
8 Replies
05-11-2020, 01:35 PM
bomi
    Thread: Redirect when no parameter passed
Post: RE: Redirect when no parameter passed

jreklund Wrote: (05-11-2020, 01:03 PM) -- Sorry for not specifying, but how you are assigning the variable $id. How do you populate that one. Are you sanitizing that one? Making sure it's only an ...
2,651 Views
8 Replies
05-11-2020, 01:13 PM
bomi
    Thread: Redirect when no parameter passed
Post: RE: Redirect when no parameter passed

jreklund Wrote: (05-11-2020, 09:55 AM) -- Can you show us how you get the variable $id? -- I have a custom attribute. It works but when I write manually to address bar http://baseurl/deleteportfolio...
2,651 Views
8 Replies
05-11-2020, 12:54 PM
bomi
    Thread: Redirect when no parameter passed
Post: Redirect when no parameter passed

Hi. I wanted to redirect user if there is no parameter passed into the method. But it does not works what should I do? My Route PHP Code: -- $routes->get('deleteportfolio/(:num)', 'AdminHome::d...
2,651 Views
8 Replies
05-10-2020, 11:37 PM
bomi
    Thread: CodeIgniter 3.1.11 Released
Post: RE: CodeIgniter 3.1.11 Released

Thank you. I was just starting new project. Lets go with 3.1.11 :)
41,089 Views
32 Replies
09-19-2019, 10:26 PM
bomi
    Thread: Validation 'alpha' problem
Post: RE: Validation 'alpha' problem

includebeer Wrote: (08-02-2019, 11:19 AM) -- I think you have no other choice but to validate your string with a regex. You can use the regex_match (https://codeigniter4.github.io/CodeIgniter4/librar...
1,828 Views
2 Replies
08-03-2019, 12:46 PM
bomi
    Thread: Validation 'alpha' problem
Post: Validation 'alpha' problem

Hi. I am using form_validation at one input. I set the rule alpha. But also this blocks Turkish characters at this input. What should i do? Form validation thinks the Turkish characters are not alphab...
1,828 Views
2 Replies
08-02-2019, 09:46 AM
bomi
    Thread: Routing question
Post: RE: Routing question

You should give some information about this
2,712 Views
6 Replies
08-01-2019, 08:14 AM
bomi
    Thread: How use IV in encryption library
Post: RE: How use IV in encryption library

Did you solve the issue?
2,154 Views
3 Replies
07-30-2019, 10:23 PM
bomi
    Thread: When they updated CI 3.x ?
Post: RE: When they updated CI 3.x ?

website Wrote: (06-30-2019, 02:19 AM) -- "Why the CI 3.x version does not have updates?" Why change perfection? ;) -- Absolutely I agree  :angel:
5,179 Views
7 Replies
07-03-2019, 12:30 AM
bomi
    Thread: How can I write file without overwrite
Post: RE: How can I write file without overwrite

mladoux Wrote: (06-18-2019, 06:37 PM) -- I would also note there are performance issues with saving settings that way as well. If you must use a file-based solution, might I suggest something like a ...
3,112 Views
5 Replies
06-18-2019, 10:46 PM
bomi
    Thread: How can I write file without overwrite
Post: RE: How can I write file without overwrite

mladoux Wrote: (06-17-2019, 04:36 PM) -- If you're just appending, you need to check if the file exists first, else you'll break it every time. If you want to overwrite it, I suggest unlinking the fi...
3,112 Views
5 Replies
06-18-2019, 02:29 PM
bomi
    Thread: How can I write file without overwrite
Post: How can I write file without overwrite

I'm trying to store my settings, but I can't well. I have too much variable.I have settings[variable] input I use this at form inputs. Like this; Form1 has these inputs PHP Code: -- ...
3,112 Views
5 Replies
06-17-2019, 01:41 PM
bomi
    Thread: How to understand if parameter is empty
Post: RE: How to understand if parameter is empty

InsiteFX Wrote: (06-16-2019, 12:24 PM) -- PHP Code: -- public function delete($incomingId = null) {    if (is_null($incomingId)) {        redirect(base_url());    } } -- -- Thanks it wor...
1,630 Views
2 Replies
06-16-2019, 01:58 PM
bomi
    Thread: How to understand if parameter is empty
Post: How to understand if parameter is empty

Hi. For example i have a delete method in users controller. I want to if there is no parameter i should redirect the user. For example these codes are not working. I am waiting advices. PHP Cod...
1,630 Views
2 Replies
06-16-2019, 09:15 AM
bomi
    Thread: i'm new, thank you!!
Post: RE: i'm new, thank you!!

Please try port 587. I got the same error few days ago. Use 587 port I think it will be work.
1,751 Views
2 Replies
06-14-2019, 06:43 AM
bomi
    Thread: I can not remove folder
Post: RE: I can not remove folder

Okay it's my fault. I changed this Old code (not work) PHP Code: -- $delete_folder = rmdir($path);   if (!$delete_folder) { // always this works begin                    $alert = array(     ...
2,362 Views
4 Replies
05-30-2019, 03:51 PM
bomi

Theme © iAndrew 2016 - Forum software by © MyBB