$text = preg_replace_callback("#\[img\]((http|ftp|https|ftps)://)(.*?)(\.(jpg|jpeg|gif|png|JPG|JPEG|GIF|PNG))\[/img\]#si", "img_bbcode_callback", $text);
$text = preg_replace_callback("#\[img\]((https?|ftps?):\/\/)(.*?)(\.(jpg|jpeg|gif|png))\[\/img\]#si", "img_bbcode_callback", $text);
Category Forum
General DiscussionLabels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions