Reset Password link (Cakephp 3.8.4)
$link = urldecode(
Router::url(
array(
"action" => "resetpassword",
base64_encode($_REQUEST['phone_email_forgot'])
),
true
)
);
url :
http://example.in/index/resetpassword/bWQua2F5cmFAZ21haWwuY29t
How I can split the URL above and create variables like $link_1
http://example.in/index/resetpassword/
and $link_2
bWQua2F5cmFAZ21haWwuY29t
I need to use this for Sending SMS purpose as {#var#}
accept maximum 30 characters only.
Please help me with this.
Regards, Anand