/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
[img]http://linktoimage[/img]
There should be a direct link somewhere you can use and just put it inside some image tags:Code: [Select][img]http://linktoimage[/img]
Take photobucket as an example...Thanks a mil! It worked!
This would be the page you see when you log into your account.
(http://i61.photobucket.com/albums/h47/dktchan/AM100921a.jpg)
There are two ways that you could get the image tags for the image that you want.
The first way is to click on the image, which would bring you to the page that shows only the image that you have selected.
(http://i61.photobucket.com/albums/h47/dktchan/AM100921b.jpg)
As shown in the box that is highlighted in red, there is your image tag.
The second way is to simply place your cursor on top of the image, and a box with all the links and tags would show up.
(http://i61.photobucket.com/albums/h47/dktchan/AM100921c.jpg)
The box highlighted in yellow is the image tag.
All you need to do is to click on the image code link, which would highlight it, and then copy the link (using crtl + C), and paste it in your message.
(http://i61.photobucket.com/albums/h47/dktchan/AM100921d.jpg)
And when you are satisfied, click post.
Hope this helps.