Welcome Guest, Not a member yet? Register   Sign In
Submitting a form with a cron job?
#5

(03-26-2020, 02:25 PM)includebeer Wrote: 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.

But if you want to send a form to your own application, I’m not sure it’s the best way. I don’t see a reason why you would need to use a form when you can just call the model or library you need from the controller.

Thanks for you help! I just tried to run the script, and I got this error:
PHP Code:
An uncaught Exception was encountered

Type
:        RuntimeException
Message
:     Unable to locate the model you have specifiedCron_model
Filename
:    /opt/lampp/htdocs/codeigniter/system/core/Loader.php
Line Number
348 
How do I add Cron_model to my project?
Reply


Messages In This Thread
RE: Submitting a form with a cron job? - by SmokeyCharizard - 03-26-2020, 05:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB