RE: [PHP] Remote Files using PHP: Help Please
| From: | John Holmes | Date: | Sun, 15 Sep 2002 21:50:46 +0000 |
| Subject: | RE: [PHP] Remote Files using PHP: Help Please | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116470@lists.php.net to get a copy of this message | ||
> it seems that you can use html markup to begin the pattern match.
>
> As in the snippet listed below:
> ........................................
>
> "<!-- start of data table -->(.*)<HR>",
> ........................................
>
> which roughly translates to:
>
> eregi (<!--start data table--> // match the string that begins with
the
> html markup source code <!--start data table -->
>
> (.*) // and continue each character until...
>
> <HR> // the html code <HR> is reached.
>
> Correct?
Yes, that's correct. It will match that as long as they don't change the
source of the page...
> The other question:
> Can the font type and font size for that output be changed in say a
> smaller
> typesize an typeface?
Yeah, probably. You could try str_replace() to replace size='4' with
size='2' or whatever the source is. If it's complex, then you could use
ereg_replace() to try and find a matching pattern to replace.
---John Holmes...