Re: Replacing A Word in HTML page
| From: | Steve Werby | Date: | Sun, 04 Feb 2001 07:51:02 +0000 |
| Subject: | Re: Replacing A Word in HTML page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-38081@lists.php.net to get a copy of this message | ||
"phpLover" <tabarry@email.com> wrote:
> I want to read an HTML page from another site and replace certain
characters
> with capital letters and show them in another dynamically generated web
page
> on my site. I know this is possible in Perl, but can this be done in PHP?
If
> yes, then how?
It's definitely possible in PHP. I've done it. You probably want to use a
combination of fopen() and other file handling functions, eregi_replace()
and str_replace().
--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/