New addon "pages" and a small change to the facebook addon #18

Merged
annando merged 7 commits from master into master 2012-03-15 23:29:33 +01:00
Showing only changes of commit bdbefde50a - Show all commits

View file

@ -1,28 +0,0 @@
<?php
$test[] = array("test"=>"Blubb");
$test[] = array("test"=>"Blubb");
print_r($test);
$serial = serialize($test);
print_r(unserialize($serial));
die();
$url = "https://pirati.ca/profile/test1";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 2);
$page = curl_exec($ch);
curl_close($ch);
if (strpos($page, '<meta name="friendika.community" content="true" />'))
echo "Ping";
?>