Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Upgrading from CI3.0.6
Post: Upgrading from CI3.0.6

I have an old website using CI3.0.6 and the hosting company is still supporting php7.4 so it works fine. But I use wamp for local hosting and more up to date sites require php8.3. If wamp php version ...
266 Views
2 Replies
01-26-2024, 06:49 AM
msheath
    Thread: Vscode live server extension
Post: RE: Vscode live server extension

Well I have watched about a dozen Youtube videos assuring me that it should work with php - but perhaps that is with a simple structure, not with a framework like Codeigniter. What I have done as a wo...
405 Views
2 Replies
01-09-2024, 02:33 AM
msheath
    Thread: Vscode live server extension
Post: Vscode live server extension

I have a project based on Codeigniter 3 and coded using Vscode. I'm using a local server via Wamp which appears to be running perfectly and the Wamp virtual host page links to various websites, all di...
405 Views
2 Replies
01-08-2024, 02:05 PM
msheath
    Thread: Flashdata not clearing on refresh/redirect
Post: RE: Flashdata not clearing on refresh/redirect

Well my existing controller method follows the same pattern: Code: --     public function log_illustration_update($id)     {         $data = $this->input->post();         (($data['painting'] != 'X'...
19,029 Views
9 Replies
02-12-2021, 10:27 AM
msheath
    Thread: Flashdata not clearing on refresh/redirect
Post: RE: Flashdata not clearing on refresh/redirect

demyr Wrote: (02-12-2021, 07:50 AM) -- May I ask why you are keeping it within your array? -- I'm not doing that consciously - it just appears like that. How would I do it differently?
19,029 Views
9 Replies
02-12-2021, 07:57 AM
msheath
    Thread: Flashdata not clearing on refresh/redirect
Post: Flashdata not clearing on refresh/redirect

Using CI 3.1.11: I am sending a flashdata error message when a form is filled incorrectly. The message is appearing correctly but does not clear on refresh/redirect. Controller method includes: Cod...
19,029 Views
9 Replies
02-12-2021, 02:58 AM
msheath
    Thread: Checkbox validation
Post: RE: Checkbox validation

InsiteFX Wrote: (06-15-2020, 02:29 AM) -- use required for the checkbox validation. -- Can't see how that would work. The users would then have to check all the boxes to get past validation but the...
2,420 Views
3 Replies
06-15-2020, 02:43 AM
msheath
    Thread: Checkbox validation
Post: Checkbox validation

I am setting up an accommodation booking form for a small establishment with 3 rooms. The form contains an input checkbox for each room. So you can choose 1, 2 or 3 rooms by checking 1, 2 or all 3 box...
2,420 Views
3 Replies
06-14-2020, 07:09 AM
msheath
    Thread: Database text and PHP code
Post: RE: Database text and PHP code

Brilliant - thanks so much. I've never used the template parser and I'd forgotten it existed. That is a solution!
3,156 Views
2 Replies
07-13-2018, 10:47 AM
msheath
    Thread: Database text and PHP code
Post: Database text and PHP code

I'm sure this is an old chestnut but I am building a simple CMS to hold page text. The problem is that the pages currently use CI helper functions eg base_url() for image paths and safe_mailto() for m...
3,156 Views
2 Replies
07-13-2018, 09:46 AM
msheath
    Thread: Problems with ajax
Post: RE: Problems with ajax

Now I am seeing a change when I turn off csrf. In the Console Net window, instead of '403 Forbidden' I'm getting '500 Internal Server Error'. There is still a csrf prob as I would obviously want to ha...
4,218 Views
4 Replies
07-30-2017, 01:08 AM
msheath
    Thread: Problems with ajax
Post: RE: Problems with ajax

When I turn off csrf, there appear to be no reported js errors. The console is blank
4,218 Views
4 Replies
07-29-2017, 02:51 PM
msheath
    Thread: Problems with ajax
Post: Problems with ajax

My setup is Windows 10, Wamp version 3.0.6 and Codeigniter 3.0.6. I am trying to use the Calendar class to generate a calendar that will permit content updating by clicking on a particular date. I am ...
4,218 Views
4 Replies
07-29-2017, 04:27 AM
msheath
    Thread: Open pdf document
Post: Open pdf document

Normally I open a pdf document directly from a link but suppose I want to add conditionality so that eg the pdf would open before 12.00 but not after 12.00. In that case I would like the link to go to...
2,112 Views
1 Replies
02-12-2017, 02:26 PM
msheath
    Thread: Captcha error word_length
Post: Captcha error word_length

I am testing Captcha and my code is like this: Code: -- $this->load->helper('captcha'); $vals = array(        'word'          => mt_rand (100000,1000000),        'img_path'      => './publi...
2,649 Views
1 Replies
06-26-2016, 02:24 PM
msheath
    Thread: Form validation with redirect
Post: RE: Form validation with redirect

Martin7483 Wrote: (10-28-2015, 05:00 AM) -- If you want the scrolling effect you can still use my approach and add a scrollTo JavaScript that could be triggered when #anchor is present in the URL. Wh...
34,494 Views
18 Replies
10-28-2015, 05:15 AM
msheath
    Thread: Form validation with redirect
Post: RE: Form validation with redirect

Narf Wrote: (10-28-2015, 04:21 AM) -- msheath Wrote: (10-28-2015, 02:54 AM) -- Narf Wrote: (10-27-2015, 03:42 AM) -- Redirecting is never the solution ... every single time I see a thread with a ti...
34,494 Views
18 Replies
10-28-2015, 04:50 AM
msheath
    Thread: Form validation with redirect
Post: RE: Form validation with redirect

Narf Wrote: (10-27-2015, 03:42 AM) -- Redirecting is never the solution ... every single time I see a thread with a title similar to this one, I know the OP is doing something wrong. You can use J...
34,494 Views
18 Replies
10-28-2015, 02:54 AM
msheath
    Thread: Form validation with redirect
Post: RE: Form validation with redirect

joseph.dicdican Wrote: (10-27-2015, 03:30 AM) -- Hi, I would like to share my opinion. From the thread, I found this block of statement. Quote: -- $this->data['body_id'] = 'home'; $this-...
34,494 Views
18 Replies
10-28-2015, 02:39 AM
msheath
    Thread: Form validation with redirect
Post: RE: Form validation with redirect

Martin7483 Wrote: (10-27-2015, 12:16 PM) -- What is the url to your form? I'm assuming it is /home and your post url is /home/send. If this is the case then you are defining you rules in the send met...
34,494 Views
18 Replies
10-28-2015, 02:15 AM
msheath

Theme © iAndrew 2016 - Forum software by © MyBB