PTA in CP give error code 13
Content
Steps which I've done.
1) PTA_ENABLED to yes
2) defined my external page URL. PTA_EXTERNAL_LOGIN_URL
3) login required true on some pages.
4) set PTA_SECRET_KEY
4) In my external page redirect the login parameters in base64 encrypted string in this URL http://mysite/ci/pta/login/redirect/home/p_li/$ptaDataString
Here's my Script Code
<?php
$ptaDataArray = array(
'p_userid' => '[email protected]',
'p_passwd' => 'one',
'p_email.addr' => '[email protected]',
'p_name.first' => 'one',
'p_name.last' => 'one'
);
$ptaDataArray['p_li_passwd'] = '12ab3c';
print_r($ptaDataArray);
$ptaDataString = "";
foreach($ptaDataArray as $key=>$value)
{
$ptaDataString .= ($ptaDataString === "") ? '' : '&';
Tagged:
0