HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
_blank or new browser
Sophia
New
Please,
can you show me the way in PHP to have the "Leaving" function opening a new tab, or a new window, like using the HTML's attributes "target=_blank" or "target=new_window" , instead to open a page in the same that contain the target link?
Thanks in advance!
The original code function:
<?php if (!defined('APPLICATION')) exit(); ?>
<h1>
<?php echo $this->data('Title'); ?>
</h1>
<p>
<?php echo sprintf(
t('You are now leaving %1$s. Click the link to continue to %2$s.'),
c('Garden.Title', ''),
$this->data('Target')
); ?>
</p>
0
Comments
https://forums.phpfreaks.com/topic/162189-solved-open-new-tab-in-php/
www.pakainfo.com/how-to-open-url-in-new-tab-using-php/
https://stackoverflow.com/questions/12796324/is-there-any-php-function-for-open-page-in-new-tab
I'm going to try one of those solutions.