PHP: verschil tussen versies
Uit dotSearch
| Regel 31: | Regel 31: | ||
'''Scrapen in PHP''' | '''Scrapen in PHP''' | ||
* http://simplehtmldom.sourceforge.net/ | * http://simplehtmldom.sourceforge.net/ | ||
| + | |||
| + | '''Google font API''' | ||
| + | * http://code.google.com/intl/nl-NL/apis/webfonts/docs/getting_started.html | ||
Versie van 27 jul 2010 om 10:06
Regexen
replace
$domain = preg_replace('/www./', , $domain);
decapitalize
$newvendor = strtolower($words);
$newvendor = ucfirst($newvendor);
Cookies plaatsen
<?php if (isset($_GET["utm_source"])) { $bron = $_GET["utm_source"]; $expire=time()+60*60*24*30; setcookie("utm_source", $bron, $expire); } ?>
Scrapen in PHP
Google font API