Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($msg['attachment'])
- echo "AAAAAAAAAAAAA".$msg {
- if ($message->attachment){
- foreach ($message->attachment as $attachment){
- $attachment = explode('|', $attachment);
- $url=data_url($attachment[0], "attachments");
- $url=str_replace("front.sashe.sk", "static.sashe.sk", $url);
- echo '<p><a href="'.$url.'" title="Stiahnuť" target="_blank"><i class="fa fa-paperclip"></i>'.$attachment[1].'</a></p>';
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement