|
|
|
<?
$fcontents = file( 'http://www.abc.net.au/news/' );
while ( list( , $line ) = each( $fcontents ) ) {
while ( eregi(
'(href[[:space:]]*=[[:space:]]*"?[[:alnum:]:@/._-]+"?)(.*)', $line,
$regs ) ) {
echo "Got '$regs[1]'<br>\n";
$line = $regs[2];
}
}
?>
Taken fron the PHP List |
|
| A simple class with some HTML output functions that would come in handy for consistent page layout etc. Categories : PHP, PHP Classes, HTML and PHP, HTML, Navigation | | | BBCode Formatting String Categories : PHP, HTML, Regexps, Arrays | | | Display Slashdot headers on your own site Categories : HTML and PHP, HTML, PHP | | | Tag content retrieval from websites with preg_match Categories : PHP, Regexps, Arrays, HTML and PHP | | | webcam cam view image ispy browser independant Categories : Graphics, HTML, HTML and PHP, PHP | | | Form input return conformance Categories : HTML and PHP, PHP, Regexps | | | How to preset a text string in a textarea input field Categories : HTML, HTML and PHP, PHP, Beginner Guides | | | Automatic generation of HTML code for a table. OO interface. Can define colspan, rowspan, table style, cell style, and data style. Simple, but
effective. Categories : PHP, PHP Classes, HTML, HTML and PHP | | | This script shows you the 7th latest php items from the mailing list archive on zend.com Categories : HTML, HTML and PHP, HTTP, PHP | | | Snipe.Net's Web Design Color Scheme Previewer- Allows uses to input hex
codes for their text, background, and link colors, and preview the color
scheme with their background image. Example:
http://www.snipe.net/tech/snipeschool/hex.php3 Categories : PHP, HTML and PHP, General, Graphics, HTML | | | GonxTabs : Create elegant HTML tabs based interface Categories : Navigation, HTML, HTML and PHP, PHP | | | class formHTML build your HTML Forms from PHP Categories : PHP, PHP Classes, HTML and PHP, HTML | | | Form is a utility class for generating html forms. It provides form initialization and regex based data validation (both server and client side) with a convenient interface. This version obsoletes version 1.0a Categories : HTML, PHP, PHP Classes, Regexps | | | php table decoder used to convert an html table to individual tokens
through regular expressions Categories : PHP, Regexps, HTML and PHP | | | Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | |
| | | | Lubes Haidamaka wrote : 443
Hey there!
This script doesn`t seem to work. :-(
| | | | dayton brown wrote :714
works perfectly for me, was just what i was looking for too...only change i made to the script was the removal of "news/" path.
| |
|
|
|