Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Submitting a form with a cron job?
Post: RE: Submitting a form with a cron job?

includebeer Wrote: (03-26-2020, 02:25 PM) -- If you want to submit a form to another website, use CURL. You will be able to make a POST request and send the fields with their associated values. B...
4,415 Views
5 Replies
03-26-2020, 05:06 PM
SmokeyCharizard
    Thread: Submitting a form with a cron job?
Post: RE: Submitting a form with a cron job?

includebeer Wrote: (03-26-2020, 02:15 PM) -- To run your code from a cron job, you have to call your controller via the CLI: https://chez14.gitlab.io/codeigniter-docs/general/cli.html And to submi...
4,415 Views
5 Replies
03-26-2020, 02:18 PM
SmokeyCharizard
    Thread: Submitting a form with a cron job?
Post: Submitting a form with a cron job?

Hey fellas, its me again. I'm trying to write a cron job for my codeigniter app, but I have now idea where to start.  So far, I created a controller called 'cron' with the following: PHP Code:...
4,415 Views
5 Replies
03-26-2020, 12:50 PM
SmokeyCharizard
    Thread: Using Websockets in codeigniter?
Post: RE: Using Websockets in codeigniter?

SmokeyCharizard Wrote: (02-28-2020, 07:28 PM) -- Hey guys, it's me again. I still have the notification issue, but I asked my professors, and they said the best solution is indeed Websockets. I fo...
6,962 Views
2 Replies
02-28-2020, 10:08 PM
SmokeyCharizard
    Thread: Using Websockets in codeigniter?
Post: Using Websockets in codeigniter?

Hey guys, it's me again. I still have the notification issue, but I asked my professors, and they said the best solution is indeed Websockets. I found a great library for websockets in codeigniter ...
6,962 Views
2 Replies
02-28-2020, 07:28 PM
SmokeyCharizard
    Thread: How to capture EventSource messages while process is running?
Post: RE: How to capture EventSource messages while proc...

zahhar Wrote: (02-27-2020, 03:37 PM) -- Well, after I was ashamed with my quick and unprofessional response into this thread I could not get asleep without  putting my hands on this. Few interesti...
5,345 Views
6 Replies
02-27-2020, 04:17 PM
SmokeyCharizard
    Thread: How to capture EventSource messages while process is running?
Post: RE: How to capture EventSource messages while proc...

zahhar Wrote: (02-27-2020, 09:53 AM) -- Oops, seems I misunderstood. Apologies. Disregard my reply please. -- Well, in any case, what are my options? Would websockets work? and if so, how do I implem...
5,345 Views
6 Replies
02-27-2020, 12:55 PM
SmokeyCharizard
    Thread: How to capture EventSource messages while process is running?
Post: How to capture EventSource messages while process ...

I hail from here (https://forum.codeigniter.com/thread-75572.html), where David Friend was an absolute help! However, we have encountered a problem that needs more eyes, so here's a new thread. I h...
5,345 Views
6 Replies
02-26-2020, 06:52 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-25-2020, 04:55 PM) -- SmokeyCharizard Wrote: (02-25-2020, 03:58 PM) -- Encase you can't see my message again, here's the pastebin. https://pastebin.com/eupHEA0c (https://paste...
29,435 Views
32 Replies
02-26-2020, 03:57 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-25-2020, 04:55 PM) -- SmokeyCharizard Wrote: (02-25-2020, 03:58 PM) -- Encase you can't see my message again, here's the pastebin. https://pastebin.com/eupHEA0c (https://paste...
29,435 Views
32 Replies
02-25-2020, 05:13 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-25-2020, 03:30 PM) -- SmokeyCharizard Wrote: (02-25-2020, 03:16 PM) -- Thanks for the reply! I should have been more specific in my response, Yes, it seems like fetch will on...
29,435 Views
32 Replies
02-25-2020, 03:58 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-25-2020, 02:54 PM) -- I'm not very confident I understand the question. If you're asking how you get the form inputs at the controller - that is not changed from your original ...
29,435 Views
32 Replies
02-25-2020, 03:16 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-25-2020, 11:51 AM) -- SmokeyCharizard Wrote: (02-25-2020, 10:38 AM) -- I sent it as a private message, but I suppose it doesn't matter any more! Now I just need to figure out ...
29,435 Views
32 Replies
02-25-2020, 12:54 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-25-2020, 10:23 AM) -- You sent it how? I have not received anything except the link to a GitHub page which did not work. But it sounds like you're making progress. Good. -...
29,435 Views
32 Replies
02-25-2020, 10:38 AM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-24-2020, 10:05 PM) -- Send me a PM telling me where your repo is and I'll take a peek. -- So I sent you the repo, but I can't tell if you got it. I did find that I am also send...
29,435 Views
32 Replies
02-25-2020, 09:41 AM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-24-2020, 09:06 PM) -- You should implement  event.preventDefault() and Fetch('some_url') inside the submit event listener. That code can be added inside the tags on the page t...
29,435 Views
32 Replies
02-24-2020, 09:33 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-24-2020, 07:33 PM) -- SmokeyCharizard Wrote: (02-24-2020, 05:39 PM) -- So I just tried your code out, and when I submit the form, a white page loads with the timestamp being l...
29,435 Views
32 Replies
02-24-2020, 08:48 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-24-2020, 05:28 PM) -- I built a CodeIgniter version of the server-sent-events (https://github.com/mdn/dom-examples/tree/master/server-sent-events) sample. It's modified from th...
29,435 Views
32 Replies
02-24-2020, 07:22 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-24-2020, 05:28 PM) -- I built a CodeIgniter version of the server-sent-events (https://github.com/mdn/dom-examples/tree/master/server-sent-events) sample. It's modified from th...
29,435 Views
32 Replies
02-24-2020, 05:39 PM
SmokeyCharizard
    Thread: How to implement EventSource on Codeignigter app?
Post: RE: How to implement EventSource on Codeignigter a...

dave friend Wrote: (02-24-2020, 02:09 PM) -- Because the model is loaded by the controller it should be possible to send the message from the model. The key is sending a proper message. You cannot go...
29,435 Views
32 Replies
02-24-2020, 03:26 PM
SmokeyCharizard

Theme © iAndrew 2016 - Forum software by © MyBB