Permalink
Browse files

Putting things back to normal

  • Loading branch information...
1 parent 2362717 commit 586322278b8107df6ea051676fbb4a7dc3940075 Ali Karbassi committed Jun 5, 2009
Showing with 6 additions and 6 deletions.
  1. +1 −1 facebook/tos.html
  2. +5 −5 grab.php
View
@@ -44,7 +44,7 @@
<ol>
<li>You will not provide any false personal information on Facebook, or create an account for anyone other than yourself without permission.
</li>
- <li>You will not use Facebook if you are under 18.
+ <li>You will not use Facebook if you are under 13.
</li>
<li>You will not use Facebook if you are located in a country embargoed by the U.S., or are on the U.S. Treasury Department's list of Specially Designated Nationals.
</li>
View
@@ -27,14 +27,14 @@ function disguise_curl($url) {
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_TIMEOUT, 10);
- $html = curl_exec($curl); // execute the curl command
- curl_close($curl); // close the connection
+ $html = curl_exec($curl);
+ curl_close($curl);
- return $html; // and finally, return $html
+ return $html;
}
-$allowed_tags = implode(array('<a>', '<p>', '<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<h7>', '<div>', '<span>', '<ul>', '<ol>', '<li>', '<table>', '<tbody>', '<thead>', '<tr>',
-'<td>', '<th>'));
+$allowed_tags = implode(array('<a>', '<p>', '<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<h7>', '<div>', '<span>',
+'<ul>', '<ol>', '<li>', '<table>', '<tbody>', '<thead>', '<tr>', '<td>', '<th>'));
foreach ($urls as $name => $opt) {
$content = disguise_curl($opt['url']);

0 comments on commit 5863222

Please sign in to comment.