Blokovani pres konstantu
[mirrors/Programs.git] / php / parser.php
... / ...
CommitLineData
1#!/usr/bin/php
2<?php
3$fp = fopen("http://www.root.cz/", "r");
4
5while($line = fgets($fp)) {
6 if(ereg("<h3><a href=\"/clanky/", $line)) {
7 $line = explode("<h3><a href=\"/clanky/", $line);
8 $line = explode("/\">", $line[1]);
9 echo($line[0]."\n");
10 }
11}
This page took 0.075655 seconds and 4 git commands to generate.