[eluser]cinewbie81[/eluser]
Hi all,
In my "Main" Controller index function, i want to call the index() function from "SendSMS" controller class. How can i do it ?
I know it can be done using redirect("SendSMS") statement, but I don't want it to be this way. Instead, i want the SendSms index() function to be running as background process(using the '&' symbol). How can i do it ? Anyone ??
Thanks.
Code:
<?php
class Main extends Controller {
function index()
{
// I want to run mybackground_function() here from Runbackground controller
}
}
?>
Code:
<?php
class SendSMS extends Controller {
function index()
{
// sending thousands of SMS here
}
}
?>