I'm developping with Yii, and I need to send mail to contacts with an link. The proble is that the code
Yii::app()->createAbsoluteUrl('participant/create', array('c' => $id_contact, 'e' => $id_event));
returns generates the URL :
http://localhost/myApplication/index.php?r=participant/create&c=1&e=12
And such a link is useless for the remote contact who will receive it in the mail.
How can I fix it ? How to set an IP address in my url ? Any issue ?