The problem with cURL is you cannot tell the script to get X bytes of data and then stop, which you can with fopen. So basically if someone types in a URL to say a 7gb file, your server will attempt to download that entire file before parsing it to get the title tag. Most likely, your server will timeout after 30 seconds (if that is the setting in php.ini) or if it goes above the memory limit.
This could adversely affect your servers performance, and may also greatly increase your bandwidth usage. You should be VERY wary if that plugin works with shoutbox. Someone could easily do a denial of service attack on you relatively quick.
|