Added lot of junk laying around on harvie.cz
[mirrors/Programs.git] / php / urls.php
diff --git a/php/urls.php b/php/urls.php
new file mode 100644 (file)
index 0000000..962e7ec
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+$url = 'http://soom.cz/';
+preg_match_all('(http:\/\/[_a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,4}\/{1}[-_~&=\ ?\.a-z0-9\/]*)',htmlspecialchars_decode(file_get_contents($url)), $urls);
+//preg_match_all("~(http://[_a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,4}\/{1}[-_\~& =\?\.a-z0-9\/]*)~i", $vstup, $vystup);
+//preg_match_all('(http:\/\/[_a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,4}\/{1}[-_~&=\  ?\.a-z0-9\/]*)',$vstup, $vystup);
+print_r($urls);
\ No newline at end of file
This page took 0.110543 seconds and 4 git commands to generate.