note 62295 deleted from function.strip-tags by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 16:01:29 +0000 |
| Subject: | note 62295 deleted from function.strip-tags by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154739@lists.php.net to get a copy of this message | ||
Note Submitter: debug at jay dot net
----
If you wish to steal quotes:
$quote=explode( "\n",
str_replace(array('document.writeln(\'','\')',';'),'',
strip_tags(
file_get_contents('http://www.quotationspage.com/data/1mqotd.js')
)
)
);
use $quote[2] & $quote[3]
It gives you a quote a day