problem with fwrite and parsing the written file
| From: | Marc Mittag | Date: | Sat, 02 Feb 2002 01:54:53 +0000 |
| Subject: | problem with fwrite and parsing the written file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83229@lists.php.net to get a copy of this message | ||
Hi there!
I'am new to this list and half a year old with php - from Germany -
webprogramming- student - family - job - hardworking all the time ;-( ;-)
So far...
Hope, someone can help me:
I write a file with fwrite.
If I parse it with an preg_replace array, the parsing does not work correct
- it does not do the regex as it should.
If I get the same file from the webserver on my computer, open it, add a
return \n, save it, delete the same return, save it again and put it on the
server again
the parsing works ok.
So what? I really don't know... Where is the logic?
Thanks to all replies!
Yours, Marc
---------------------------
http://www.marcmittag.de/
mittag@marcmittag.de