tsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: CDitty [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 3:29 AM
To: PHPBeginner.com
Subject: RE: [PHP] Search replace text
Thanks for the ide
ely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: PHPBeginner.com [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 11:34 PM
To: PHP; CDitty
Subject: RE: [PHP] Search repla
To: [EMAIL PROTECTED]
Subject: [PHP] Search replace text
Hello all. I am trying to search through a text file on my server to
replace the user email. I can open the file and read it, but cannot get it
to "find" the actual string and replace it. Can someone look over my code
an
On Monday 12 February 2001 01:22, David Robley wrote:
while (!feof($file)) {
$line = fgets($file, 255);
if(eregi($oldemail, $line, $out)) {
str_replace($oldemail, $newemail, $line);
You need to assign the output of this function to a string:
Hello all. I am trying to search through a text file on my server to
replace the user email. I can open the file and read it, but cannot get it
to "find" the actual string and replace it. Can someone look over my code
and see what the problem is? I am afraid that ereg is not my strongest
On Mon, 12 Feb 2001 06:41, CDitty wrote:
Hello all. I am trying to search through a text file on my server to
replace the user email. I can open the file and read it, but cannot
get it to "find" the actual string and replace it. Can someone look
over my code and see what the problem is? I
6 matches
Mail list logo